Authorization Rules in Azure App Service is not working Authorization Rules in Azure App Service is not working json json

Authorization Rules in Azure App Service is not working


According to your description, I followed URL Authorization Rules and created the authorization.json in my Visual Studio. I could make it work as expected on my Azure Web App.

https://bruce-chen-001.azurewebsites.net/

https://bruce-chen-001.azurewebsites.net/admin/admin.html

I assumed that there be something wrong with your authorization.json file. I found a similar issue about Encountered unexpected character ‘ï’ error serializing JSON, you could refer to it.

Updated

Here is my authorization.json file:

Please make sure you have chosen Allow Anonymous requests (no action) under the “Action to take when request is not authenticated” in the Authentication/Authorization blade of your App Service on Azure Portal.