Library

Guides Quick Fixes Scripts Find a Guide

Tools

Error Decoder Assessment Baselines Free Tools Service status What's Changed

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment
28 of 28 codes
AADSTS20001WsFedSignInResponseErrorYour federated identity provider returned a WS-Federation sign-in error.

What it means: Your federated identity provider returned a WS-Federation sign-in error.

Likely cause: A problem at the federated identity provider (for example AD FS).

Fix: Check the identity provider’s logs and configuration, or contact whoever runs it.

AADSTS20012WsFedMessageInvalidYour federated identity provider sent an invalid WS-Federation message.

What it means: Your federated identity provider sent an invalid WS-Federation message.

Likely cause: A problem at the federated identity provider.

Fix: Check the identity provider’s logs and configuration, or contact whoever runs it.

AADSTS20033FedMetadataInvalidTenantNameThe federation metadata has an invalid tenant name.

What it means: The federation metadata has an invalid tenant name.

Likely cause: A federation configuration problem with the identity provider.

Fix: Check the federation settings and identity provider configuration, or contact whoever runs it.

AADSTS40008OAuth2IdPUnretryableServerErrorThe federated identity provider returned a server error.

What it means: The federated identity provider returned a server error.

Likely cause: A problem at the federated identity provider.

Fix: Check the identity provider’s health and logs, or contact whoever runs it.

AADSTS40009OAuth2IdPRefreshTokenRedemptionUserErrorRedeeming a refresh token with the federated identity provider failed.

What it means: Redeeming a refresh token with the federated identity provider failed.

Likely cause: A problem at the federated identity provider.

Fix: Check the identity provider’s logs, or contact whoever runs it.

AADSTS40010OAuth2IdPRetryableServerErrorThe federated identity provider had a temporary server error.

What it means: The federated identity provider had a temporary server error.

Likely cause: A transient problem at the federated identity provider.

Fix: Retry, then check the identity provider’s health if it continues.

AADSTS40015OAuth2IdPAuthCodeRedemptionUserErrorRedeeming an authorization code with the federated identity provider failed.

What it means: Redeeming an authorization code with the federated identity provider failed.

Likely cause: A problem at the federated identity provider.

Fix: Check the identity provider’s logs, or contact whoever runs it.

AADSTS50008InvalidSamlTokenThe SAML assertion from the federation provider is missing or misconfigured.

What it means: The SAML assertion from the federation provider is missing or misconfigured.

Likely cause: A token or claim setup problem at the federated identity provider.

Fix: Check the claims your federation provider issues, or contact whoever runs it.

AADSTS50180WindowsIntegratedAuthMissingIntegrated Windows authentication is needed.

What it means: Integrated Windows authentication is needed.

Likely cause: The sign-in requires Seamless SSO, which isn’t enabled for the tenant.

Fix: Enable Seamless SSO for the tenant if this sign-in should use it.

AADSTS51006ForceReauthDueToInsufficientAuthIntegrated Windows authentication is needed, and the current session doesn’t include it.

What it means: Integrated Windows authentication is needed, and the current session doesn’t include it.

Likely cause: The session token lacks the integrated Windows authentication claim.

Fix: Have the user sign in again.

AADSTS80001OnPremiseStoreIsNotAvailableThe Pass-through Authentication agent can’t reach Active Directory.

What it means: The Pass-through Authentication agent can’t reach Active Directory.

Likely cause: Agent servers can’t connect to AD, or aren’t in the same forest as the users.

Fix: Make sure the agent servers are in the users’ AD forest and can reach domain controllers.

AADSTS80002OnPremisePasswordValidatorRequestTimedoutPassword validation by the Pass-through Authentication agent timed out.

What it means: Password validation by the Pass-through Authentication agent timed out.

Likely cause: Active Directory didn’t answer the agent in time.

Fix: Check that domain controllers are available and responding to the agent servers.

AADSTS80005OnPremisePasswordValidatorUnpredictableWebExceptionAn unknown error occurred handling the Pass-through Authentication agent’s response.

What it means: An unknown error occurred handling the Pass-through Authentication agent’s response.

Likely cause: Unclear; Microsoft says to retry and open a ticket if it keeps happening.

Fix: Retry. If it continues, open a Microsoft support request with the correlation ID and time.

AADSTS80007OnPremisePasswordValidatorErrorOccurredOnPremThe Pass-through Authentication agent couldn’t validate the password.

