Troubleshooting
Azure
Windows Authentication Prompt After Azure/Entra OAuth Login
3 min
symptoms after logging in with azure/entra oauth and being redirected, the user is unexpectedly challenged for windows authentication cause this issue can occur when the serverprincipalname (spn) has not been registered against the active directory server computer object without the spn, kerberos authentication cannot complete, and the client falls back to prompting for credentials quick diagnostic run the following command from an elevated command prompt or powershell session to check if the spn is registered for the server setspn q http/\<serverfqdn> replace \<serverfqdn> with the fully qualified domain name of your server (e g , myserver domain local) if no results are returned, the spn is missing resolution check spn registration confirm the spn for the server is registered in active directory using the diagnostic above register the spn if missing \<serverfqdn> – fully qualified domain name of the server\<servercomputerobjectname> – name of the server’s computer object in active directory detailed instructions are available in our guide how to configure spns retry the login after registering the spn, retry the azure/entra oauth login process the windows authentication prompt should no longer appear