errors
Entra ID sign-in errors
Every AADSTS code in Microsoft's reference, grouped by cause. The 61 most common have a full fix. The other 289 show Microsoft's description and how to investigate. To search them all at once, use the AADSTS lookup.
Conditional Access and devices
- AADSTS50097DeviceAuthenticationRequiredDevice authentication is required.
- AADSTS50131ConditionalAccessFailedA Conditional Access failure such as bad device state, suspicious activity or a policy decision.
- AADSTS50155DeviceAuthenticationFailedDevice authentication failed for this user.
- AADSTS53000DeviceNotCompliantConditional Access requires a compliant device and this one isn't compliant.
- AADSTS53001DeviceNotDomainJoinedConditional Access requires a hybrid joined device.
- AADSTS53002ApplicationUsedIsNotAnApprovedAppThe app used isn't an approved app for Conditional Access.
- AADSTS53003BlockedByConditionalAccessAccess was blocked by a Conditional Access policy.
- AADSTS53004ProofUpBlockedDueToRiskThe user must complete MFA registration first, but registration is blocked because of risk.
- AADSTS530032BlockedByConditionalAccessOnSecurityPolicyA tenant security policy blocks the request.
3 more conditional access and devices codes from Microsoft's reference
MFA and registration
- AADSTS50072UserStrongAuthEnrollmentRequiredInterruptThe user needs to register for MFA.
- AADSTS50074UserStrongAuthClientAuthNRequiredInterruptStrong authentication was required and the user didn't pass the MFA challenge.
- AADSTS50076UserStrongAuthClientAuthNRequiredMFA is required because of an admin configuration such as Conditional Access.
- AADSTS50079UserStrongAuthEnrollmentRequiredThe user must register security info because of an admin configuration change.
- AADSTS50158External security challengeThe user was sent to an external challenge such as terms of use or third-party MFA.
- AADSTS90072PassThroughUserMfaErrorThe external account doesn't exist in the tenant, so it can't satisfy the tenant's MFA.
4 more mfa and registration codes from Microsoft's reference
Accounts, passwords and sessions
- AADSTS16000InteractionRequiredThe account doesn't exist in this tenant and can't access the app.
- AADSTS50020UserUnauthorizedThe user's account isn't from this tenant and can't access the app.
- AADSTS50034UserAccountNotFoundThe account doesn't exist in the directory.
- AADSTS50053IdsLockedThe account is locked after too many failed sign-ins, or the sign-in came from an IP with malicious activity.
- AADSTS50055InvalidPasswordExpiredPasswordThe password has expired.
- AADSTS50056Invalid or null passwordNo password exists in the directory for this user.
- AADSTS50057UserDisabledThe user account is disabled.
- AADSTS50058UserInformationNotProvidedThere wasn't enough session information for single sign-on. The user usually isn't signed in.
- AADSTS50064CredentialAuthenticationErrorCredential validation on the username or password failed.
- AADSTS50089Flow token expiredThe sign-in took too long and the flow token expired.
- AADSTS50126InvalidUserNameOrPasswordThe username or password is wrong.
- AADSTS50128Invalid domain nameNo tenant-identifying information was found in the request.
- AADSTS50132SsoArtifactInvalidOrExpiredThe session isn't valid because of password expiry or a recent password change.
- AADSTS50133SsoArtifactRevokedThe session isn't valid because of password expiry or a recent password change.
- AADSTS50135PasswordChangeCompromisedPasswordA password change is required because of account risk.
- AADSTS50140KmsiInterruptThe 'Keep me signed in?' prompt.
- AADSTS50144InvalidPasswordExpiredOnPremPasswordThe user's Active Directory password has expired.
- AADSTS50173Grant expiredThe grant was revoked, often because the user changed or reset their password.
- AADSTS50199CmsiInterruptUser confirmation is needed because a system webview requested a token for a native app.
- AADSTS51004UserAccountNotInDirectoryThe user account doesn't exist in the directory.
- AADSTS81010DesktopSsoAuthTokenInvalidSeamless SSO failed because the Kerberos ticket is expired or invalid.
44 more accounts, passwords and sessions codes from Microsoft's reference
- AADSTS16001 UserAccountSelectionInvalid
- AADSTS16002 AppSessionSelectionInvalid
- AADSTS50068 SignoutInitiatorNotParticipant
- AADSTS50125 PasswordResetRegistrationRequiredInterrupt
- AADSTS50127 BrokerAppNotInstalled
- AADSTS50177 ExternalChallengeNotSupportedForPassthroughUsers
- AADSTS50178 SessionControlNotSupportedForPassthroughUsers
- AADSTS50197 ConflictingIdentities
- AADSTS51000 RequiredFeatureNotEnabled
- AADSTS53011
- AADSTS54000 MinorUserBlockedLegalAgeGroupRule
- AADSTS70012 MsaServerError
- AADSTS70018 BadVerificationCode
- AADSTS70019 CodeExpired
- AADSTS80001 OnPremiseStoreIsNotAvailable
- AADSTS80007 OnPremisePasswordValidatorErrorOccurredOnPrem
- AADSTS80010 OnPremisePasswordValidationEncryptionException
- AADSTS80012 OnPremisePasswordValidationAccountLogonInvalidHours
- AADSTS80013 OnPremisePasswordValidationTimeSkew
- AADSTS81009 DesktopSsoAuthorizationHeaderValueWithBadFormat
- AADSTS81011 DesktopSsoLookupUserBySidFailed
- AADSTS90013 InvalidUserInput
- AADSTS90119 InvalidUserCode
- AADSTS90125 DebugModeEnrollTenantNotFound
- AADSTS90126 DebugModeEnrollTenantNotInferred
- AADSTS120000 PasswordChangeIncorrectCurrentPassword
- AADSTS120002 PasswordChangeInvalidNewPasswordWeak
- AADSTS120003 PasswordChangeInvalidNewPasswordContainsMemberName
- AADSTS120004 PasswordChangeOnPremComplexity
- AADSTS120005 PasswordChangeOnPremSuccessCloudFail
- AADSTS120008 PasswordChangeAsyncJobStateTerminated
- AADSTS120011 PasswordChangeAsyncUpnInferenceFailed
- AADSTS120012 PasswordChangeNeedsToHappenOnPrem
- AADSTS120013 PasswordChangeOnPremisesConnectivityFailure
- AADSTS120014 PasswordChangeOnPremUserAccountLockedOutOrDisabled
- AADSTS120015 PasswordChangeADAdminActionRequired
- AADSTS120016 PasswordChangeUserNotFoundBySspr
- AADSTS120018 PasswordChangePasswordDoesnotComplyFuzzyPolicy
- AADSTS120020 PasswordChangeFailure
- AADSTS500208
- AADSTS530034 DelegatedAdminBlockedDueToSuspiciousActivity
- AADSTS901011 NoEmailAddressCollectedFromExternalOidcIDP
- AADSTS1000000 UserNotBoundError
- AADSTS1000002 BindCompleteInterruptError
Consent and permissions
- AADSTS50105EntitlementGrantsNotFoundThe user isn't assigned to the app, and the app requires assignment.
- AADSTS65001DelegationDoesNotExistThe user or an admin hasn't consented to the app.
- AADSTS65004UserDeclinedConsentThe user declined consent.
- AADSTS90094AdminConsentRequiredAdmin consent is required.
- AADSTS650056Misconfigured applicationThe app is misconfigured: missing permissions, missing admin consent, or a mismatched client ID or certificate.
15 more consent and permissions codes from Microsoft's reference
- AADSTS28002
- AADSTS28003
- AADSTS50015 ViralUserLegalAgeConsentRequiredState
- AADSTS50150
- AADSTS52004 DelegationDoesNotExistForLinkedIn
- AADSTS65002
- AADSTS70005 UnsupportedResponseType
- AADSTS90008 TokenForItselfRequiresGraphPermission
- AADSTS90095
- AADSTS90099
- AADSTS650054
- AADSTS650057
- AADSTS700022 InvalidMultipleResourcesScope
- AADSTS700023 InvalidResourcelessScope
- AADSTS9002341
App registration and tokens
- AADSTS50011InvalidReplyToThe reply URL in the request doesn't match any reply URL configured on the app.
- AADSTS50107Federation realm not foundThe requested federation realm object doesn't exist.
- AADSTS50146MissingCustomSigningKeyThe app needs an app-specific signing key, which is missing, expired or not yet valid.
- AADSTS50196LoopDetectedThe app made too many of the same request in a short time.
- AADSTS54005Authorization code already redeemedThe OAuth2 authorization code was already used.
- AADSTS70000InvalidGrantAuthentication failed because the refresh token isn't valid.
- AADSTS70008ExpiredOrRevokedGrantThe refresh token expired due to inactivity.
- AADSTS70011InvalidScopeThe scope the app requested is invalid.
- AADSTS70043BadTokenDueToSignInFrequencyThe refresh token is invalid because of Conditional Access sign-in frequency.
- AADSTS500011InvalidResourceServicePrincipalNotFoundThe resource the app asked for wasn't found in the tenant.
- AADSTS500014InvalidResourceServicePrincipalDisabledThe resource's service principal is disabled.
- AADSTS700016UnauthorizedClient_DoesNotMatchRequestThe application wasn't found in the directory.
- AADSTS700027Client assertion signature failedThe client assertion failed signature validation.
- AADSTS700054ID token implicit grant not enabledresponse_type 'id_token' isn't enabled for the app.
- AADSTS700082ExpiredOrRevokedGrantInactiveTokenThe refresh token expired due to inactivity.
- AADSTS900144Missing required parameterThe request body is missing a required parameter.
- AADSTS900971No reply addressNo reply address was provided.
- AADSTS9002313InvalidRequestThe request is malformed or invalid.
193 more app registration and tokens codes from Microsoft's reference
- AADSTS16003 SsoUserAccountNotFoundInResourceTenant
- AADSTS17003 CredentialKeyProvisioningFailed
- AADSTS50000 TokenIssuanceError
- AADSTS50001 InvalidResource
- AADSTS50002 NotAllowedTenant
- AADSTS50003 MissingSigningKey
- AADSTS50006 InvalidSignature
- AADSTS50007 PartnerEncryptionCertificateMissing
- AADSTS50010 AudienceUriValidationFailed
- AADSTS50012 AuthenticationFailed
- AADSTS50013 InvalidAssertion
- AADSTS50014 GuestUserInPendingState
- AADSTS50017 CertificateValidationFailed
- AADSTS50027 InvalidJwtToken
- AADSTS50029
- AADSTS50032 WeakRsaKey
- AADSTS50033 RetryableError
- AADSTS50042 UnableToGeneratePairwiseIdentifierWithMissingSalt
- AADSTS50043 UnableToGeneratePairwiseIdentifierWithMultipleSalts
- AADSTS50048 SubjectMismatchesIssuer
- AADSTS50049 NoSuchInstanceForDiscovery
- AADSTS50050 MalformedDiscoveryRequest
- AADSTS50059 MissingTenantRealmAndNoUserInformationProvided
- AADSTS50061 SignoutInvalidRequest
- AADSTS50070 SignoutUnknownSessionIdentifier
- AADSTS50071 SignoutMessageExpired
- AADSTS50085
- AADSTS50086 SasNonRetryableError
- AADSTS50098
- AADSTS50099 PKeyAuthInvalidJwtUnauthorized
- AADSTS50100
- AADSTS50101
- AADSTS50102
- AADSTS50103
- AADSTS50108
- AADSTS50109
- AADSTS50111
- AADSTS50117
- AADSTS50120
- AADSTS50123
- AADSTS50129 DeviceIsNotWorkplaceJoined
- AADSTS50130
- AADSTS50134 DeviceFlowAuthorizeWrongDatacenter
- AADSTS50136 RedirectMsaSessionToApp
- AADSTS50137
- AADSTS50138
- AADSTS50139 SessionMissingMsaOAuth2RefreshToken
- AADSTS50141
- AADSTS50143
- AADSTS50147
- AADSTS50148
- AADSTS50149
- AADSTS50156
- AADSTS50157
- AADSTS50159
- AADSTS50160
- AADSTS50161
- AADSTS50162
- AADSTS50163
- AADSTS50164
- AADSTS50165
- AADSTS50166
- AADSTS50167
- AADSTS50168
- AADSTS50169 InvalidRequestBadRealm
- AADSTS50170 MissingExternalClaimsProviderMapping
- AADSTS50171
- AADSTS50172
- AADSTS50176
- AADSTS50180 WindowsIntegratedAuthMissing
- AADSTS50187 DeviceInformationNotProvided
- AADSTS50192
- AADSTS50194
- AADSTS51001 DomainHintMustbePresent
- AADSTS51005 TemporaryRedirect
- AADSTS51006 ForceReauthDueToInsufficientAuth
- AADSTS67003 ActorNotValidServiceIdentity
- AADSTS70001 UnauthorizedClient
- AADSTS70002 InvalidClient
- AADSTS70003 UnsupportedGrantType
- AADSTS70004 InvalidRedirectUri
- AADSTS70007 UnsupportedResponseMode
- AADSTS70016 AuthorizationPending
- AADSTS76021 ApplicationRequiresSignedRequests
- AADSTS80002 OnPremisePasswordValidatorRequestTimedout
- AADSTS80005 OnPremisePasswordValidatorUnpredictableWebException
- AADSTS80014 OnPremisePasswordValidationAuthenticationAgentTimeout
- AADSTS81004 DesktopSsoIdentityInTicketIsNotAuthenticated
- AADSTS81005 DesktopSsoAuthenticationPackageNotSupported
- AADSTS81006 DesktopSsoNoAuthorizationHeader
- AADSTS81007 DesktopSsoTenantIsNotOptIn
- AADSTS81012 DesktopSsoMismatchBetweenTokenUpnAndChosenUpn
- AADSTS90002 InvalidTenantName
- AADSTS90004 InvalidRequestFormat
- AADSTS90005 InvalidRequestWithMultipleRequirements
- AADSTS90006 ExternalServerRetryableError
- AADSTS90007 InvalidSessionId
- AADSTS90009 TokenForItselfMissingIdenticalAppIdentifier
- AADSTS90010 NotSupported
- AADSTS90012 RequestTimeout
- AADSTS90014 MissingRequiredField
- AADSTS90015 QueryStringTooLong
- AADSTS90016 MissingRequiredClaim
- AADSTS90019 MissingTenantRealm
- AADSTS90022 AuthenticatedInvalidPrincipalNameFormat
- AADSTS90023 InvalidRequest
- AADSTS90024 RequestBudgetExceededError
- AADSTS90027
- AADSTS90033 MsodsServiceUnavailable
- AADSTS90036 MsodsServiceUnretryableFailure
- AADSTS90043 NationalCloudAuthCodeRedirection
- AADSTS90051 InvalidNationalCloudId
- AADSTS90055 TenantThrottlingError
- AADSTS90056 BadResourceRequest
- AADSTS90086 OrgIdWsTrustDaTokenExpired
- AADSTS90090 GraphRetryableError
- AADSTS90091 GraphServiceUnreachable
- AADSTS90092 GraphNonRetryableError
- AADSTS90093 GraphUserUnauthorized
- AADSTS90100 InvalidRequestParameter
- AADSTS90101 InvalidEmailAddress
- AADSTS90102 InvalidUriParameter
- AADSTS90107 InvalidXml
- AADSTS90112
- AADSTS90114 InvalidExpiryDate
- AADSTS90117 InvalidRequestInput
- AADSTS90120 InvalidDeviceFlowRequest
- AADSTS90121 InvalidEmptyRequest
- AADSTS90123 IdentityProviderAccessDenied
- AADSTS90124 V1ResourceV2GlobalEndpointNotSupported
- AADSTS90130 NonConvergedAppV2GlobalEndpointNotSupported
- AADSTS100007
- AADSTS120021 PartnerServiceSsprInternalServiceError
- AADSTS130004 NgcKeyNotFound
- AADSTS130005 NgcInvalidSignature
- AADSTS130006 NgcTransportKeyNotFound
- AADSTS130008 NgcDeviceIsNotFound
- AADSTS135010 KeyNotFound
- AADSTS135011
- AADSTS140000 InvalidRequestNonce
- AADSTS140001 InvalidSessionKey
- AADSTS160021 AppSessionSelectionInvalidSessionNotExist
- AADSTS165004
- AADSTS165900 InvalidApiRequest
- AADSTS220450 UnsupportedAndroidWebViewVersion
- AADSTS220501 InvalidCrlDownload
- AADSTS221000 DeviceOnlyTokensNotSupportedByResource
- AADSTS230109 CachedCredentialNonGWAuthNRequestsNotSupported
- AADSTS240001 BulkAADJTokenUnauthorized
- AADSTS240002 RequiredClaimIsMissing
- AADSTS240003
- AADSTS240004
- AADSTS500021
- AADSTS500022
- AADSTS500133
- AADSTS500141
- AADSTS500207
- AADSTS500212 NotAllowedByOutboundPolicyTenant
- AADSTS500213 NotAllowedByInboundPolicyTenant
- AADSTS501461
- AADSTS501481
- AADSTS501491 InvalidCodeChallengeMethodInvalidSize
- AADSTS501621 ClaimsTransformationTimeoutRegularExpressionTimeout
- AADSTS501631
- AADSTS501632
- AADSTS530035 BlockedBySecurityDefaults
- AADSTS650052
- AADSTS650059
- AADSTS700005 InvalidGrantRedeemAgainstWrongTenant
- AADSTS700011 UnauthorizedClientAppNotFoundInOrgIdTenant
- AADSTS700020 InteractionRequired
- AADSTS700025 InvalidClientPublicClientWithCredential
- AADSTS700030
- AADSTS700084
- AADSTS900382
- AADSTS900384
- AADSTS900432
- AADSTS900561 BadResourceRequestInvalidRequest
- AADSTS900612
- AADSTS901002
- AADSTS901012 EmailAddressCollectedFromExternalOidcIDPNotVerified
- AADSTS901014 NoExternalIdentifierCollectedFromExternalOidcIDP
- AADSTS1000031
- AADSTS1000104 XCB2BResourceCloudNotAllowedOnIdentityTenant
- AADSTS5000224 NotAllowedTenantBlockedTenantFraud
- AADSTS5001256
- AADSTS7000112 UnauthorizedClientApplicationDisabled
- AADSTS7000114
- AADSTS7000215
- AADSTS7000218
- AADSTS7000222 InvalidClientSecretExpiredKeysProvided
- AADSTS9001023
- AADSTS9002332
SAML single sign-on
- AADSTS75005Saml2MessageInvalidEntra doesn't support the SAML request the app sent.
- AADSTS75011NoMatchedAuthnContextInOutputClaimsThe authentication method used doesn't match the one the app requested.
30 more saml single sign-on codes from Microsoft's reference
- AADSTS20001 WsFedSignInResponseError
- AADSTS20012 WsFedMessageInvalid
- AADSTS20033 FedMetadataInvalidTenantName
- AADSTS40008 OAuth2IdPUnretryableServerError
- AADSTS40009 OAuth2IdPRefreshTokenRedemptionUserError
- AADSTS40010 OAuth2IdPRetryableServerError
- AADSTS40015 OAuth2IdPAuthCodeRedemptionUserError
- AADSTS50008 InvalidSamlToken
- AADSTS50124
- AADSTS65005 MisconfiguredApplication
- AADSTS75001 BindingSerializationError
- AADSTS75003 UnsupportedBindingError
- AADSTS75008 RequestDeniedError
- AADSTS75016 Saml2AuthenticationRequestInvalidNameIDPolicy
- AADSTS76026 RequestIssueTimeExpired
- AADSTS90020
- AADSTS90038 NationalCloudTenantRedirection
- AADSTS90081 OrgIdWsFederationMessageInvalid
- AADSTS90082 OrgIdWsFederationNotSupported
- AADSTS90084 OrgIdWsFederationGuestNotAllowed
- AADSTS90085 OrgIdWsFederationSltRedemptionFailed
- AADSTS90087 OrgIdWsFederationMessageCreationFromUriFailed
- AADSTS399284 InboundIdTokenIssuerInvalid
- AADSTS501241
- AADSTS700229
- AADSTS750054
- AADSTS900236
- AADSTS5000819 InvalidSamlTokenEmailMissingOrInvalid
- AADSTS7500514
- AADSTS7500529