After deploying my Microsoft custom app content to the azure, the azure url says - "You do not have permission to view this directory or page."

Nimeshika Dilshani 0 Reputation points
2025-02-12T14:31:39.45+00:00

Dear Azure Support Team,

I have deployed my custom Microsoft Teams app using Teams Toolkit to Azure. The deployment URL is: https://rosterbotapp-e9cme5e0eghvcvfj.southeastasia-01.azurewebsites.net/

However, when I access the URL, I get the following error: "You do not have permission to view this directory or page."

Issue Details:

  • HTTP 403 Error (Forbidden) detected.
  • My app is deployed, but I am unable to see its content.

Steps Taken:

Checked default document settings in Azure App Service.

Attempted to enable anonymous access, but no authentication settings are visible.

Could you please assist in resolving this issue? Thank you!

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,558 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,294 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alex Burlachenko 1,010 Reputation points
    2025-02-14T08:08:04.2933333+00:00

    Hi,

    that you're hitting that 403 error is super annoying, I know.

    So lets check what’s wrong going on. So first of all may be missing default page. Azure’s looking for something like index.html or default.html but can’t find it.

    for fix it lets try double-check your app’s files and make sure the main page is in the root folder. If it’s named something funky, update the Default Document settings in Azure.

    Nexxt what I would like to do is according authentication, if your app’s locked down (needs login), Azure might be blocking access.

    Head to the Authentication tab in your App Service and make sure Anonymous access is on if your app doesn’t need a login. If it does, set up the right auth provider (like Microsoft Entra ID).

    may be file permissions messed up, sometimes the files get deployed but Azure’s like, “Nope, you can’t see these.”

    Use Kudu (fancy Azure tool) to peek at your files https://<your-app-name>.scm.azurewebsites.net check the wwwroot folder to make sure everything’s there. If not, redeploy your app.

    I dont know may be web server acting up? If your app’s using Node.js, Python, or something custom, the server might not be starting right.Check the Log Stream in Azure for errors. Also, make sure your Startup Command is correct in the Configuration section.

    as well may be network blocking u. If there are IP restrictions or network rules, they might be blocking access.

    Look at the Networking settings in Azure and make sure nothing’s blocking you.

    Check your Default Document and Startup Command settings. Make sure Anonymous access is on if your app doesn’t need a login.

    Use Kudu to check your files and redeploy if needed. Peek at the Log Stream for any errors. If you’re still stuck, hit me up with:

    What kind of app it is (Node.js, .NET, etc.). Any custom configs or startup commands. Screenshots of the Authentication or Log Stream sections.

    rgds

    alex

    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.