Julien
Julien

Reputation: 269

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

We have a Asp.Core Application hosted by App Service and we enable Azure Active Directory for the Authentication.

Do you know why after authentication we have this error :

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

Thank you

Upvotes: 0

Views: 766

Answers (1)

Tony Ju
Tony Ju

Reputation: 15609

Make sure you can access the website without enabling Azure Active Directory. If you can, check the redirect url.

It should be

 https://xxx.azurewebsites.net/.auth/login/aad/callback

Upvotes: 1

Related Questions