I am trying to hook up my static site hosted on azure blob storage to an azure function (hosted in a docker container) via event grid. My plan is for the function to optimise images added to blob storage to reduce the file size.
I appreciate that its somewhat of a contrived example but I am looking to get some exposure to event grid & docker and this would be useful to me.
At the moment I am unable to connect event grid to my azure function. Adding a subscription to event grid from the function isn't available from the portal because its in a docker container.
I am following these steps from the microsoft guide on getting the function system key from the master key. (This is then later used in setting up the subscription)
When I hit the the link:
http://<func-app>.azurewebsites.net/admin/host/systemkeys/eventgrid_extension?code=<master_key>
I get a 404 (Same when using HTTPS).
I replaced the function app name and got the master_key from here (named _master):

I can only assume I am doing something wrong but I have no idea what, any help appreciated!