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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS20001 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS20012 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS20033 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS40008 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS40009 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS40010 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS40015 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS50008 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS50180 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS51006 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80001 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80002 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80005 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80007 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80010 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80012 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80013 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS80014 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81004 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81005 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81006 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81007 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81009 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81010 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81011 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS81012 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS90082 (opens in a new tab)
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.
Microsoft’s AADSTS reference (opens in a new tab) · Official lookup for AADSTS5000819 (opens in a new tab)
No codes on this page match. Try another category above, or the Sign-in Error Decoder.
Also related to this category
- AADSTS50144 (InvalidPasswordExpiredOnPremPassword), listed under Authentication & Password
- AADSTS120004 (PasswordChangeOnPremComplexity), listed under Authentication & Password
- AADSTS120005 (PasswordChangeOnPremSuccessCloudFail), listed under Authentication & Password
- AADSTS120012 (PasswordChangeNeedsToHappenOnPrem), listed under Authentication & Password
- AADSTS120013 (PasswordChangeOnPremisesConnectivityFailure), listed under Authentication & Password