What it means: The Pass-through Authentication agent couldn’t validate the password.

Likely cause: A problem on the agent or in Active Directory.

Fix: Check the agent logs on the PTA servers and confirm AD is healthy.

AADSTS80010OnPremisePasswordValidationEncryptionExceptionThe Pass-through Authentication agent couldn’t decrypt the password.

What it means: The Pass-through Authentication agent couldn’t decrypt the password.

Likely cause: A problem with the agent’s encryption setup.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS80012OnPremisePasswordValidationAccountLogonInvalidHoursThe user tried to sign in outside their allowed logon hours.

What it means: The user tried to sign in outside their allowed logon hours.

Likely cause: Logon hours are restricted on the user’s AD account.

Fix: Have the user sign in during allowed hours, or change the logon hours in Active Directory.

AADSTS80013OnPremisePasswordValidationTimeSkewThe sign-in failed because of a clock difference between the agent server and AD.

What it means: The sign-in failed because of a clock difference between the agent server and AD.

Likely cause: Time sync is off on the Pass-through Authentication agent server or domain controllers.

Fix: Fix time synchronization on the agent server and domain controllers.

AADSTS80014OnPremisePasswordValidationAuthenticationAgentTimeoutThe Pass-through Authentication agent answered too late.

What it means: The Pass-through Authentication agent answered too late.

Likely cause: The validation took longer than the maximum allowed time.

Fix: Open a Microsoft support request with the error code, correlation ID and time.

AADSTS81004DesktopSsoIdentityInTicketIsNotAuthenticatedA Seamless SSO Kerberos attempt failed.

What it means: A Seamless SSO Kerberos attempt failed.

Likely cause: The Kerberos ticket from the device couldn’t be authenticated.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS81005DesktopSsoAuthenticationPackageNotSupportedSeamless SSO got an authentication package it doesn’t support.

What it means: Seamless SSO got an authentication package it doesn’t support.

Likely cause: The browser or device sent something other than a Kerberos ticket.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS81006DesktopSsoNoAuthorizationHeaderSeamless SSO found no authorization header.

What it means: Seamless SSO found no authorization header.

Likely cause: The browser didn’t send a Kerberos ticket (for example, the Seamless SSO URL isn’t in the intranet zone).

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS81007DesktopSsoTenantIsNotOptInThe tenant isn’t enabled for Seamless SSO.

What it means: The tenant isn’t enabled for Seamless SSO.

Likely cause: Seamless SSO is turned off for the tenant.

Fix: Enable Seamless SSO in Microsoft Entra Connect if you want it, or ignore if you don’t use it.

AADSTS81009DesktopSsoAuthorizationHeaderValueWithBadFormatThe user’s Kerberos ticket couldn’t be validated.

What it means: The user’s Kerberos ticket couldn’t be validated.

Likely cause: A malformed or unusable Kerberos ticket.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS81010DesktopSsoAuthTokenInvalidSeamless SSO failed because the Kerberos ticket is expired or invalid.

What it means: Seamless SSO failed because the Kerberos ticket is expired or invalid.

Likely cause: An expired ticket on the device.

Fix: Have the user sign out of Windows and back in (or lock and unlock) to get a fresh ticket, then retry.

AADSTS81011DesktopSsoLookupUserBySidFailedSeamless SSO couldn’t find the user from their Kerberos ticket.

What it means: Seamless SSO couldn’t find the user from their Kerberos ticket.

Likely cause: The user in the ticket doesn’t match a synced user object.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS81012DesktopSsoMismatchBetweenTokenUpnAndChosenUpnThe account signing in isn’t the one signed in to the device.

What it means: The account signing in isn’t the one signed in to the device.

Likely cause: The user picked a different account from the one logged on to Windows.

Fix: Have the user sign in with the same account they use on the device, or sign in with a password for the other account.

AADSTS90082OrgIdWsFederationNotSupportedThe authentication policy selected for this WS-Federation request isn’t supported.

What it means: The authentication policy selected for this WS-Federation request isn’t supported.

Likely cause: A federation request using an unsupported policy.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS5000819InvalidSamlTokenEmailMissingOrInvalidThe SAML assertion is missing an email claim, or its domain doesn’t match.

What it means: The SAML assertion is missing an email claim, or its domain doesn’t match.

Likely cause: The external identity provider didn’t send a valid email address claim.

Fix: Check that the identity provider sends an email claim in a domain that matches the federation setup.

Also related to this category