Getting error after pushing to Windows Azure: You do not have permission to view this directory or page

Viewed 33544

I have googled for the past 3 hours and found nothing on what to do with respect to the windows azure problem:

You do not have permission to view this directory or page.

I did a git master push to azure and the deployment was successful. I also turned on the failed request tracing but nothing shows up but the above statement.

Any ideas on how to troubleshoot this?

10 Answers

Lots of answers, but I didn't see one that addressed the "how do I debug this?" question, which wasn't obvious to me as someone who is new to Azure and hadn't yet used Kudu diagnostics.

To see the debugging info you're looking for, just navigate to

mywebsite.scm.azurewebsites.net

when you encounter the "You do not have permission to view this directory or page." error on your own

mywebsite.azurewebsites.net

page. This will get you to the Kudu console and give you easy access to everything currently in your logs.

See also the many answers to the closed-but-popular How to debug "You do not have permission to view this directory or page"? question.

Related