When activating "Authentication / Authorization" on my site through the Azure portal.
I'm not getting an exception "You do not have permission to view this directory or page."
after I've been redirected back to my site.
Also it redirects me back to my site on this url pattern: https://{somewebsitename}.azurewebsites.net/{ActiveDirectoryApplicationGuid}/login
When I look at the detailed logged errors I can see this error:
<h3>HTTP Error 403.71 - Forbidden</h3>
<h4>You do not have permission to view this directory or page.</h4>
</div>
<div class="content-container">
<fieldset><h4>Most likely causes:</h4>
<ul> <li>This is a generic 403 error and means the authenticated user is not authorized to view the page.</li> </ul>
</fieldset>
</div>
<div class="content-container">
<fieldset><h4>Things you can try:</h4>
<ul> <li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li> </ul>
</fieldset>
</div>
<div class="content-container">
<fieldset><h4>Detailed Error Information:</h4>
<div id="details-left">
<table border="0" cellpadding="0" cellspacing="0">
<tr class="alt"><th>Module</th><td> EasyAuthModule_32bit</td></tr>
<tr><th>Notification</th><td> AuthenticateRequest</td></tr>
<tr class="alt"><th>Handler</th><td> ExtensionlessUrlHandler-Integrated-4.0</td></tr>
<tr><th>Error Code</th><td> 0x80004005</td></tr>
</table>
</div>
This EasyAuthModule
is not part of our code or any of our referenced libraries.
How can I resolve this is? This exact setup used to work just fine and has just stopped working. Which adds to the confusion.
This is
EasyAuthModule
is actually a Microsoft library. The Azure support informed me, they had just moved to a native libraryEasyAuthModule
.There seems to be a compatibility issue with Glimpse though.
After removing any Glimpse reference from my web.config, it's now working fine!
The Azure support told me they are working on resolving this issue on their end, so we can use Glimpse again.