title: Azure web app and Azure ad http error 500.79 Internal server error
body: <p>I created my azure web-app and created app registration. and connected Azure AD to my web app. I used express security and I also used advance security with client ID and client secret. I know there is a similar question about this error. but it is not clear answer.</p>
  <p>Most likely causes:</p>
  <ul>
  <li>IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.</li>
  <li>IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.</li>
  <li>IIS was not able to process configuration for the Web site or application.</li>
  <li>The authenticated user does not have permission to use this DLL.</li>
  <li>The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.</li>
  </ul>
  <p>Things you can try:</p>
  <ul>
  <li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li>
  <li>Check the event logs to see if any additional information was logged.</li>
  <li>Verify the permissions for the DLL.</li>
  <li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li>
  <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 here.</li>
  </ul>