<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
HTTP 500 Internal Server Error Occurs When Logging In via Okta IWA
Okta Classic Engine
Directories
Overview

Okta generates an HTTP 500 error during authentication via Integrated Windows Authentication (IWA) because the IIS_IUSRS group lacks the required impersonation permissions. Resolving this issue requires updating the Group Policy Object (GPO) and NTFS permissions to grant the necessary rights to the IIS_IUSRS group.

 

Users experience authentication failures and receive a specific error code during the login process.

 

HTTP 500.0 - Internal Server Error

 

Error Code 0x80070542


Okta IWA HTTP 500 Error   

Applies To
  • Okta Classic Engine
  • Desktop Single Sign-On (DSSO)
  • Integrated Windows Authentication (IWA)
Cause

The IIS_IUSRS group lacks the "Impersonate a client after authentication" permission.

 

Solution

What steps resolve the HTTP 500 error for IWA authentication?

 

To resolve the authentication error, update the Group Policy Object (GPO) and NTFS permissions to grant the IIS_IUSRS group the necessary impersonation rights, and then reset the web server.

  1. Add the local IIS_IUSRS group to a GPO that permits "Impersonate a client after authentication" as a user-right assignment, and apply this policy to the web server.
    NOTE: Direct application to the local security policy is not feasible in some scenarios.
  2. Add the IIS_IUSRS group to the NTFS permissions for the <drive_letter>:\inetpub\wwwroot folder.
  3. Run the GPUPDATE command to update Group Policies and the IISRESET command to reset the IIS web server.

 

Related References

Loading
HTTP 500 Internal Server Error Occurs When Logging In via Okta IWA