The default authorization scope for generated functions is Function
which requires a key to trigger when running on Azure. Locally, this is bypassed.
You can obtain the keys from the portal or via API as mentioned in the docs.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
I am getting above error "Response status code doesn't indicate success: 401 (unauthorized)"
in response when I make an http call to my azure function from console app.
I have checked all the app service settings parameters, get function URL, CORS setting and everything is fine but still I am getting above error.
My function works fine on local but when I try to run as remote it fails. Its making call to Azure function but getting unauthorized in response.
Please find below screen shots:
The default authorization scope for generated functions is Function
which requires a key to trigger when running on Azure. Locally, this is bypassed.
You can obtain the keys from the portal or via API as mentioned in the docs.