Fixing Desktop SSO (IWA) Login Failure with LoginResult=UNKNOWN_USER
Single Sign-On
Okta Classic Engine
Overview

Desktop Single Sign On (Integrated Windows Authentication) is a feature that allows users to authenticate with Okta using their Windows domain credentials without having to enter their username and password again. However, users may encounter an issue where Desktop Single Sign On (SSO) fails with the error:

LoginResult=UNKNOWN_USER 


Error message 

 

This article will guide readers through the cause and resolution of this issue.

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

This error occurs because the Userid retrieved from the Kerberos ticket is different from the UserPrincipalName specified in the ticket. The Okta service account UPN replaced the Userid.


Successful Authentication to Okta SSO IWA 

Solution

To resolve this issue, modify the Pass-through authentication to use 'Application user (pass-through authentication)' instead of defining the Okta service account in the Path credentials. Here are the steps to follow:

  1. Open IIS Manager.
  2. Select IWA from the Sites in the Connections pane.
  3. Right-click Authentication from the center pane.
  4. Select Basic Settings...
  5. Click Connect as... in Pass-through authentication.
  6. Select Application user (pass-through authentication) and then click OK.

Application user (pass-through authentication

  1. Reset IIS.

In doing this, the IIS will be reset, and the Pass-through authentication will be modified to use 'Application user (pass-through authentication)' instead of defining the Okta service account in the Path credentials. This should resolve the LoginResult=UNKNOWN_USER error.
  

Recommended content

No recommended content found...