'You do not have permission to view this directory or page' message

Stas 0 Reputation points
2024-10-01T03:34:13.7033333+00:00

I deployed my MERN app to Azure App Service from GitHub repo successfully.
When I open the URL of the app I get this message:
'You do not have permission to view this directory or page.'
What could be the reason?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,781 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 20,781 Reputation points Microsoft Employee
    2024-10-01T08:56:44.9933333+00:00

    @Stas Thanks for reaching out to Microsoft Q&A,apologize for any inconvenience caused on this.

    • I would suggest you Enable the diagnostic logging and review the respective logs (applications log detailed errors), details from log stream to identify the issues.
    • You can also troubleshoot this issue using detectors in Diagnose and Solve Problems of your app service.
    • Also, as you have mentioned that deployment is successful from github actions, can you check in kudu console under wwwroot whether the latest deployed code is present or not.
    • If you are still facing the issue I would suggest you share the requested details over the private message to check and assist you further.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.