You may receive the error: 'AADSTS90092: Non-retryable error has occurred.” The result is a 401.73 Unauthorized

Overview

This has been fixed! If you are still getting this error please open a support case from your Azure Portal

A change in the backend could result in seeing this error in your verbose application logs.  A fix is scheduled and when uploaded this blog will be updated.  This only affects a subset of customers and not all customers.

Users logging into the application for the first time receive the following message “You do not have permission to view this directory or page' after signing in and the url in browser is ‘https://<appname>.azurewebsites.net/.auth/login/aad/callback' and cannot log in.

Workaround

1. Click on “Manage Application” and then “Manifest”

clip_image002

2.  In the "requiredResourceAccess" section, look under the following resourceAppId  00000003-0000-0000-c000-000000000000.  If you see the highlighted section with the id GUID 311a71cc-e848-46a1-bdf8-97ff7156d8e6, remove the highlighted section and save the change to that manifest file

"resourceAppId": "00000003-0000-0000-c000-000000000000",

"resourceAccess": [

{

"id": "311a71cc-e848-46a1-bdf8-97ff7156d8e6",

"type": "Scope"

},

{

"id": "37f7f235-527c-4136-accd-4a02d197296e",

"type": "Scope"

},

{

"id": "e1fe6dd8-ba31-4d61-89e7-88639da4683d",

"type": "Scope"

},

{

"id": "14dad69e-099b-42c9-810b-d002981feec1",

"type": "Scope"

},

{

"id": "64a6cdd6-aab1-4aaf-94b8-3cc8405e90d0",

"type": "Scope"

}

]

 

 

Conclusion

Let us know if this helps.  We will update this blog when a fix is pushed out.