question

GustavoGondim-2117 avatar image
0 Votes"
GustavoGondim-2117 asked MayankBargali-MSFT answered

PUT methods in Azure Functions suddenly are asking for Bearer Authorization

PUT methods in Azure Functions suddenly are asking for Bearer Authorization.

Endpoints returns HTTP status 401 with a WWW-Authenticate header and its value set to Bearer. If any JWT token is provided, the error changes to:

 error="invalid_token", error_description="The signature key was not found"

![84633-image.png][1]

  • No Authorization configuration was set and functions are in anonymous authentication mode.

  • No code was published before, it was working until last thursday.

  • GET, POST and PATCH verbs are working.




azure-functions
image.png (7.4 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@GustavoGondim-2117 Could you share your function app name privately for us to look deeper into this?


0 Votes 0 ·

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@GustavoGondim-2117 Apology for the delay and any inconvenience with this issue. The product team has updated the code to fix this issue: https://github.com/Azure/azure-functions-host/pull/7270 and the fix will start deploying soon.

You can watch the app service announcement repo to receive notification about new version releases: https://github.com/Azure/app-service-announcements/issues

The workaround would be to pin it to version 3.0.15406: https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#functions_extension_version

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.