You do not have permission to view this directory or page.
When Azure encounters any error while running your WebApp application, it usually hides the details of the error message. For testing and debugging purposes, you can enable detailed messaging and disable it when ready for production. Follow the steps below to do the same:
Log in to Azure > App Services (left side menu) > Your Web App > App Service logs (search in the search box at the top), and enable Detailed Error Messages or all of the logging options.
Add the following in your Web Config file: Add <customErrors mode="Off" /> BEFORE system.web closing tag, </system.web>. Similarly, add <httpErrors errorMode="Detailed"></httpErrors> BEFORE </system.webServer>. In the end, upload the Web Config to Azure
This will help you to configure the error message in detail and you will be able to figure out where it went wrong.