Web App showing You do not have permission to view this directory or page error after azure AD enabled

Mihir Yelamanchili 21 Reputation points
2020-11-04T11:53:33.13+00:00

We have web app and azure authentication enabled on it. This was working fine until last week. Last week due to insufficient credits, web app was down. Now I have added my credit card then web app is up and running.

But now it is showing You do not have permission to view this directory or page. error when I open app as Provided Hosted App (from SharePoint). If I disable authentication, it is working fine. No configuration was changed. What could be the root cause of this? There are similar questions but nothing solved the issue.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,925 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,587 questions
0 comments No comments
{count} votes

Accepted answer
  1. 2020-11-04T19:24:31.913+00:00

    Hello @Mihir Yelamanchili , please enable Application logging and Failed request tracing. The former will allow you to see authentication and authorization traces directly in your log files. The later to see exactly what role the authentication and authorization module may have played in a failed request. In the trace logs, look for references to a module named EasyAuthModule_32/64.

    Let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mihir Yelamanchili 21 Reputation points
    2020-11-05T12:01:45.097+00:00

    I am seeing below response from logs
    37649-azureaderror.png