Free tool
Entra ID AADSTS Error Code Lookup
Type an AADSTS code from a Microsoft sign-in error, or paste the whole message, to see what it means and how to fix it. Microsoft's reference lists 351 AADSTS codes S01 derived; 30 codes have our own plain-English cause and fix steps for admins, developers and users. Microsoft last changed its list on 15 October 2026 S02.
- Lookups run in your browser. Pasted error text stays on this page.
- 351 codes, 30 with fix notes
- Every code links to Microsoft Learn
Paste the whole error message
Read on this page only. Nothing you paste is sent anywhere or saved.
AADSTS50105
User is not assigned to the application
The signed in user isn't assigned to a role for the signed in app.
What it means
The app's enterprise application has Assignment required? set to Yes, and the person signing in has no app role assignment, either directly or through a group they are a direct member of. Nested groups do not count. The check does not apply to Global Administrators, so an admin's test sign-in can work while users still fail.
Fix it: tenant admins
- In the Microsoft Entra admin center, go to
Entra ID > Enterprise apps > All applications, open the app and selectProperties. CheckAssignment required?. - To keep access restricted, open
Users and groupsand selectAdd user/group. Choose the user, or a group they are a direct member of, pick a role (Default Accessif the app has no named roles) and selectAssign. Assigning a group needs Microsoft Entra ID P1 or P2. - If everyone in the tenant should be able to use the app, and that matches your access policy, set
Assignment required?to No and save. Unassigned users and applications can then get tokens for it. Conditional Access and the app's own authorisation still apply. - Test with the affected user's account, not a Global Administrator.
- To script assignments:
New-MgUserAppRoleAssignmentin Microsoft Graph PowerShell, orNew-EntraUserAppRoleAssignmentandNew-EntraGroupAppRoleAssignmentin Microsoft Entra PowerShell.
Fix it: the person signing in
- Ask your IT team to assign you to the app. Send them the Request ID, Correlation ID and timestamp from the error screen.
What to check in the sign-in log
The failed entry names the user and the application. If the user should get access through a group, check the group is assigned to the app and the user is a direct member of it.
Related codes
Microsoft sources
Codes with full pages: 50105 50011 700016 50076 50126 50053 50057 50058 50079 50158 53003 65001
Example: reading a pasted sign-in error
Microsoft's sign-in error screen has a "More details" or "Troubleshooting details" block. Paste all of it into the "Paste the whole error message" box above and the tool picks out the code and the IDs, then writes the searches that find the failed sign-in in your logs. This example uses the placeholder IDs from Microsoft's own documentation; the application name is made up.
Sorry, but we're having trouble signing you in.
AADSTS50105: The signed in user is not assigned to a role for the application.
Troubleshooting details
App name: Contoso Expenses
App id: 00001111-aaaa-2222-bbbb-3333cccc4444
Request id: 0000aaaa-11bb-cccc-dd22-eeeeee333333
Correlation id: aaaa0000-bb11-2222-33cc-444444dddddd
Timestamp: 2026-11-24T09:14:52.000ZRead from your error message
- Error code
AADSTS50105- Request ID
0000aaaa-11bb-cccc-dd22-eeeeee333333- Correlation ID
aaaa0000-bb11-2222-33cc-444444dddddd- Timestamp (UTC)
2026-11-24T09:14:52.000Z- Application ID
00001111-aaaa-2222-bbbb-3333cccc4444
Find this sign-in
In the Microsoft Entra admin center (Reports Reader is enough), open Entra ID > Monitoring & health > Sign-in logs, set the date range to cover the timestamp, select Add filters, choose Correlation ID, paste the ID and select Apply. Open the entry: the Basic info tab gives the failure reason and the Conditional Access tab the policies that applied. The sign-in diagnostic can also search by correlationId for sign-ins within 48 hours of a date and time you give.
Microsoft Graph PowerShell (interactive sign-ins)
Connect-MgGraph -Scopes "AuditLog.Read.All"
Get-MgAuditLogSignIn -Filter "correlationId eq 'aaaa0000-bb11-2222-33cc-444444dddddd' and createdDateTime ge 2026-11-23T09:14:52Z and createdDateTime le 2026-11-25T09:14:52Z" -All |
Select-Object CreatedDateTime, UserPrincipalName, AppDisplayName, IpAddress, @{n="ErrorCode";e={$_.Status.ErrorCode}}, @{n="Reason";e={$_.Status.FailureReason}}Log Analytics (KQL), interactive and non-interactive
union SigninLogs, AADNonInteractiveUserSignInLogs
| where CorrelationId == "aaaa0000-bb11-2222-33cc-444444dddddd"
| project TimeGenerated, UserPrincipalName, AppDisplayName, IPAddress, ResultType, ResultSignature, ResultDescription, ConditionalAccessStatus
| sort by TimeGenerated ascEveryone who hit AADSTS50105 in the last 7 days (KQL)
SigninLogs
| where TimeGenerated > ago(7d) and ResultType == "50105"
| summarize Failures = count(), Last = max(TimeGenerated) by UserPrincipalName, AppDisplayName
| sort by Failures descRead on this page only: the pasted text is not sent anywhere and is not put in the address bar.
30 AADSTS errors with full fix pages
Each has its own page with the cause, fix steps for admins, developers and the person signing in, related codes and the Microsoft articles behind them.
Passwords and accounts
- AADSTS50034User account not found in the directory
- AADSTS50053Account locked, or sign-in blocked as risky
- AADSTS50055Password has expired
- AADSTS50057User account is disabled
- AADSTS50126Wrong username or password
MFA and Conditional Access
- AADSTS50076Multifactor authentication required
- AADSTS50079User must register for MFA
- AADSTS50158External security challenge not yet satisfied
- AADSTS53003Blocked by Conditional Access
- AADSTS530032Blocked by a tenant security policy
Devices and single sign-on
- AADSTS50097Device authentication required
- AADSTS81010Seamless SSO failed: Kerberos ticket expired or invalid
- AADSTS135011Device used for sign-in is disabled
Consent, roles and assignment
- AADSTS50105User is not assigned to the application
- AADSTS65001Nobody has consented to the app's permissions
App registrations and credentials
- AADSTS50011Redirect URI does not match the app registration
- AADSTS500011Resource (API) not found in the tenant
- AADSTS700016Application not found in the directory
- AADSTS700054ID token requested but not enabled for the app
- AADSTS7000215Invalid client secret
- AADSTS7000218Token request has no client secret or assertion
Guests and other tenants
- AADSTS16000Account has not been added to this tenant
- AADSTS50020User account does not exist in the tenant
- AADSTS90072External account cannot meet this tenant's MFA
Tokens, sessions and requests
How it works
Where the codes come from. Microsoft lists the AADSTS codes in its Microsoft Entra authentication and authorization error code reference on Microsoft Learn S01. The tool reads that page’s source and keeps, for each code, Microsoft’s internal error name and the first sentence of its description, quoted with a link back. The list held 351 codes S01 derived at the check on 25 November 2026. AADSTS50147 appears twice and counts once. The commit history of Microsoft’s file S02 shows the list last changed on 15 October 2026. Microsoft warns that codes and messages can change at any time S01. So the list is checked against Learn every month and the date of the last check is shown at the top. A code that is new in Microsoft’s list appears with Microsoft’s description only, marked “Fix notes not yet written”, until it has notes of its own.
Whose words are whose. The quoted sentence on each code is Microsoft’s. For 30 codes, the cause and the fix steps are our own wording, written from the Microsoft articles listed against each code, and every step rests on one of them. Where Microsoft’s pages disagree, the entry says so: AADSTS530032 is the clearest case, with three different explanations from three Microsoft sources. The categories are our grouping, made from Microsoft’s internal names and descriptions. They are not Microsoft’s.
Reading the error screen. A failed sign-in shows the code at the start of the message, such as AADSTS50105. Select More details on the error page and it shows the information that finds the sign-in in the logs S56: the Request ID, the Correlation ID and the timestamp. Microsoft asks you to collect the Request ID and the Correlation ID when troubleshooting S40; the Correlation ID groups the requests of one sign-in session S40. An app that receives the error as JSON gets the same details inside error_description, with trace_id and correlation_id fields beside it S01. Paste the whole block into the “Paste the whole error message” box above; if you paste it into the search box, it is moved there. The tool picks out the code, the IDs and the timestamp in your browser and sends nothing anywhere. The address bar holds only the code, or a short keyword, you searched for: never an ID, an e-mail address or pasted text.
Finding the failed sign-in. In the Microsoft Entra admin center, the sign-in logs are under Entra ID > Monitoring & health > Sign-in logs S03. Reports Reader is the least privileged role that can read them S06. Add a filter for the Correlation ID or the Request ID S07, open the entry, and read the failure reason and the Conditional Access tab S56. The sign-in diagnostic searches by correlationId or requestId for sign-ins within 48 hours of a date and time you give S08. Users can see their own sign-ins at mysignins.microsoft.com S06.
The queries the tool writes. Microsoft Graph filters sign-ins on correlationId S09 and on the error code, status/errorCode S04. Its v1.0 endpoint lists interactive sign-ins and needs a time range to avoid time-outs S42, so the queries ask for a day either side of the timestamp, or the last seven days. The call needs the AuditLog.Read.All permission S42, and the -All switch returns every page of results S69. In Log Analytics, the SigninLogs table holds the code in ResultType S05, while the non-interactive sign-in table keeps it in ResultSignature S41. Log Analytics shows several records for one sign-in S43, which is why the queries filter on the Correlation ID. Sign-in reports need Microsoft Entra ID P1 or P2 S09. Only an ID that has the shape of a GUID is put into a query. Microsoft does not say that the Graph sign-in ID equals the portal’s Request ID, so a Request ID gets the portal filter only.
What the tool does not do. It does not connect to your tenant, call Microsoft or read your logs. The queries are text for you to run with your own permissions, and the fix steps change nothing until you carry them out.
All 351 AADSTS error codes
Every code in Microsoft's reference, checked on 25 November 2026, with Microsoft's internal error name and the first sentence of its description S01. The category is our grouping, not Microsoft's. Download as CSV. In the CSV, the internal_name and microsoft_description_first_sentence columns are Microsoft's text and are not covered by our CC BY 4.0 licence; the other columns are ours.
| Code | Microsoft's name | Microsoft's description (first sentence) | Category |
|---|---|---|---|
| AADSTS16000 | InteractionRequired | User account '{EmailHidden}' from identity provider '{idp}' doesn't exist in tenant '{tenant}' and can't access the application '{appid}'({appName}) in that tenant. | Guests and other tenants |
| AADSTS16001 | UserAccountSelectionInvalid | You see this error if the user selects a tile that the session select logic has rejected. | Tokens, sessions and requests |
| AADSTS16002 | AppSessionSelectionInvalid | The app-specified SID requirement wasn't met. | App registrations and credentials |
| AADSTS16003 | SsoUserAccountNotFoundInResourceTenant | Indicates that the user hasn't been explicitly added to the tenant. | Other |
| AADSTS17003 | CredentialKeyProvisioningFailed | Microsoft Entra ID can't provision the user key. | Passwords and accounts |
| AADSTS20001 | WsFedSignInResponseError | There's an issue with your federated Identity Provider. | Federation, SAML and claims |
| AADSTS20012 | WsFedMessageInvalid | There's an issue with your federated Identity Provider. | Federation, SAML and claims |
| AADSTS20033 | FedMetadataInvalidTenantName | There's an issue with your federated Identity Provider. | Federation, SAML and claims |
| AADSTS28002 | Provided value for the input parameter scope '{scope}' isn't valid when requesting an access token. | Consent, roles and assignment | |
| AADSTS28003 | Provided value for the input parameter scope can't be empty when requesting an access token using the provided authorization code. | Consent, roles and assignment | |
| AADSTS40008 | OAuth2IdPUnretryableServerError | There's an issue with your federated Identity Provider. | Federation, SAML and claims |
| AADSTS40009 | OAuth2IdPRefreshTokenRedemptionUserError | There's an issue with your federated Identity Provider. | Federation, SAML and claims |
| AADSTS40010 | OAuth2IdPRetryableServerError | There's an issue with your federated Identity Provider. | Federation, SAML and claims |
| AADSTS40015 | OAuth2IdPAuthCodeRedemptionUserError | There's an issue with your federated Identity Provider. | Federation, SAML and claims |
| AADSTS50000 | TokenIssuanceError | There's an issue with the sign-in service. | Tokens, sessions and requests |
| AADSTS50001 | InvalidResource | The resource is disabled or doesn't exist. | App registrations and credentials |
| AADSTS50002 | NotAllowedTenant | Sign-in failed because of a restricted proxy access on the tenant. | Guests and other tenants |
| AADSTS50003 | MissingSigningKey | Sign-in failed because of a missing signing key or certificate. | App registrations and credentials |
| AADSTS50005 | DevicePolicyError | User tried to sign in to a device from a platform not currently supported through Conditional Access policy. | MFA and Conditional Access |
| AADSTS50006 | InvalidSignature | Signature verification failed because of an invalid signature. | Other |
| AADSTS50007 | PartnerEncryptionCertificateMissing | The partner encryption certificate wasn't found for this app. | App registrations and credentials |
| AADSTS50008 | InvalidSamlToken | SAML assertion is missing or misconfigured in the token. | Federation, SAML and claims |
| AADSTS50010 | AudienceUriValidationFailed | Audience URI validation for the app failed since no token audiences were configured. | App registrations and credentials |
| AADSTS50011 | InvalidReplyTo | The reply address is missing, misconfigured, or doesn't match reply addresses configured for the app. | App registrations and credentials |
| AADSTS50012 | AuthenticationFailed | Authentication failed for one of the following reasons: The subject name of the signing certificate isn't authorized A matching trusted authority policy wasn't found for the authorized subject name The certificate chain isn't valid The signing ... | App registrations and credentials |
| AADSTS50013 | InvalidAssertion | Assertion is invalid because of various reasons - The token issuer doesn't match the API version within its valid time range -expired -malformed - Refresh token in the assertion isn't a primary refresh token. | Devices and single sign-on |
| AADSTS50014 | GuestUserInPendingState | The user account doesn't exist in the directory. | Guests and other tenants |
| AADSTS50015 | ViralUserLegalAgeConsentRequiredState | The user requires legal age group consent. | Consent, roles and assignment |
| AADSTS50017 | CertificateValidationFailed | Certification validation failed, reasons for the following reasons: Cannot find issuing certificate in trusted certificates list Unable to find expected CrlSegment Cannot find issuing certificate in trusted certificates list Delta CRL distribution point is configured without ... | Devices and single sign-on |
| AADSTS50020 | UserUnauthorized | Users are unauthorized to call this endpoint. | Guests and other tenants |
| AADSTS50027 | InvalidJwtToken | Invalid JWT token because of the following reasons: doesn't contain nonce claim, sub claim subject identifier mismatch duplicate claim in idToken claims unexpected issuer unexpected audience not within its valid time range token format isn't proper ... | Federation, SAML and claims |
| AADSTS50029 | Invalid URI - domain name contains invalid characters. | App registrations and credentials | |
| AADSTS50032 | WeakRsaKey | Indicates the erroneous user attempt to use a weak RSA key. | Other |
| AADSTS50033 | RetryableError | Indicates a transient error not related to the database operations. | Service errors and retries |
| AADSTS50034 | UserAccountNotFound | To sign into this application, the account must be added to the directory. | Passwords and accounts |
| AADSTS50042 | UnableToGeneratePairwiseIdentifierWithMissingSalt | The salt required to generate a pairwise identifier is missing in principle. | Other |
| AADSTS50043 | UnableToGeneratePairwiseIdentifierWithMultipleSalts | No description in Microsoft's list, only the internal name. | Other |
| AADSTS50048 | SubjectMismatchesIssuer | Subject mismatches Issuer claim in the client assertion. | Federation, SAML and claims |
| AADSTS50049 | NoSuchInstanceForDiscovery | Unknown or invalid instance. | Other |
| AADSTS50050 | MalformedDiscoveryRequest | The request is malformed. | Tokens, sessions and requests |
| AADSTS50053 | This error can result from two different reasons: IdsLocked - The account is locked because the user tried to sign in too many times with an incorrect user ID or password. | Passwords and accounts | |
| AADSTS50055 | InvalidPasswordExpiredPassword | The password is expired. | Passwords and accounts |
| AADSTS50056 | Invalid or null password: password doesn't exist in the directory for this user. | Passwords and accounts | |
| AADSTS50057 | UserDisabled | The user account is disabled. | Passwords and accounts |
| AADSTS50058 | UserInformationNotProvided | Session information isn't sufficient for single-sign-on. | Tokens, sessions and requests |
| AADSTS50059 | MissingTenantRealmAndNoUserInformationProvided | Tenant-identifying information wasn't found in either the request or implied by any provided credentials. | Passwords and accounts |
| AADSTS50061 | SignoutInvalidRequest | Unable to complete sign out. | Tokens, sessions and requests |
| AADSTS50064 | CredentialAuthenticationError | Credential validation on username or password has failed. | Passwords and accounts |
| AADSTS50068 | SignoutInitiatorNotParticipant | Sign out has failed. | App registrations and credentials |
| AADSTS50070 | SignoutUnknownSessionIdentifier | Sign out has failed. | Tokens, sessions and requests |
| AADSTS50071 | SignoutMessageExpired | The logout request has expired. | Tokens, sessions and requests |
| AADSTS50072 | UserStrongAuthEnrollmentRequiredInterrupt | User needs to enroll for second factor authentication (interactive). | MFA and Conditional Access |
| AADSTS50074 | UserStrongAuthClientAuthNRequiredInterrupt | Strong authentication is required and the user did not pass the MFA challenge. | MFA and Conditional Access |
| AADSTS50076 | UserStrongAuthClientAuthNRequired | Due to a configuration change made by the admin such as a Conditional Access policy, per-user enforcement, or because you moved to a new location, the user must use multifactor authentication to access the resource. | MFA and Conditional Access |
| AADSTS50078 | UserStrongAuthExpired- Presented multifactor authentication has expired due to policies configured by your administrator. | MFA and Conditional Access | |
| AADSTS50079 | UserStrongAuthEnrollmentRequired | Due to a configuration change made by the admin such as a Conditional Access policy, per-user enforcement, or because the user moved to a new location, the user is required to use multifactor authentication. | MFA and Conditional Access |
| AADSTS50085 | Refresh token needs social IDP login. | Federation, SAML and claims | |
| AADSTS50086 | SasNonRetryableError | No description in Microsoft's list, only the internal name. | Service errors and retries |
| AADSTS50087 | SasRetryableError | A transient error has occurred during strong authentication. | Service errors and retries |
| AADSTS50088 | Limit on telecom MFA calls reached. | MFA and Conditional Access | |
| AADSTS50089 | Authentication failed due to flow token expired. | App registrations and credentials | |
| AADSTS50097 | DeviceAuthenticationRequired | Device authentication is required. | Devices and single sign-on |
| AADSTS50098 | JWT body must contain '{field}'. | Tokens, sessions and requests | |
| AADSTS50099 | PKeyAuthInvalidJwtUnauthorized | The JWT signature is invalid. | Tokens, sessions and requests |
| AADSTS50100 | There was an error transforming the claims for the token. | Federation, SAML and claims | |
| AADSTS50101 | Unknown claims transformer '{name}' was specified for principal '{principalId}'. | Federation, SAML and claims | |
| AADSTS50102 | Unable to load CustomClaimsTransformer '{type}' was specified for principal '{principalId}'. | Federation, SAML and claims | |
| AADSTS50103 | There was an error transforming the claims for the token: {errorMessage} | Federation, SAML and claims | |
| AADSTS50105 | EntitlementGrantsNotFound | The signed in user isn't assigned to a role for the signed in app. | Consent, roles and assignment |
| AADSTS50107 | The requested federation realm object '{name}' doesn't exist. | Federation, SAML and claims | |
| AADSTS50108 | Claims transformation configuration could not be retrieved. | Federation, SAML and claims | |
| AADSTS50109 | Claim transformation is unknown from configuration. | Federation, SAML and claims | |
| AADSTS50111 | Unknown claim transformation was asked to be applied. | Federation, SAML and claims | |
| AADSTS50117 | Failed to deserialize policy specified in the request's claim parameter. | Federation, SAML and claims | |
| AADSTS50120 | Unknown credential type, issue with the JWT header. | Passwords and accounts | |
| AADSTS50123 | Unknown claims transformation method '{method}' was specified for principal '{principalId}'. | Federation, SAML and claims | |
| AADSTS50124 | Invalid regular expression configured for claims transformation for this application. | Federation, SAML and claims | |
| AADSTS50125 | PasswordResetRegistrationRequiredInterrupt | Sign-in was interrupted because of a password reset or password registration entry. | Passwords and accounts |
| AADSTS50126 | InvalidUserNameOrPassword | Error validating credentials due to invalid username or password. | Passwords and accounts |
| AADSTS50127 | BrokerAppNotInstalled | User needs to install a broker app to gain access to this content. | App registrations and credentials |
| AADSTS50128 | Invalid domain name - No tenant-identifying information found in either the request or implied by any provided credentials. | Passwords and accounts | |
| AADSTS50129 | DeviceIsNotWorkplaceJoined | Workplace join is required to register the device. | Devices and single sign-on |
| AADSTS50130 | The claim value(s) '{value}' cannot be interpreted as known auth method(s). | Federation, SAML and claims | |
| AADSTS50131 | ConditionalAccessFailed | Indicates various Conditional Access errors such as bad Windows device state, request blocked due to suspicious activity, access policy, or security policy decisions. | MFA and Conditional Access |
| AADSTS50132 | SsoArtifactInvalidOrExpired | The session isn't valid due to password expiration or recent password change. | Passwords and accounts |
| AADSTS50133 | SsoArtifactRevoked | The session isn't valid due to password expiration or recent password change. | Passwords and accounts |
| AADSTS50134 | DeviceFlowAuthorizeWrongDatacenter | Wrong data center. | Devices and single sign-on |
| AADSTS50135 | PasswordChangeCompromisedPassword | Password change is required due to account risk. | Passwords and accounts |
| AADSTS50136 | RedirectMsaSessionToApp | Single MSA session detected. | App registrations and credentials |
| AADSTS50137 | Password needs to be changed due to security policy rule. | MFA and Conditional Access | |
| AADSTS50138 | Invalid encryption key environment. | Other | |
| AADSTS50139 | SessionMissingMsaOAuth2RefreshToken | The session is invalid due to a missing external refresh token. | Tokens, sessions and requests |
| AADSTS50140 | KmsiInterrupt | This error occurred due to "Keep me signed in" interrupt when the user was signing-in. | Tokens, sessions and requests |
| AADSTS50141 | Protected key isn't intended for the authenticated user. | Other | |
| AADSTS50142 | Password change is required due to a Conditional Access policy. | MFA and Conditional Access | |
| AADSTS50143 | Session mismatch - Session is invalid because user tenant doesn't match the domain hint due to different resource. | App registrations and credentials | |
| AADSTS50144 | InvalidPasswordExpiredOnPremPassword | User's Active Directory password has expired. | Passwords and accounts |
| AADSTS50146 | MissingCustomSigningKey | This app is required to be configured with an app-specific signing key. | App registrations and credentials |
| AADSTS50147 | Invalid size of the code challenge parameter. | App registrations and credentials | |
| AADSTS50148 | The code_verifier doesn't match the code_challenge supplied in the authorization request for PKCE. | App registrations and credentials | |
| AADSTS50149 | Invalid Code_Challenge_method parameter. | Tokens, sessions and requests | |
| AADSTS50150 | The provided credentials does not have a valid user consent approval information. | Passwords and accounts | |
| AADSTS50155 | DeviceAuthenticationFailed | Device authentication failed for this user. | Devices and single sign-on |
| AADSTS50156 | Device tokens are not supported for V2 resource. | Devices and single sign-on | |
| AADSTS50157 | User redirection required for routing. | App registrations and credentials | |
| AADSTS50158 | External security challenge not satisfied. | MFA and Conditional Access | |
| AADSTS50159 | Claims sent by external provider are not enough. | Federation, SAML and claims | |
| AADSTS50160 | Different target tenant is preferred. | Other | |
| AADSTS50161 | Failed to validate authorization url of external claims provider. | Federation, SAML and claims | |
| AADSTS50162 | Claims transformation has timed out. | Federation, SAML and claims | |
| AADSTS50163 | Regular expression replacement for claims transformation has resulted in a claim which exceeds the size limit. | Federation, SAML and claims | |
| AADSTS50164 | The supplied access token was not issued for the purpose for which it is being used. | Tokens, sessions and requests | |
| AADSTS50165 | The token encrypting algorithm '{algorithm}' requested by the application isn't supported for this type of token. | App registrations and credentials | |
| AADSTS50166 | Request to External OIDC endpoint failed. | Federation, SAML and claims | |
| AADSTS50167 | Invalid pop_jwk key. | Tokens, sessions and requests | |
| AADSTS50168 | The client is capable of utilizing the Windows 10 Accounts extension to perform SSO but no SSO token was found in the request or the token was expired. | App registrations and credentials | |
| AADSTS50169 | InvalidRequestBadRealm | The realm isn't a configured realm of the current service namespace. | Tokens, sessions and requests |
| AADSTS50170 | MissingExternalClaimsProviderMapping | The external controls mapping is missing. | Federation, SAML and claims |
| AADSTS50171 | The given audience can only be used in Mutual-TLS token calls. | App registrations and credentials | |
| AADSTS50172 | External claims provider {provider} isn't approved. | Federation, SAML and claims | |
| AADSTS50173 | The provided grant has expired due to it being revoked, a fresh auth token is needed. | Tokens, sessions and requests | |
| AADSTS50176 | Missing definition of external control: {controlId}. | Other | |
| AADSTS50177 | ExternalChallengeNotSupportedForPassthroughUsers | External challenge isn't supported for passthrough users. | Other |
| AADSTS50178 | SessionControlNotSupportedForPassthroughUsers | Session control isn't supported for passthrough users. | Tokens, sessions and requests |
| AADSTS50180 | WindowsIntegratedAuthMissing | Integrated Windows authentication is needed. | Devices and single sign-on |
| AADSTS50187 | DeviceInformationNotProvided | The service failed to perform device authentication. | Devices and single sign-on |
| AADSTS50192 | Invalid Request - RawCredentialExpectedNotFound - No Credential was included in the sign-in request. | App registrations and credentials | |
| AADSTS50194 | Application '{appId}'({appName}) isn't configured as a multitenant application. | App registrations and credentials | |
| AADSTS50196 | LoopDetected | A client loop has been detected. | App registrations and credentials |
| AADSTS50197 | ConflictingIdentities | The user could not be found. | Other |
| AADSTS50199 | CmsiInterrupt | For security reasons, user confirmation is required for this request. | Devices and single sign-on |
| AADSTS51000 | RequiredFeatureNotEnabled | The feature is disabled. | Passwords and accounts |
| AADSTS51001 | DomainHintMustbePresent | Domain hint must be present with on-premises security identifier or on-premises UPN. | Other |
| AADSTS51004 | UserAccountNotInDirectory | The user account doesn't exist in the directory. | Guests and other tenants |
| AADSTS51005 | TemporaryRedirect | Equivalent to HTTP status 307, which indicates that the requested information is located at the URI specified in the location header. | App registrations and credentials |
| AADSTS51006 | ForceReauthDueToInsufficientAuth | Integrated Windows authentication is needed. | Federation, SAML and claims |
| AADSTS52004 | DelegationDoesNotExistForLinkedIn | The user has not provided consent for access to LinkedIn resources. | Consent, roles and assignment |
| AADSTS53000 | DeviceNotCompliant | Conditional Access policy requires a compliant device, and the device isn't compliant. | MFA and Conditional Access |
| AADSTS53001 | DeviceNotDomainJoined | Conditional Access policy requires a domain joined device, and the device isn't domain joined. | MFA and Conditional Access |
| AADSTS53002 | ApplicationUsedIsNotAnApprovedApp | The app used isn't an approved app for Conditional Access. | MFA and Conditional Access |
| AADSTS53003 | BlockedByConditionalAccess | Access has been blocked by Conditional Access policies. | MFA and Conditional Access |
| AADSTS53004 | ProofUpBlockedDueToRisk | User needs to complete the multifactor authentication registration process before accessing this content. | MFA and Conditional Access |
| AADSTS53010 | ProofUpBlockedDueToSecurityInfoAcr | Cannot configure multifactor authentication methods because the organization requires this information to be set from specific locations or devices. | MFA and Conditional Access |
| AADSTS53011 | User blocked due to risk on home tenant. | Guests and other tenants | |
| AADSTS54000 | MinorUserBlockedLegalAgeGroupRule | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS54005 | OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token. | Tokens, sessions and requests | |
| AADSTS65001 | DelegationDoesNotExist | The user or administrator hasn't consented to use the application with ID X. Send an interactive authorization request for this user and resource. | Consent, roles and assignment |
| AADSTS65002 | Consent between first party application '{applicationId}' and first party resource '{resourceId}' must be configured via preauthorization - applications owned and operated by Microsoft must get approval from the API owner before requesting tokens for that API. | App registrations and credentials | |
| AADSTS65004 | UserDeclinedConsent | User declined to consent to access the app. | Consent, roles and assignment |
| AADSTS65005 | MisconfiguredApplication | The app required resource access list doesn't contain apps discoverable by the resource, or the client app has requested access to resource, which wasn't specified in its required resource access list or Graph service returned bad ... | Federation, SAML and claims |
| AADSTS67003 | ActorNotValidServiceIdentity | No description in Microsoft's list, only the internal name. | Other |
| AADSTS70000 | InvalidGrant | Authentication failed. | Tokens, sessions and requests |
| AADSTS70001 | UnauthorizedClient | The application is disabled. | Passwords and accounts |
| AADSTS70002 | InvalidClient | Error validating the credentials. | App registrations and credentials |
| AADSTS70003 | UnsupportedGrantType | The app returned an unsupported grant type. | App registrations and credentials |
| AADSTS70004 | InvalidRedirectUri | The app returned an invalid redirect URI. | Federation, SAML and claims |
| AADSTS70005 | UnsupportedResponseType | The app returned an unsupported response type due to the following reasons: response type 'token' isn't enabled for the app response type 'id_token' requires the 'OpenID' scope -contains an unsupported OAuth parameter value in the encoded wctx | Consent, roles and assignment |
| AADSTS70007 | UnsupportedResponseMode | The app returned an unsupported value of response_mode when requesting a token. | App registrations and credentials |
| AADSTS70008 | ExpiredOrRevokedGrant | The refresh token has expired due to inactivity. | Tokens, sessions and requests |
| AADSTS70011 | InvalidScope | The scope requested by the app is invalid. | Tokens, sessions and requests |
| AADSTS70012 | MsaServerError | A server error occurred while authenticating an MSA (consumer) user. | Service errors and retries |
| AADSTS70016 | AuthorizationPending | OAuth 2.0 device flow error. | Devices and single sign-on |
| AADSTS70018 | BadVerificationCode | Invalid verification code due to User typing in wrong user code for device code flow. | Devices and single sign-on |
| AADSTS70019 | CodeExpired | Verification code expired. | Tokens, sessions and requests |
| AADSTS70043 | BadTokenDueToSignInFrequency | The refresh token has expired or is invalid due to sign-in frequency checks by Conditional Access. | MFA and Conditional Access |
| AADSTS75001 | BindingSerializationError | An error occurred during SAML message binding. | Federation, SAML and claims |
| AADSTS75003 | UnsupportedBindingError | The app returned an error related to unsupported binding (SAML protocol response can't be sent via bindings other than HTTP POST). | Federation, SAML and claims |
| AADSTS75005 | Saml2MessageInvalid | Microsoft Entra doesn't support the SAML request sent by the app for SSO. | Federation, SAML and claims |
| AADSTS75008 | RequestDeniedError | The request from the app was denied since the SAML request had an unexpected destination. | Federation, SAML and claims |
| AADSTS75011 | NoMatchedAuthnContextInOutputClaims | The authentication method by which the user authenticated with the service doesn't match requested authentication method. | Federation, SAML and claims |
| AADSTS75016 | Saml2AuthenticationRequestInvalidNameIDPolicy | SAML2 Authentication Request has invalid NameIdPolicy. | Federation, SAML and claims |
| AADSTS76021 | ApplicationRequiresSignedRequests | The request sent by client is not signed while the application requires signed requests | App registrations and credentials |
| AADSTS76026 | RequestIssueTimeExpired | IssueTime in an SAML2 Authentication Request is expired. | Federation, SAML and claims |
| AADSTS80001 | OnPremiseStoreIsNotAvailable | The Authentication Agent is unable to connect to Active Directory. | Passwords and accounts |
| AADSTS80002 | OnPremisePasswordValidatorRequestTimedout | Password validation request timed out. | Passwords and accounts |
| AADSTS80005 | OnPremisePasswordValidatorUnpredictableWebException | An unknown error occurred while processing the response from the Authentication Agent. | Passwords and accounts |
| AADSTS80007 | OnPremisePasswordValidatorErrorOccurredOnPrem | The Authentication Agent is unable to validate user's password. | Passwords and accounts |
| AADSTS80010 | OnPremisePasswordValidationEncryptionException | The Authentication Agent is unable to decrypt password. | Passwords and accounts |
| AADSTS80012 | OnPremisePasswordValidationAccountLogonInvalidHours | The users attempted to log on outside of the allowed hours (this is specified in AD). | Passwords and accounts |
| AADSTS80013 | OnPremisePasswordValidationTimeSkew | The authentication attempt couldn't be completed due to time skew between the machine running the authentication agent and AD. | Passwords and accounts |
| AADSTS80014 | OnPremisePasswordValidationAuthenticationAgentTimeout | Validation request responded after maximum elapsed time exceeded. | Passwords and accounts |
| AADSTS81004 | DesktopSsoIdentityInTicketIsNotAuthenticated | Kerberos authentication attempt failed. | Devices and single sign-on |
| AADSTS81005 | DesktopSsoAuthenticationPackageNotSupported | The authentication package isn't supported. | Devices and single sign-on |
| AADSTS81006 | DesktopSsoNoAuthorizationHeader | No authorization header was found. | Devices and single sign-on |
| AADSTS81007 | DesktopSsoTenantIsNotOptIn | The tenant isn't enabled for Seamless SSO. | Devices and single sign-on |
| AADSTS81009 | DesktopSsoAuthorizationHeaderValueWithBadFormat | Unable to validate user's Kerberos ticket. | Devices and single sign-on |
| AADSTS81010 | DesktopSsoAuthTokenInvalid | Seamless SSO failed because the user's Kerberos ticket has expired or is invalid. | Devices and single sign-on |
| AADSTS81011 | DesktopSsoLookupUserBySidFailed | Unable to find user object based on information in the user's Kerberos ticket. | Devices and single sign-on |
| AADSTS81012 | DesktopSsoMismatchBetweenTokenUpnAndChosenUpn | The user trying to sign in to Microsoft Entra ID is different from the user signed into the device. | Devices and single sign-on |
| AADSTS90002 | InvalidTenantName | The tenant name wasn't found in the data store. | Guests and other tenants |
| AADSTS90004 | InvalidRequestFormat | The request isn't properly formatted. | Tokens, sessions and requests |
| AADSTS90005 | InvalidRequestWithMultipleRequirements | Unable to complete the request. | Tokens, sessions and requests |
| AADSTS90006 | ExternalServerRetryableError | The service is temporarily unavailable. | Service errors and retries |
| AADSTS90007 | InvalidSessionId | Bad request. | Tokens, sessions and requests |
| AADSTS90008 | TokenForItselfRequiresGraphPermission | The user or administrator hasn't consented to use the application. | Consent, roles and assignment |
| AADSTS90009 | TokenForItselfMissingIdenticalAppIdentifier | The application is requesting a token for itself. | App registrations and credentials |
| AADSTS90010 | NotSupported | Unable to create the algorithm. | Other |
| AADSTS90012 | RequestTimeout | The requested has timed out. | Service errors and retries |
| AADSTS90013 | InvalidUserInput | The input from the user isn't valid. | Other |
| AADSTS90014 | MissingRequiredField | This error code might appear in various cases when an expected field isn't present in the credential. | Passwords and accounts |
| AADSTS90015 | QueryStringTooLong | The query string is too long. | Tokens, sessions and requests |
| AADSTS90016 | MissingRequiredClaim | The access token isn't valid. | Federation, SAML and claims |
| AADSTS90019 | MissingTenantRealm | Microsoft Entra ID was unable to determine the tenant identifier from the request. | Tokens, sessions and requests |
| AADSTS90020 | The SAML 1.1 Assertion is missing ImmutableID of the user. | Federation, SAML and claims | |
| AADSTS90022 | AuthenticatedInvalidPrincipalNameFormat | The principal name format isn't valid, or doesn't meet the expected name[/host][@realm] format. | Passwords and accounts |
| AADSTS90023 | InvalidRequest | The authentication service request isn't valid. | Tokens, sessions and requests |
| AADSTS90024 | RequestBudgetExceededError | A transient error has occurred. | Service errors and retries |
| AADSTS90027 | We are unable to issue tokens from this API version on the MSA tenant. | App registrations and credentials | |
| AADSTS90033 | MsodsServiceUnavailable | The Microsoft Online Directory Service (MSODS) isn't available. | Service errors and retries |
| AADSTS90036 | MsodsServiceUnretryableFailure | An unexpected, non-retryable error from the WCF service hosted by MSODS has occurred. | Service errors and retries |
| AADSTS90038 | NationalCloudTenantRedirection | The specified tenant 'Y' belongs to the National Cloud 'X'. | Federation, SAML and claims |
| AADSTS90043 | NationalCloudAuthCodeRedirection | The feature is disabled. | App registrations and credentials |
| AADSTS90051 | InvalidNationalCloudId | The national cloud identifier contains an invalid cloud identifier. | Other |
| AADSTS90055 | TenantThrottlingError | There are too many incoming requests. | Passwords and accounts |
| AADSTS90056 | BadResourceRequest | To redeem the code for an access token, the app should send a POST request to the /token endpoint. | App registrations and credentials |
| AADSTS90072 | PassThroughUserMfaError | The external account that the user signs in with doesn't exist on the tenant that they signed into; so the user can't satisfy the MFA requirements for the tenant. | Guests and other tenants |
| AADSTS90081 | OrgIdWsFederationMessageInvalid | An error occurred when the service tried to process a WS-Federation message. | Federation, SAML and claims |
| AADSTS90082 | OrgIdWsFederationNotSupported | The selected authentication policy for the request isn't currently supported. | Federation, SAML and claims |
| AADSTS90084 | OrgIdWsFederationGuestNotAllowed | Guest accounts aren't allowed for this site. | Guests and other tenants |
| AADSTS90085 | OrgIdWsFederationSltRedemptionFailed | The service is unable to issue a token because the company object hasn't been provisioned yet. | Federation, SAML and claims |
| AADSTS90086 | OrgIdWsTrustDaTokenExpired | The user DA token is expired. | Tokens, sessions and requests |
| AADSTS90087 | OrgIdWsFederationMessageCreationFromUriFailed | An error occurred while creating the WS-Federation message from the URI. | Federation, SAML and claims |
| AADSTS90090 | GraphRetryableError | The service is temporarily unavailable. | Service errors and retries |
| AADSTS90091 | GraphServiceUnreachable | No description in Microsoft's list, only the internal name. | Service errors and retries |
| AADSTS90092 | GraphNonRetryableError | No description in Microsoft's list, only the internal name. | Service errors and retries |
| AADSTS90093 | GraphUserUnauthorized | Graph returned with a forbidden error code for the request. | Tokens, sessions and requests |
| AADSTS90094 | AdminConsentRequired | Administrator consent is required. | Consent, roles and assignment |
| AADSTS90095 | AdminConsentRequiredRequestAccess- In the Admin Consent Workflow experience, an interrupt that appears when the user is told they need to ask the admin for consent. | Consent, roles and assignment | |
| AADSTS90099 | The application '{appId}' ({appName}) has not been authorized in the tenant '{tenant}'. | Consent, roles and assignment | |
| AADSTS90100 | InvalidRequestParameter | The parameter is empty or not valid. | Tokens, sessions and requests |
| AADSTS90101 | InvalidEmailAddress | The supplied data isn't a valid email address. | Passwords and accounts |
| AADSTS90102 | InvalidUriParameter | The value must be a valid absolute URI. | App registrations and credentials |
| AADSTS90107 | InvalidXml | The request isn't valid. | Tokens, sessions and requests |
| AADSTS90112 | Application identifier is expected to be a GUID. | App registrations and credentials | |
| AADSTS90114 | InvalidExpiryDate | The bulk token expiration timestamp will cause an expired token to be issued. | Tokens, sessions and requests |
| AADSTS90117 | InvalidRequestInput | No description in Microsoft's list, only the internal name. | Tokens, sessions and requests |
| AADSTS90119 | InvalidUserCode | The user code is null or empty. | Tokens, sessions and requests |
| AADSTS90120 | InvalidDeviceFlowRequest | The request was already authorized or declined. | Devices and single sign-on |
| AADSTS90121 | InvalidEmptyRequest | Invalid empty request. | Tokens, sessions and requests |
| AADSTS90123 | IdentityProviderAccessDenied | The token can't be issued because the identity or claim issuance provider denied the request. | Federation, SAML and claims |
| AADSTS90124 | V1ResourceV2GlobalEndpointNotSupported | The resource isn't supported over the /common or /consumers endpoints. | App registrations and credentials |
| AADSTS90125 | DebugModeEnrollTenantNotFound | The user isn't in the system. | Passwords and accounts |
| AADSTS90126 | DebugModeEnrollTenantNotInferred | The user type isn't supported on this endpoint. | Passwords and accounts |
| AADSTS90130 | NonConvergedAppV2GlobalEndpointNotSupported | The application isn't supported over the /common or /consumers endpoints. | App registrations and credentials |
| AADSTS100007 | Microsoft Entra Regional ONLY supports auth either for MSIs OR for requests from MSAL using SN+I for 1P apps or 3P apps in Microsoft infrastructure tenants. | Tokens, sessions and requests | |
| AADSTS120000 | PasswordChangeIncorrectCurrentPassword | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120002 | PasswordChangeInvalidNewPasswordWeak | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120003 | PasswordChangeInvalidNewPasswordContainsMemberName | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120004 | PasswordChangeOnPremComplexity | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120005 | PasswordChangeOnPremSuccessCloudFail | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120008 | PasswordChangeAsyncJobStateTerminated | A non-retryable error has occurred. | Passwords and accounts |
| AADSTS120011 | PasswordChangeAsyncUpnInferenceFailed | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120012 | PasswordChangeNeedsToHappenOnPrem | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120013 | PasswordChangeOnPremisesConnectivityFailure | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120014 | PasswordChangeOnPremUserAccountLockedOutOrDisabled | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120015 | PasswordChangeADAdminActionRequired | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120016 | PasswordChangeUserNotFoundBySspr | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120018 | PasswordChangePasswordDoesnotComplyFuzzyPolicy | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120020 | PasswordChangeFailure | No description in Microsoft's list, only the internal name. | Passwords and accounts |
| AADSTS120021 | PartnerServiceSsprInternalServiceError | No description in Microsoft's list, only the internal name. | Service errors and retries |
| AADSTS130004 | NgcKeyNotFound | The user principal doesn't have the NGC ID key configured. | Devices and single sign-on |
| AADSTS130005 | NgcInvalidSignature | NGC key signature verified failed. | Devices and single sign-on |
| AADSTS130006 | NgcTransportKeyNotFound | The NGC transport key isn't configured on the device. | Devices and single sign-on |
| AADSTS130007 | NgcDeviceIsDisabled | The device is disabled. | Devices and single sign-on |
| AADSTS130008 | NgcDeviceIsNotFound | The device referenced by the NGC key wasn't found. | Devices and single sign-on |
| AADSTS135010 | KeyNotFound | No description in Microsoft's list, only the internal name. | Other |
| AADSTS135011 | Device used during the authentication is disabled. | Devices and single sign-on | |
| AADSTS140000 | InvalidRequestNonce | Request nonce isn't provided. | Tokens, sessions and requests |
| AADSTS140001 | InvalidSessionKey | The session key isn't valid. | Tokens, sessions and requests |
| AADSTS160021 | AppSessionSelectionInvalidSessionNotExist | Application requested a user session that doesn't exist. | App registrations and credentials |
| AADSTS165004 | Actual message content is runtime specific. | Other | |
| AADSTS165900 | InvalidApiRequest | Invalid request. | Tokens, sessions and requests |
| AADSTS220450 | UnsupportedAndroidWebViewVersion | The Chrome WebView version isn't supported. | Devices and single sign-on |
| AADSTS220501 | InvalidCrlDownload | No description in Microsoft's list, only the internal name. | Other |
| AADSTS221000 | DeviceOnlyTokensNotSupportedByResource | The resource isn't configured to accept device-only tokens. | Devices and single sign-on |
| AADSTS230109 | CachedCredentialNonGWAuthNRequestsNotSupported | Backup Auth Service only allows AuthN requests from Microsoft Entra Gateway. | Passwords and accounts |
| AADSTS240001 | BulkAADJTokenUnauthorized | The user isn't authorized to register devices in Microsoft Entra ID. | Devices and single sign-on |
| AADSTS240002 | RequiredClaimIsMissing | The id_token can't be used as urn:ietf:params:oauth:grant-type:jwt-bearer grant. | Federation, SAML and claims |
| AADSTS240003 | Unexpected result from authorize endpoint call. | Other | |
| AADSTS240004 | Authorization code not received from authorize endpoint call. | Tokens, sessions and requests | |
| AADSTS399284 | InboundIdTokenIssuerInvalid | The inbound ID token received in the federation has an invalid issuer. | Federation, SAML and claims |
| AADSTS500011 | InvalidResourceServicePrincipalNotFound | The resource principal named {name} wasn't found in the tenant named {tenant}. | App registrations and credentials |
| AADSTS500014 | InvalidResourceServicePrincipalDisabled | The service principal for resource '{identifier}' is disabled. | App registrations and credentials |
| AADSTS500021 | Access to '{tenant}' tenant is denied. | App registrations and credentials | |
| AADSTS500022 | Access to '{tenant}' tenant is denied. | App registrations and credentials | |
| AADSTS500133 | Assertion isn't within its valid time range. | Devices and single sign-on | |
| AADSTS500141 | The user's redemption is complete but the request was not initiated by the target application. | App registrations and credentials | |
| AADSTS500207 | The account type can't be used for the resource you're trying to access. | App registrations and credentials | |
| AADSTS500208 | The domain is not a valid login domain for the account type - This situation occurs when the user's account does not match the expected account type for the given tenant. | Passwords and accounts | |
| AADSTS500212 | NotAllowedByOutboundPolicyTenant | The user's administrator has set an outbound access policy that doesn't allow access to the resource tenant. | Guests and other tenants |
| AADSTS500213 | NotAllowedByInboundPolicyTenant | The resource tenant's cross-tenant access policy doesn't allow this user to access this tenant. | Guests and other tenants |
| AADSTS501241 | Mandatory Input '{paramName}' missing from transformation ID '{transformId}'. | Federation, SAML and claims | |
| AADSTS501461 | AcceptMappedClaims is only supported for a token audience matching the application GUID or an audience within the tenant's verified domains. | Federation, SAML and claims | |
| AADSTS501481 | The Code_Verifier doesn't match the code_challenge supplied in the authorization request. | Tokens, sessions and requests | |
| AADSTS501491 | InvalidCodeChallengeMethodInvalidSize | Invalid size of Code_Challenge parameter. | Tokens, sessions and requests |
| AADSTS501581 | The selected external provider authentication method configuration does not exist or is not enabled. | Other | |
| AADSTS501621 | ClaimsTransformationTimeoutRegularExpressionTimeout | Regular expression replacement for claims transformation has timed out. | Federation, SAML and claims |
| AADSTS501631 | Regular expression replacement for claims transformation results in too many replacements in the input sourceClaim. | Federation, SAML and claims | |
| AADSTS501632 | Regular expression replacement for claims transformation has too many substitution parameters in the replacement input parameter. | Federation, SAML and claims | |
| AADSTS530032 | BlockedByConditionalAccessOnSecurityPolicy | The tenant admin has configured a security policy that blocks this request. | MFA and Conditional Access |
| AADSTS530034 | DelegatedAdminBlockedDueToSuspiciousActivity | A delegated administrator was blocked from accessing the tenant due to account risk in their home tenant. | Guests and other tenants |
| AADSTS530035 | BlockedBySecurityDefaults | Access has been blocked by security defaults. | MFA and Conditional Access |
| AADSTS650052 | The app needs access to a service (\"{name}\") that your organization \"{organization}\" hasn't subscribed to or enabled. | App registrations and credentials | |
| AADSTS650054 | The application asked for permissions to access a resource that has been removed or is no longer available. | App registrations and credentials | |
| AADSTS650056 | Misconfigured application. | App registrations and credentials | |
| AADSTS650057 | Invalid resource. | App registrations and credentials | |
| AADSTS650059 | The application is not configured for use in the tenant. | App registrations and credentials | |
| AADSTS700005 | InvalidGrantRedeemAgainstWrongTenant | Provided Authorization Code is intended to use against other tenant, thus rejected. | Tokens, sessions and requests |
| AADSTS700011 | UnauthorizedClientAppNotFoundInOrgIdTenant | Application with identifier {appIdentifier} was not found in the directory. | App registrations and credentials |
| AADSTS700016 | UnauthorizedClient_DoesNotMatchRequest | The application wasn't found in the directory/tenant. | App registrations and credentials |
| AADSTS700020 | InteractionRequired | The access grant requires interaction. | Tokens, sessions and requests |
| AADSTS700022 | InvalidMultipleResourcesScope | The provided value for the input parameter scope isn't valid because it contains more than one resource. | App registrations and credentials |
| AADSTS700023 | InvalidResourcelessScope | The provided value for the input parameter scope isn't valid when requesting an access token. | App registrations and credentials |
| AADSTS700025 | InvalidClientPublicClientWithCredential | Client is public so neither 'client_assertion' nor 'client_secret' should be presented. | App registrations and credentials |
| AADSTS700027 | Client assertion failed signature validation. | App registrations and credentials | |
| AADSTS700030 | Invalid certificate - subject name in certificate isn't authorized. | App registrations and credentials | |
| AADSTS700054 | Response_type 'id_token' isn't enabled for the application. | App registrations and credentials | |
| AADSTS700082 | ExpiredOrRevokedGrantInactiveToken | The refresh token has expired due to inactivity. | App registrations and credentials |
| AADSTS700084 | The refresh token was issued to a single page app (SPA), and therefore has a fixed, limited lifetime of {time}, which can't be extended. | App registrations and credentials | |
| AADSTS700229 | ForbiddenTokenType- Only app-only tokens can be used as Federated Identity Credentials for Microsoft Entra issuer. | Federation, SAML and claims | |
| AADSTS750054 | SAMLRequest or SAMLResponse must be present as query string parameters in HTTP request for SAML Redirect binding. | Federation, SAML and claims | |
| AADSTS900144 | The request body must contain the following parameter: '{name}'. | App registrations and credentials | |
| AADSTS900236 | InvalidRequestSamlPropertyUnsupported- The SAML authentication request property '{propertyName}' isn't supported and must not be set. | Federation, SAML and claims | |
| AADSTS900382 | Confidential Client isn't supported in Cross Cloud request. | App registrations and credentials | |
| AADSTS900384 | JWT token failed signature validation. | Tokens, sessions and requests | |
| AADSTS900432 | Confidential Client isn't supported in Cross Cloud request. | App registrations and credentials | |
| AADSTS900561 | BadResourceRequestInvalidRequest | The endpoint only accepts {valid_verbs} requests. | Tokens, sessions and requests |
| AADSTS900612 | Failed to parse provider signing keys - When validating signing keys provided by JWKS endpoint, they are not in the expected format. | App registrations and credentials | |
| AADSTS900971 | No reply address provided. | App registrations and credentials | |
| AADSTS901002 | AADSTS901002: The 'resource' request parameter isn't supported. | App registrations and credentials | |
| AADSTS901011 | NoEmailAddressCollectedFromExternalOidcIDP | No email address was obtained from the external OpenID Connect (OIDC) identity provider. | Federation, SAML and claims |
| AADSTS901012 | EmailAddressCollectedFromExternalOidcIDPNotVerified | No verified email address was obtained from the identity provider. | Federation, SAML and claims |
| AADSTS901014 | NoExternalIdentifierCollectedFromExternalOidcIDP | The external identifier does not exist in the ID token from the external OIDC identity provider. | Federation, SAML and claims |
| AADSTS1000000 | UserNotBoundError | The Bind API requires the Microsoft Entra user to also authenticate with an external IDP, which hasn't happened yet. | Federation, SAML and claims |
| AADSTS1000002 | BindCompleteInterruptError | The bind completed successfully, but the user must be informed. | Tokens, sessions and requests |
| AADSTS1000031 | Application {appDisplayName} can't be accessed at this time. | App registrations and credentials | |
| AADSTS1000104 | XCB2BResourceCloudNotAllowedOnIdentityTenant | Resource cloud {resourceCloud} isn't allowed on identity tenant {identityTenant}. | Guests and other tenants |
| AADSTS5000224 | NotAllowedTenantBlockedTenantFraud | We are sorry, this resource is not available. | Guests and other tenants |
| AADSTS5000819 | InvalidSamlTokenEmailMissingOrInvalid | SAML Assertion is invalid. | Federation, SAML and claims |
| AADSTS5001256 | Failed to complete authentication with external provider due to invalid id_token. | Tokens, sessions and requests | |
| AADSTS7000112 | UnauthorizedClientApplicationDisabled | The application is disabled. | Passwords and accounts |
| AADSTS7000114 | Application 'appIdentifier' isn't allowed to make application on-behalf-of calls. | App registrations and credentials | |
| AADSTS7000215 | Invalid client secret is provided. | App registrations and credentials | |
| AADSTS7000218 | The request body must contain the following parameter: 'client_assertion' or 'client_secret'. | App registrations and credentials | |
| AADSTS7000222 | InvalidClientSecretExpiredKeysProvided | The provided client secret keys are expired. | App registrations and credentials |
| AADSTS7500514 | A supported type of SAML response was not found. | Federation, SAML and claims | |
| AADSTS7500529 | The value 'SAMLId-Guid' isn't a valid SAML ID - Microsoft Entra ID uses this attribute to populate the InResponseTo attribute of the returned response. | Federation, SAML and claims | |
| AADSTS9001023 | The grant type isn't supported over the /common or /consumers endpoints. | Tokens, sessions and requests | |
| AADSTS9002313 | InvalidRequest | Request is malformed or invalid. - The issue arises because there was something wrong with the request to a certain endpoint. | Tokens, sessions and requests |
| AADSTS9002332 | Application '{principalId}'({principalName}) is configured for use by Microsoft Entra users only. | Passwords and accounts | |
| AADSTS9002341 | V2Error: invalid_grant | The user is required to permit single sign-On (SSO). | App registrations and credentials |
Frequently asked questions
What does AADSTS mean?
AADSTS codes are the error codes returned by the Microsoft Entra security token service (STS), the part of Microsoft Entra ID that signs people in and issues tokens S01. The number identifies the error. Sign-in logs record it without the AADSTS prefix: as the error code in Microsoft Graph and as ResultType in Log Analytics S04 S05.
Where do I find the full error details?
On the error screen, select More details. It shows the information that finds the failed sign-in in the logs S56, including the Request ID and Correlation ID S40. An admin then opens Entra ID > Monitoring & health > Sign-in logs in the Microsoft Entra admin center S03. They filter by the Correlation ID or Request ID S07 and read the failure reason and the Conditional Access tab S56. Reports Reader is the least privileged role that can do this, and users can see their own sign-ins at mysignins.microsoft.com S06.
Why is my code not listed?
The tool holds every code in Microsoft's published error code reference, checked on the date at the top of the page S01. Microsoft says codes and messages can change at any time and points to its live lookup at login.microsoftonline.com/error for the most current information S01. If you type a code that is not in the reference, the tool links straight to that lookup for it.
How often is this updated?
Monthly, by hand. A script downloads Microsoft's reference and compares it with the codes on this page. It lists new, removed and changed codes for review, and the date of the last check is shown at the top. It is not automatic. New codes appear with Microsoft's description first and get fix notes once they are written and reviewed. Going by the commit history of Microsoft's file S02, the list last changed on 15 October 2026.
Sources
Every figure on this page carries a key that links to an entry below. Retrieved is the date the figure was read from the source for this dataset; the changelog gives the date of the last full check. Sponsor names who paid for the research; a figure with a sponsor is read with that interest in mind. Keys follow the source ledger, so a missing number is a source that was reviewed and not used on this page. Hub-wide rules are on the methodology page.
S01 Microsoft (Microsoft Learn), Microsoft Entra authentication and authorization error codes (learn.microsoft.com)
- Note
- Microsoft's list of AADSTS codes. Every code, internal name and quoted description on the tool comes from its table, parsed from the Markdown source of this page (MicrosoftDocs/entra-docs). 351 distinct codes; AADSTS50147 is listed twice and the first row is kept. The count is ours [DERIVED]: rows in the table.
- Sponsor
- none stated
- Published
- 2025-02-03
- Retrieved
- 2026-11-25
AADSTS50058 is expected before a user signs in
- Verbatim
This is a common error that's expected when a user is unauthenticated and hasn't yet signed in.
The code list, internal names and descriptions
- Verbatim
| AADSTS50105 | EntitlementGrantsNotFound - The signed in user isn't assigned to a role for the signed in app.
AADSTS700016: the app was not found in the tenant, often a wrong identifier or the wrong tenant
- Verbatim
You might have misconfigured the identifier value for the application or sent your authentication request to the wrong tenant.
AADSTS700016: no admin installed the app and no user consented
- Verbatim
This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant.
AADSTS700054: ID tokens must be enabled under implicit grant for the app
- Verbatim
Under Implicit grant and hybrid flows, make sure ID tokens' is selected.
AADSTS7000215: an invalid client secret was sent
- Verbatim
Invalid client secret is provided. Developer error - the app is attempting to sign in without the necessary or correct authentication parameters.
An expired secret has its own code, AADSTS7000222
- Verbatim
InvalidClientSecretExpiredKeysProvided - The provided client secret keys are expired.
AADSTS500011: check the setup with the resource's developers
- Verbatim
Check with the developers of the resource and application to understand what the right setup for your tenant is.
AADSTS54005: retry with a new code or use the refresh token
- Verbatim
OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token.
AADSTS9002313: Microsoft's suggested fix is a trace of the request
- Verbatim
The suggestion to this issue is to get a fiddler trace of the error occurring and looking to see if the request is properly formatted or not.
AADSTS16000: add the account as an external user, or sign in with another account
- Verbatim
This account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Microsoft Entra user account.
AADSTS16000 is common with personal Microsoft accounts in the Microsoft Entra admin center
- Verbatim
This error is fairly common when you try to sign in to Microsoft Entra admin center by using personal Microsoft Account and no directory associated with it.
AADSTS90072: the external account does not exist in the tenant, so it cannot meet the MFA requirement
- Verbatim
The external account that the user signs in with doesn't exist on the tenant that they signed into; so the user can't satisfy the MFA requirements for the tenant.
AADSTS90072 also occurs for synced users with a mismatched ImmutableID
- Verbatim
there is a mismatch in the ImmutableID (sourceAnchor) attribute between Active Directory and Microsoft Entra ID.
AADSTS50126: some of these are expected in every log
- Verbatim
Expect to see some number of these errors in your logs due to users making mistakes.
AADSTS50053: a locked account
- Verbatim
IdsLocked - The account is locked because the user tried to sign in too many times with an incorrect user ID or password.
AADSTS50053: or a blocked malicious IP address
- Verbatim
Or, sign-in was blocked because it came from an IP address with malicious activity.
AADSTS50057: the Active Directory object behind the account is disabled
- Verbatim
The user object in Active Directory backing this account has been disabled.
AADSTS50055: the user is offered a reset or can ask an admin
- Verbatim
They will be offered the opportunity to reset it, or can ask an admin to reset it
AADSTS50034: typo, not in the tenant, or the wrong tenant
- Verbatim
An application might have chosen the wrong tenant to sign into, and the currently logged in user was prevented from doing so since they did not exist in your tenant.
AADSTS50076: retry with a new authorize request
- Verbatim
Retry with a new authorize request for the resource.
AADSTS50079: register security info, or get the claim from the federated IdP
- Verbatim
Either a managed user needs to register security info to complete multifactor authentication, or a federated user needs to get the multifactor claim from the federated identity provider.
AADSTS50158: terms of use or a third-party MFA provider
- Verbatim
(such as terms of use or a third party MFA provider)
AADSTS50158 alone is not a failure
- Verbatim
This code alone doesn't indicate a failure on your users' part to sign in.
AADSTS53003: no token was issued
- Verbatim
The access policy does not allow token issuance.
AADSTS530032 in the reference: a tenant security policy
- Verbatim
The tenant admin has configured a security policy that blocks this request.
Security defaults have their own code, AADSTS530035
- Verbatim
BlockedBySecurityDefaults - Access has been blocked by security defaults.
AADSTS50097: device authentication is required
- Verbatim
DeviceAuthenticationRequired - Device authentication is required.
AADSTS135011: the device is disabled
- Verbatim
Device used during the authentication is disabled.
AADSTS81010: the Kerberos ticket expired or is invalid
- Verbatim
Seamless SSO failed because the user's Kerberos ticket has expired or is invalid.
AADSTS50140: an expected part of the sign-in flow
- Verbatim
This is an expected part of the sign in flow, where a user is asked if they want to remain signed into their current browser to make further logins easier.
AADSTS50058: the user is not signed in
- Verbatim
Session information isn't sufficient for single-sign-on. This means that a user isn't signed in.
AADSTS50058 with prompt=none
- Verbatim
This error might be returned to the application if prompt=none is specified.
Codes can change at any time
- Verbatim
Error codes are subject to change at any time in order to provide more granular error messages
For the most current information Microsoft points to its live lookup
- Verbatim
Error codes and messages are subject to change. For the most current info, take a look at the
Microsoft's live lookup takes the code in the URL
- Verbatim
You can also link directly to a specific error by adding the error code number to the URL
S02 Microsoft (MicrosoftDocs/entra-docs on GitHub), Commit history of reference-error-codes.md (github.com)
- Note
- The date Microsoft last changed the error code list: the newest commit to the file behind S01, read from the GitHub API on the check date.
- Sponsor
- none stated
- Published
- 2026-10-15
- Retrieved
- 2026-11-25
- Verbatim
"date":"2026-10-15T17:46:29Z"
S03 Microsoft (Microsoft Learn), Sign-in logs in Microsoft Entra ID (learn.microsoft.com)
- Note
- Where the sign-in logs are in the Microsoft Entra admin center.
- Sponsor
- none stated
- Published
- 2025-11-18
- Retrieved
- 2026-11-25
The sign-in logs path
- Verbatim
Browse to Entra ID > Monitoring & health > Sign-in logs.
S04 Microsoft (Microsoft Learn, Microsoft Graph), signIn resource type (learn.microsoft.com)
- Note
- The Microsoft Graph signIn resource: the property names the generated PowerShell uses.
- Sponsor
- none stated
- Published
- 2025-11-28
- Retrieved
- 2026-11-25
Graph can filter sign-ins on the error code
- Verbatim
Supports $filter (eq) on errorCode property.
correlationId identifies the client's request
- Verbatim
The request ID sent from the client when the sign-in is initiated. Used to troubleshoot sign-in activity.
S05 Microsoft (Microsoft Learn, Azure Monitor), Azure Monitor Logs reference - SigninLogs (learn.microsoft.com)
- Note
- The SigninLogs table in Log Analytics: the columns the generated KQL uses.
- Sponsor
- none stated
- Published
- 2026-08-27
- Retrieved
- 2026-11-25
ResultType holds the error code
- Verbatim
Provides the 5-6 digit error code that's generated during a sign-in event. 0 indicates success; other values are failures.
CorrelationId is sent by the client
- Verbatim
The identifier that's sent from the client when sign-in is initiated.
S06 Microsoft (Microsoft Learn), How to troubleshoot sign-in errors (learn.microsoft.com)
- Note
- Microsoft's guide to isolating a sign-in failure in the sign-in logs.
- Sponsor
- none stated
- Published
- 2025-04-25
- Retrieved
- 2026-11-25
Reports Reader is the least privileged role for the logs
- Verbatim
Reports Reader is the least privileged role required to access the activity logs.
Users can see their own sign-ins
- Verbatim
any user can access their own sign-ins from https://mysignins.microsoft.com.
Wrong credentials: the user needs to try again
- Verbatim
A common failure reason is Error validating credentials due to invalid username or password. The user entered something incorrectly and needs to try again.
An incomplete sign-in leaves this code
- Verbatim
This error code appears for sign-in attempts when the user didn't complete the sign-in process.
S07 Microsoft (Microsoft Learn), Customize and filter activity logs in Microsoft Entra ID (learn.microsoft.com)
- Note
- The filters the sign-in logs offer.
- Sponsor
- none stated
- Published
- 2025-11-18
- Retrieved
- 2026-11-25
Filter by Request ID or another detail
- Verbatim
Either enter a specific detail - such as a Request ID - or select another filter option.
S08 Microsoft (Microsoft Learn), How to use Microsoft Entra Sign-in diagnostics (learn.microsoft.com)
- Note
- The sign-in diagnostic.
- Sponsor
- none stated
- Published
- 2026-04-30
- Retrieved
- 2026-11-25
It finds events by correlationId or requestId
- Verbatim
correlationId or requestId: These details can be found in the error report or the sign-in log details.
Within 48 hours
- Verbatim
Provide a date and time to find sign-in events that occurred within 48 hours.
MFA not from Conditional Access suggests per-user MFA
- Verbatim
If the results showed MFA from a requirement other than Conditional Access, you might have MFA enabled on a per-user basis.
S09 Microsoft (Microsoft Learn), How to analyze activity logs with Microsoft Graph (learn.microsoft.com)
- Note
- Analysing sign-in logs with Microsoft Graph.
- Sponsor
- none stated
- Published
- 2025-07-01
- Retrieved
- 2026-11-25
Filtering sign-ins by correlation ID
- Verbatim
GET https://graph.microsoft.com/v1.0/auditLogs/signIns?$filter=correlationId eq 'CorrelationId'
Sign-in reports need P1 or P2
- Verbatim
Accessing sign-in reports requires a Microsoft Entra ID P1 or P2 license.
S10 Microsoft (Microsoft Learn), Error AADSTS50105: The signed-in user isn't assigned to a role for the application (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-08-20
- Retrieved
- 2026-11-25
Turn assignment off only if it matches your access policy
- Verbatim
Make this change only if it matches your organization's intended access policy.
Other controls still apply
- Verbatim
Other access controls, such as Conditional Access policies and application-specific authorization, still apply.
The cause: assignment required and no app role assignment for the user
- Verbatim
The enterprise application's service principal has Assignment required? set to Yes, and the requesting user doesn't have an app role assignment to the application.
Nested groups do not count
- Verbatim
For predictable access, don't rely on nested group membership. Assign the user directly, or use a group of which the user is a direct member.
Where the setting is
- Verbatim
Browse to Microsoft Entra ID > Enterprise apps > All applications.
Default Access when the app has no named role
- Verbatim
Select an application role. If the application doesn't expose a named role, select Default Access.
Global Administrators are exempt, so test with the affected user
- Verbatim
The assignment requirement doesn't apply to Global Administrators. A Global Administrator can sign in without an assignment, so test with the affected user.
Turning assignment off widens who gets tokens
- Verbatim
Setting Assignment required? to No broadens token eligibility to include unassigned users and applications.
Group assignment needs P1 or P2
- Verbatim
Group-based assignment requires a Microsoft Entra ID P1 or P2 license.
S11 Microsoft (Microsoft Learn), Assign users and groups to an application (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-04-01
- Retrieved
- 2026-11-25
PowerShell cmdlets for user and group assignment
- Verbatim
replace New-EntraUserAppRoleAssignment with New-EntraGroupAppRoleAssignment
S12 Microsoft (Microsoft Learn), Restrict a Microsoft Entra app to a set of users (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-07-08
- Retrieved
- 2026-11-25
Users cannot consent to apps that require assignment
- Verbatim
When an application requires assignment, user consent for that application isn't allowed.
S13 Microsoft (Microsoft Learn), Error AADSTS50011: The redirect URI doesn't match (OpenID Connect and OAuth 2.0) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-15
- Retrieved
- 2026-11-25
The cause: the redirect URI in the app and the app registration differ
- Verbatim
This error occurs if the redirect URI (reply URL) configured in the application (code) and the Microsoft Entra app registration don't match.
Add the URI from the error under Authentication
- Verbatim
On the app registration page, select Authentication. In the Platform configurations section, select Add URI to add the redirect URI displayed in the error message to Microsoft Entra ID.
Wait three to five minutes
- Verbatim
Save the changes and wait three to five minutes for the changes to take effect, and then send the login request again.
No sign-in page after the fix: clear the password cache or use InPrivate
- Verbatim
If you don't see the Microsoft Entra login page, try clearing the password cache from your browser or use InPrivate browsing.
Or fix the app if it sends the wrong URI
- Verbatim
If the redirect URI sent from the application isn't the desired one, you should update your application code or configuration.
S14 Microsoft (Microsoft Learn), How to add a redirect URI to your application (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-05-14
- Retrieved
- 2026-11-25
Redirect URIs live on the Authentication page
- Verbatim
Redirect URIs are configured on the Authentication page in the Microsoft Entra admin center.
Current wording: Add Redirect URI on the Redirect URI configuration tab
- Verbatim
On the Redirect URI configuration tab, select Add Redirect URI.
S15 Microsoft (Microsoft Learn), Error AADSTS50011: The reply URL doesn't match (SAML) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-15
- Retrieved
- 2026-11-25
SAML: the AssertionConsumerServiceURL differs from the Reply URL
- Verbatim
The AssertionConsumerServiceURL value in the SAML request doesn't match the Reply URL value or pattern configured in Microsoft Entra ID.
The right values come from the vendor
- Verbatim
These values depend on what application is being used. You should get the values from the application vendor.
S16 Microsoft (Microsoft Learn), Redirect URI (reply URL) best practices and limitations (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-05-14
- Retrieved
- 2026-11-25
Redirect URIs are case-sensitive
- Verbatim
Redirect URIs are case-sensitive and must match the case of the URL path of your running application.
Avoid wildcard redirect URIs
- Verbatim
Wildcard URIs like https://*.contoso.com may seem convenient, but should be avoided due to security implications.
Tokens go only to registered redirect URIs
- Verbatim
Microsoft Entra login servers only redirect users and send tokens to redirect URIs that have been added to an app registration.
S17 Microsoft (Microsoft Learn), Troubleshoot confidential client applications (MSAL.NET) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-08-26
- Retrieved
- 2026-11-25
AADSTS700016: the registration is in a different tenant from the authority
- Verbatim
The app registration exists in a different tenant than the authority being used.
Check the client ID and tenant ID
- Verbatim
Double-check the ClientId and TenantId in your configuration.
/common and /organizations need a multitenant app
- Verbatim
If using /common or /organizations authority, ensure the app supports multi-tenant access.
On-behalf-of: the downstream API's scopes need consent
- Verbatim
The downstream API scopes haven't been consented to by the user or admin.
Send the secret value, not the secret ID
- Verbatim
Verify the secret value (not the secret ID) is used in your configuration.
Check expiry under Certificates & secrets
- Verbatim
Check that the secret hasn't expired in the Microsoft Entra admin center under Certificates & secrets.
S18 Microsoft (Microsoft Learn), Convert a single-tenant app to multitenant on Microsoft Entra ID (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2024-11-13
- Retrieved
- 2026-11-25
Change Supported account types to any organisational directory
- Verbatim
select the Authentication pane and navigate to the Supported account types section. Change the setting to Accounts in any organizational directory.
Consent creates the service principal in the tenant
- Verbatim
After the admin consents and the service principal is created in the customer's tenant, subsequent sign-in requests don't need the prompt=consent parameter.
S19 Microsoft (Microsoft Learn), Troubleshoot consent issues in Microsoft Entra ID (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-02-04
- Retrieved
- 2026-11-25
With user consent off, an admin must consent
- Verbatim
If Do not allow user consent is selected, users will always receive the "Need admin approval" message. In this case, an admin must perform admin consent.
Stop sending prompt=consent once consent exists
- Verbatim
Once the application obtains consent, make sure the prompt parameter isn't specified. Otherwise, users might always receive a consent error.
Adding permissions is not consent
- Verbatim
Simply adding permissions to an application registration doesn't consent to the permissions.
A resource owned by another tenant must be multitenant
- Verbatim
If the <App-URI-ID> is owned by a different <Tenant-ID>, then the app registration for <App-URI-ID> must be set up as a multi-tenant application.
S20 Microsoft (Microsoft Learn), Grant tenant-wide admin consent to an application (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-03-25
- Retrieved
- 2026-11-25
Admin consent is a sensitive operation
- Verbatim
Granting admin consent on behalf of an organization is a sensitive operation
Review the permissions first
- Verbatim
Carefully review the permissions that the application requires.
Enterprise apps path
- Verbatim
Browse to Entra ID > Enterprise apps > All applications.
App registrations path
- Verbatim
On the Microsoft Entra admin center, browse to Entra ID > App registrations > All applications.
Roles that can grant consent
- Verbatim
Cloud Application Administrator, AI Administrator, or Application Administrator, for granting consent for apps requesting any permission for any API, except Microsoft Graph app roles (application permissions).
The admin consent URL
- Verbatim
https://login.microsoftonline.com/{organization}/adminconsent?client_id={client-id}
S21 Microsoft (Microsoft Learn), Configure how users consent to applications (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-06-24
- Retrieved
- 2026-11-25
Where the user consent setting is
- Verbatim
Browse to Identity > Applications > Enterprise apps > Consent and permissions > User consent settings.
S22 Microsoft (Microsoft Learn), Microsoft identity platform and OAuth 2.0 authorization code flow (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-09
- Retrieved
- 2026-11-25
Fix an invalid scope in the request
- Verbatim
Update the value of the scope parameter in the authentication request to a valid value.
Hybrid flow: enable the ID token implicit grant setting
- Verbatim
In the hybrid flow, this error signals that you must enable the ID token implicit grant setting on the client app registration.
Authorization codes expire after about a minute
- Verbatim
Authorization codes are short lived. Typically, they expire after about 1 minute.
S23 Microsoft (Microsoft Learn), Microsoft identity platform and the OAuth 2.0 client credentials flow (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-30
- Retrieved
- 2026-11-25
Client credentials: the resource's ID URI with /.default, one resource
- Verbatim
should be the resource identifier (application ID URI) of the resource you want, suffixed with .default. All scopes included must be for a single resource.
S24 Microsoft (Microsoft Learn), Microsoft identity platform and OAuth 2.0 On-Behalf-Of flow (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-01-04
- Retrieved
- 2026-11-25
Do not mix .default with delegated scopes
- Verbatim
you must not combine .default with other delegated scopes like User.Read, Mail.Read, profile, or User.ReadWrite.All in the same request. This will result in AADSTS70011 errors
A middle-tier service passes the MFA error back to the client
- Verbatim
The middle-tier service should surface this error to the client application so that the client application can provide the user interaction to satisfy the Conditional Access policy.
S25 Microsoft (Microsoft Learn), Scopes and permissions in the Microsoft identity platform (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-06-25
- Retrieved
- 2026-11-25
Static and dynamic consent cannot be combined
- Verbatim
Clients can't combine static (.default) consent and dynamic consent in a single request.
S26 Microsoft (Microsoft Learn), Microsoft identity platform and implicit grant flow (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-22
- Retrieved
- 2026-11-25
The redirect URI must match exactly, URL-encoded
- Verbatim
It must exactly match one of the redirect URIs you registered in the Microsoft Entra admin center, except it must be URL-encoded.
Implicit grant must be enabled for ID tokens
- Verbatim
must have the corresponding implicit grant flow enabled, by selecting ID tokens and access tokens in the Implicit grant and hybrid flows section.
Microsoft recommends the authorization code flow for new apps
- Verbatim
We strongly recommend that all new applications use the authorization code flow that now supports single-page apps in place of the implicit flow.
S27 Microsoft (Microsoft Learn), Add and manage application credentials in Microsoft Entra ID (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-11-17
- Retrieved
- 2026-11-25
Where to create a client secret
- Verbatim
Select Certificates & secrets > Client secrets > New client secret.
Secrets last 24 months at most
- Verbatim
Client secret lifetime is limited to two years (24 months) or less.
The value is shown once
- Verbatim
Record the client secret Value for use in your client application code. This secret value is never displayed again after you leave this page.
S28 Microsoft (Microsoft Learn), Microsoft Entra recommendation: Renew expiring application credentials (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-04-09
- Retrieved
- 2026-11-25
The recommendation covers credentials expiring within 30 days
- Verbatim
It's on an application registration AND is expiring within the next 30 days.
S29 Microsoft (Microsoft Learn), Error AADSTS7000218 for a confidential client application (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-02-18
- Retrieved
- 2026-11-25
Mobile and desktop redirect URIs make a public client
- Verbatim
A redirect URI of type Mobile and desktop applications classifies the application as a public client.
Flows that expect a confidential client
- Verbatim
A confidential client is expected in certain OAuth2 grant flows, such as the Client Credentials flow, Authorization Code flow, or On-Behalf-Of flow.
A public client holds no secret
- Verbatim
Public client: A client that can't store any secret.
The cause: no secret or assertion in the request
- Verbatim
This issue occurs because the application doesn't provide the credentials (client secret or assertion) that the token endpoint expects.
The fix: include them
- Verbatim
To resolve this issue, include the client secret or assertion in the token request.
A Web redirect URI makes the app a confidential client
- Verbatim
A redirect URI of type Web classifies the application as a confidential client.
The public client setting
- Verbatim
Select Advanced settings > Allow public client flows.
Microsoft's warning about switching to public
- Verbatim
Changing the default client type from confidential to public causes security implications.
S30 Microsoft (Microsoft Learn), Error AADSTS500011: The resource principal was not found in the tenant (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-15
- Retrieved
- 2026-11-25
The resource was never added to the tenant
- Verbatim
The resource application isn't provisioned by the administrator in the tenant.
Or the resource URL is wrong
- Verbatim
The resource URL is not configured correctly.
Check the tenant in the error
- Verbatim
Verify that the tenant ID that appears in the error message is the same as your tenant ID.
S31 Microsoft (Microsoft Learn), Authentication flow support in MSAL (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2024-02-09
- Retrieved
- 2026-11-25
A code can be redeemed once
- Verbatim
The OAuth 2.0 specification requires you use an authorization code to redeem an access token only once.
Frameworks that redeem the code for you
- Verbatim
Keep in mind that some libraries and frameworks request the authorization code for you automatically, and requesting a code manually in such cases will also result in this error.
S32 Microsoft (Microsoft Learn), Authorization codes (MSAL.NET) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-05-22
- Retrieved
- 2026-11-25
Call HandleCodeRedemption so ASP.NET does not redeem again
- Verbatim
this might happen if you don't tell the ASP.NET/Core framework that you have already redeemed the code. For this you need to call context.HandleCodeRedemption()
S33 Microsoft (Microsoft Learn), Error AADSTS50020: User account from identity provider does not exist in tenant (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-15
- Retrieved
- 2026-11-25
The home tenant logs the same failure as 90072
- Verbatim
When an administrator reviews the sign-in logs on the home tenant, a "90072" error code entry indicates a sign-in failure.
Personal accounts reach a tenant with no directory
- Verbatim
you are connected to the Microsoft Services tenant by default. Within the default tenant, there is no linked directory for performing any actions.
Creating an Azure account creates a tenant
- Verbatim
If you aim to have a directory, you must create an Azure account and a new tenant
Single-tenant apps refuse other directories
- Verbatim
If your app registration is set to a single-tenant account type, users from other directories or identity providers can't sign in to that application.
A tenant-specific URL admits only that tenant and its guests
- Verbatim
If you use https://login.microsoftonline.com/<YourTenantNameOrID>, users from other organizations can't access the application. You have to add these users as guests in the tenant that's specified in the request.
Wrong session: try InPrivate or another browser
- Verbatim
Instruct the user to open a new in-private browser session or have the user try to access from a different browser.
Guest never invited
- Verbatim
The guest user who tried to sign in was not invited to the tenant.
No ROPC for personal accounts
- Verbatim
The Microsoft identity platform supports ROPC only within Microsoft Entra tenants, not personal accounts.
Re-created home account: compare creation dates
- Verbatim
The scenario is confirmed if the guest user was created before the home tenant's user account was created.
S34 Microsoft (Microsoft Learn), Quickstart: Add a guest user and send an invitation (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-04-24
- Retrieved
- 2026-11-25
Where to invite a guest
- Verbatim
Select Invite external user from the menu.
S35 Microsoft (Microsoft Learn), Reset redemption status for a guest user (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-04-17
- Retrieved
- 2026-11-25
The reset keeps object ID, groups and app assignments
- Verbatim
reset the user's redemption status and reinvite the user while keeping the user's object ID, group memberships, and app assignments.
Where Reset redemption status is
- Verbatim
On the Overview tab, under My Feed, select the Reset redemption status link in the B2B collaboration tile.
S36 Microsoft (Microsoft Learn), Application configuration options (MSAL) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-05-16
- Retrieved
- 2026-11-25
Apps for external users should avoid /common and /organizations
- Verbatim
If your application is intended for external users, avoid the common and organization endpoints.
S37 Microsoft (Microsoft Learn), Manage cross-tenant access settings for B2B collaboration (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-04-24
- Retrieved
- 2026-11-25
Trust is set per organisation under Organizational settings
- Verbatim
To modify settings for a specific organization, select the Organizational settings tab, find the organization in the list (or add one)
Where cross-tenant access settings are
- Verbatim
Browse to Entra ID > External Identities > Cross-tenant access settings.
Trust MFA from other Microsoft Entra tenants
- Verbatim
Trust multifactor authentication from Microsoft Entra tenants: Select this checkbox to allow your Conditional Access policies to trust MFA claims from external organizations.
S38 Microsoft (Microsoft Learn, Microsoft Teams), Cross-cloud meetings in Microsoft Teams (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-04-03
- Retrieved
- 2026-11-25
The trust applies only to the tenant configured
- Verbatim
This trust only impacts the specific tenant configured in cross tenant access settings
An MFA Conditional Access policy can block cross-cloud users with 90072
- Verbatim
When the tenant hosting a cross-cloud meeting has an Entra Conditional Access Policy configured to enforce Multi-Factor Authentication users may be blocked from signing in to the meeting with error AADSTS90072.
S39 Microsoft (Microsoft Learn, Azure Kubernetes Service), Troubleshoot the BadRequest or InvalidClientSecret error (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-09-22
- Retrieved
- 2026-11-25
Wrong secret, mismatched pair or a deleted credential
- Verbatim
The creation or credential-reset request supplies an incorrect secret or a mismatched client ID/secret pair. An existing cluster can also encounter this error if it still uses a credential deleted from Entra.
S40 Microsoft (Microsoft Learn), Learn about the sign-in log activity details (learn.microsoft.com)
- Note
- What each field in a sign-in log entry means.
- Sponsor
- none stated
- Published
- 2026-03-04
- Retrieved
- 2026-11-25
The correlation ID groups one sign-in session
- Verbatim
The correlation ID groups sign-ins from the same sign-in session.
Collect the Request ID and Correlation ID
- Verbatim
gather the Request ID and Correlation ID to use for further analyzing or troubleshooting.
S41 Microsoft (Microsoft Learn, Azure Monitor), Azure Monitor Logs reference - AADNonInteractiveUserSignInLogs (learn.microsoft.com)
- Note
- The non-interactive sign-in table keeps the error code in a different column.
- Sponsor
- none stated
- Published
- 2026-08-27
- Retrieved
- 2026-11-25
ResultSignature holds the error code there
- Verbatim
Contains the error code, if any, for the sign-in operation.
S42 Microsoft (Microsoft Learn, Microsoft Graph), List signIns (learn.microsoft.com)
- Note
- Listing sign-ins with Microsoft Graph v1.0.
- Sponsor
- none stated
- Published
- 2025-11-04
- Retrieved
- 2026-11-25
Filter with a time range to avoid time-outs
- Verbatim
To avoid having the request time out, apply the $filter parameter with a time range for which to get all sign-ins
v1.0 lists interactive sign-ins
- Verbatim
Sign-ins that are interactive in nature
S43 Microsoft (Microsoft Learn), Analyze activity logs using Log Analytics (learn.microsoft.com)
- Note
- Analysing sign-in logs in Log Analytics.
- Sponsor
- none stated
- Published
- 2026-02-28
- Retrieved
- 2026-11-25
Several records per sign-in
- Verbatim
Log Analytics shows multiple records for a single user sign-in, while the Microsoft Entra ID sign-in logs view displays only one.
S44 Microsoft (Microsoft Learn), Prevent Attacks Using Smart Lockout (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-06-05
- Retrieved
- 2026-11-25
Familiar and unfamiliar locations are counted separately
- Verbatim
Both unfamiliar and familiar locations have separate lockout counters.
Default threshold
- Verbatim
10 failed attempts in Azure Public and Microsoft Azure operated by 21Vianet tenants
Lockout lasts one minute at first
- Verbatim
The lockout period is one minute at first, and longer in subsequent attempts.
Admins can end a lockout without waiting
- Verbatim
An administrator can unlock a user's cloud account if Smart Lockout has locked them out without waiting for the lockout duration to expire.
I forgot my password resets the lockout
- Verbatim
If the user chooses I forgot my password during SSPR, the duration of the lockout is reset to 0 seconds
Where the settings are
- Verbatim
Browse to Entra ID > Authentication methods > Password protection.
Custom values need P1
- Verbatim
Customizing the smart lockout settings with values specific to your organization requires Microsoft Entra ID P1 or higher licenses for your users.
Malicious sign-ins also return 50053
- Verbatim
Microsoft Entra ID blocks these malicious sign-ins by default and returns AADSTS50053 - IdsLocked error code, regardless of the password validity.
S45 Microsoft (Microsoft Learn, Microsoft Entra ID Protection), Remediate risks and unblock users (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-11-17
- Retrieved
- 2026-11-25
Trusted locations only for a known company location
- Verbatim
If the sign-in is performed from a known location for your company, you can add the IP to the trusted list.
The failure reason for a risk block
- Verbatim
Sign-in was blocked by built-in protections due to high confidence of risk.
Trusted locations
- Verbatim
Add the IPs being used to sign in to the Trusted location settings
Legacy protocols
- Verbatim
If the sign-in is performed using a legacy protocol, switching to a modern method unblocks the attempt.
S46 Microsoft (Microsoft Learn), Reset a user's password (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-06-03
- Retrieved
- 2026-11-25
Role needed
- Verbatim
You must have at least the Password Administrator role to reset a user's password.
Where to reset
- Verbatim
Select the user that needs the reset, then select Reset password.
Change at next sign-in
- Verbatim
The user must change the password during the next sign-in process.
Home tenant only
- Verbatim
Unless your tenant is the home directory for a user, you can't reset their password.
Federated domains
- Verbatim
Changing the user password for federated domains isn't supported. In this case, change the user password in the on-premises Active Directory.
S47 Microsoft (Microsoft Learn), Revoke user access in an emergency in Microsoft Entra ID (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-06-19
- Retrieved
- 2026-11-25
Where Account enabled is
- Verbatim
In Properties, clear Account enabled, and then select Save.
The Graph PowerShell switch
- Verbatim
Update-MgUser -UserId $User.Id -AccountEnabled:$false
Azure AD PowerShell is deprecated
- Verbatim
deprecated as of March 30, 2024
Revoke sessions
- Verbatim
On the user Overview page, select Revoke sessions.
S48 Microsoft (Microsoft Learn), Error AADSTS50057 - User account is disabled (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-15
- Retrieved
- 2026-11-25
The cause
- Verbatim
The user object is disabled on the resource tenant.
Ask why first
- Verbatim
Engage the resource tenant owners to determine why the user account is disabled.
Microsoft's re-enable route
- Verbatim
One of the options to re-enable the account is using PowerShell to set the -AccountEnabled parameter to $true, as described in the Set-AzureADUser cmdlet reference.
S49 Microsoft (Microsoft Learn), Microsoft Entra security operations for user accounts (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2023-10-23
- Retrieved
- 2026-11-25
Many failed authentications can mean an attack
- Verbatim
many failed authentications can indicate that a bad actor is trying to obtain access.
Set a baseline threshold
- Verbatim
Define a baseline threshold, and then monitor and adjust to suit your organizational behaviors
MFA interrupts with no success can mean a compromised password
- Verbatim
This could mean the user isn't completing multi-factor authentication (MFA) which could indicate the user's password is compromised and the bad actor is unable to fulfill MFA.
53003 can follow a successful authentication
- Verbatim
Successful authentication, session blocked by Conditional Access.
50097 is listed with the interrupts
- Verbatim
50097, Device authentication is required
S50 Microsoft (Microsoft Learn, Microsoft Entra External ID), Add B2B collaboration users (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-05-08
- Retrieved
- 2026-11-25
Role needed
- Verbatim
Sign in to the Microsoft Entra admin center as at least a User Administrator.
Where to invite
- Verbatim
Select New user > Invite external user from the menu.
S51 Microsoft (Microsoft Learn), Troubleshoot primary refresh token issues on Windows devices (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-02-23
- Retrieved
- 2026-11-25
Password not synced yet
- Verbatim
To acquire a fresh PRT that has the new credentials, wait for the Microsoft Entra synchronization to finish.
Check the UPN
- Verbatim
Make sure that the user is entering the correct UPN.
Check sync
- Verbatim
Make sure that the on-premises user account is being synchronized to Microsoft Entra ID.
S52 Microsoft (Microsoft Learn), Acquire a token to call a web API using username and password (desktop app) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-06-16
- Retrieved
- 2026-11-25
Re-enter the password
- Verbatim
Mitigation: ask the user to re-enter the password
Re-enter the username
- Verbatim
Mitigation: ask the user to re-enter the username.
ROPC cannot do MFA
- Verbatim
Your application cannot use the Username/Password grant.
S53 Microsoft (Microsoft Learn, Azure Virtual Desktop), Troubleshoot single sign-on and Conditional Access for Azure Virtual Desktop - Azure Virtual Desktop (learn.microsoft.com)
- Note
- A support article for Azure Virtual Desktop; its MFA and policy checks apply to any app.
- Sponsor
- none stated
- Published
- 2026-06-25
- Retrieved
- 2026-11-25
Check a method is registered
- Verbatim
Confirm the user has a registered multifactor authentication method.
Per-user MFA
- Verbatim
If per-user multifactor authentication is enabled, disable it and rely on Conditional Access.
Registration
- Verbatim
Have the user register at https://aka.ms/mfasetup, or enroll them through Conditional Access registration campaigns.
530032 is not only security defaults
- Verbatim
This control can be Security Defaults, a Conditional Access policy that blocks access, or another tenant-level restriction. It's not exclusively Security Defaults.
Windows App sign out
- Verbatim
Have the user sign out of the Windows App and sign in again.
Web Account Manager cache
- Verbatim
clear the Web Account Manager cache on the client device.
S54 Microsoft (Microsoft Learn), Developer guidance for Microsoft Entra Conditional Access (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2023-10-23
- Retrieved
- 2026-11-25
Send the claims challenge back
- Verbatim
we catch the error error=interaction_required, and send back the claims challenge to the desktop app.
S55 Microsoft (Microsoft Learn), Combined registration for SSPR and Microsoft Entra multifactor authentication (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-09-11
- Retrieved
- 2026-11-25
Where users register
- Verbatim
Users can go to Security info, or they can select Security info from My Account.
Registration during sign-in
- Verbatim
Users are asked to register when they use a resource that requires multifactor authentication.
S56 Microsoft (Microsoft Learn), Troubleshooting sign-in problems with Conditional Access (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-03-24
- Retrieved
- 2026-11-25
Role
- Verbatim
Sign in to the Microsoft Entra admin center as at least a Reports Reader.
Correlation ID filter
- Verbatim
Correlation ID when you have a specific event to investigate.
The Conditional Access tab
- Verbatim
The Conditional Access tab shows the specific policy or policies that resulted in the sign-in interruption.
Sign-in diagnostic
- Verbatim
The sign-in diagnostic is under Basic info > Troubleshoot Event.
What If
- Verbatim
use the What If tool to troubleshoot Conditional Access policies
Support details
- Verbatim
include the request ID, time, and date from the sign-in event in the incident details.
Locked-out admins
- Verbatim
An admin with access can disable the policy that's affecting your sign-in.
More Details on the error page
- Verbatim
Selecting More Details reveals troubleshooting information that is helpful when searching the Microsoft Entra sign-in events for the specific failure event the user saw
S57 Microsoft (Microsoft Learn), Configure Security Defaults for Microsoft Entra ID (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-10-16
- Retrieved
- 2026-11-25
Where security defaults are
- Verbatim
Browse to Entra ID > Overview > Properties.
S58 Microsoft (Microsoft Learn, Microsoft Entra ID Protection), Microsoft Entra ID Protection for B2B Users (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2025-08-06
- Retrieved
- 2026-11-25
Guest risk is assessed at home
- Verbatim
The user risk for B2B collaboration users is evaluated at their home directory.
Resource tenants cannot dismiss it
- Verbatim
Administrators cannot dismiss or remediate a risky B2B collaboration user in their resource directory.
The guest resets their password
- Verbatim
Go to the Password reset portal and initiate the password reset.
S59 Microsoft (Microsoft Learn, Microsoft Intune), Users can't log on to Windows 10 or Windows 11 computers with multi-app kiosk profile assigned - Intune (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-03-30
- Retrieved
- 2026-11-25
Why kiosks fail
- Verbatim
This issue occurs because the users are targeted by conditional access policies that require user interaction. For example, multi-factor authentication (MFA), or Terms of Use (TOU).
Exclude kiosk users
- Verbatim
exclude the kiosk users from any conditional access policies that require user interaction, such as MFA or TOU.
S60 Microsoft (Microsoft Learn), Manage devices in Microsoft Entra ID using the Microsoft Entra admin center (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-11-12
- Retrieved
- 2026-11-25
Roles
- Verbatim
You must be an Intune Administrator or Cloud Device Administrator to enable or disable a device.
Disabled devices cannot authenticate
- Verbatim
Disabling a device prevents it from authenticating via Microsoft Entra ID.
S61 Microsoft (Microsoft Learn), Microsoft Entra device management FAQ (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-06-15
- Retrieved
- 2026-11-25
Admins can enable it
- Verbatim
If the device was disabled in Microsoft Entra ID, an administrator with sufficient privileges can enable it in the Microsoft Entra admin center.
Hybrid joined devices
- Verbatim
Microsoft Entra hybrid joined devices will be automatically re-enabled during the next sync cycle.
Disabled on-premises
- Verbatim
An administrator disables the computer account on premises, resulting in the device being disabled in Microsoft Entra ID.
S62 Microsoft (Microsoft Learn, Power Automate), Resolve Power Automate Broken Connections (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-03-31
- Retrieved
- 2026-11-25
Ask why the device was disabled
- Verbatim
Contact the tenant administrator to understand why the device was disabled.
A password change breaks connections
- Verbatim
Every time that you update your password, you invalidate the existing connection that uses the old password.
S63 Microsoft (Microsoft Learn), Error code AADSTS50173 - The Provided Grant Has Expired Due to it Being Revoked (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-01-28
- Retrieved
- 2026-11-25
The cause
- Verbatim
This error occurs if the refresh token that's used for authentication is revoked.
Password changes
- Verbatim
The user changes or resets their password.
Admin revocation
- Verbatim
An administrator revokes the refresh token.
Re-authenticate in the app
- Verbatim
On the application that experiences the issues, try to locate an option to reauthenticate or clear any cached token information.
Developers: get a fresh token
- Verbatim
The goal is to request that the user reauthenticate and obtain a fresh token.
S64 Microsoft (Microsoft Learn), Microsoft Entra Connect: Troubleshoot Seamless Single Sign-On (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-09-15
- Retrieved
- 2026-11-25
Corporate network
- Verbatim
The user needs to sign in from a domain-joined device inside your corporate network.
Intranet zone
- Verbatim
is part of the user's Intranet zone settings.
Clock skew
- Verbatim
and that they are within five minutes of each other.
AZUREADSSOACC
- Verbatim
Ensure that the AZUREADSSOACC computer account is present and enabled in each AD forest that you want Seamless SSO enabled.
klist purge
- Verbatim
Purge existing Kerberos tickets from the device by using the klist purge command, and try again.
Ticket lifetime
- Verbatim
Users' Kerberos tickets are typically valid for 10 hours.
S65 Microsoft (Microsoft Learn), Manage the 'Stay signed in' prompt in Microsoft Entra ID (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2026-04-03
- Retrieved
- 2026-11-25
SharePoint and Office features depend on the prompt
- Verbatim
Some features of SharePoint Online and Office 2010 depend on users being able to choose to remain signed in.
Why it is logged
- Verbatim
If a user doesn't act on the Stay signed in? prompt but abandons the sign-in attempt, a sign-in log entry appears in the Microsoft Entra sign-in logs.
Where the setting is
- Verbatim
Browse to Entra ID > Users > User settings.
Turning it off
- Verbatim
You can stop users from seeing the interrupt by setting the Show option to remain signed in setting to No in the user settings.
For some users
- Verbatim
persistent browser session controls in Conditional Access
S66 Microsoft (Microsoft Learn), Single sign-on (MSAL.js) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2023-10-23
- Retrieved
- 2026-11-25
Blocked third-party cookies
- Verbatim
This won't work in browsers that block third-party cookies such as Safari
Fall back to interactive sign-in
- Verbatim
To resolve the error, the user must create an interactive authentication request using the loginPopup() or loginRedirect()
S67 Microsoft (Microsoft Learn), Issues on Internet Explorer & Microsoft Edge (MSAL.js) (learn.microsoft.com)
- Sponsor
- none stated
- Published
- 2023-10-23
- Retrieved
- 2026-11-25
Security zones
- Verbatim
the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint
S68 Microsoft (login.microsoftonline.com), Microsoft's live error code lookup (login.microsoftonline.com)
- Note
- The lookup Microsoft's error code reference points to. Used only where it adds to the reference: its text for 50053, 50076, 50097 and 530032. Read on 2026-11-25; the per-code links on this tool go to it.
- Sponsor
- none stated
- Published
- not stated
- Retrieved
- 2026-11-25
50053: one code hides which block fired
- Verbatim
Only one error code is used to prevent an attacker from distinguishing between the states.
50076: where the MFA requirement can come from
- Verbatim
There could be multiple things requiring multi-factor, e.g. Conditional Access policies, per-user enforcement, requested by client, among others.
50097 is an interrupt, not an error
- Verbatim
This is not an error - this is an interrupt that triggers device authentication when required
530032 in the live lookup: risk in the home tenant
- Verbatim
User blocked due to risk on home tenant.
S69 Microsoft (Microsoft Learn, Microsoft Graph PowerShell), Get-MgAuditLogSignIn (Microsoft.Graph.Reports) (learn.microsoft.com)
- Note
- The cmdlet the generated PowerShell uses; its -All switch returns every page of results.
- Sponsor
- none stated
- Published
- 2026-10-02
- Retrieved
- 2026-11-25
-All lists all pages
- Verbatim
-All List all pages.
S70 Microsoft (Microsoft Learn, Microsoft Graph), signInStatus resource type (learn.microsoft.com)
- Note
- The status of a sign-in in Microsoft Graph: errorCode and failureReason, which the generated PowerShell selects.
- Sponsor
- none stated
- Published
- 2026-07-04
- Retrieved
- 2026-11-25
errorCode holds the AADSTS number
- Verbatim
Provides the 5-6 digit error code that's generated during a sign-in failure.
failureReason holds the reason
- Verbatim
Provides the error message or the reason for failure for the corresponding sign-in activity.
S71 Microsoft (Microsoft Learn), Enable per-user multifactor authentication (learn.microsoft.com)
- Note
- Microsoft's preference for Conditional Access over per-user MFA; added after the expert review of 2026-11-26.
- Sponsor
- none stated
- Published
- 2025-07-13
- Retrieved
- 2026-11-26
Conditional Access is the best way to require MFA
- Verbatim
The best way to protect users with Microsoft Entra MFA is to create a Conditional Access policy.
S72 Microsoft (Microsoft Learn), Manage emergency access admin accounts (learn.microsoft.com)
- Note
- Emergency access accounts for admins locked out by a policy; added after the expert review of 2026-11-26.
- Sponsor
- none stated
- Published
- 2026-06-05
- Retrieved
- 2026-11-26
Exclude emergency access accounts from blocking policies
- Verbatim
Exclude emergency access accounts from Conditional Access policies that block or restrict sign-in.
S73 Microsoft (Microsoft Learn, Microsoft Entra External ID), Cross-tenant access overview (learn.microsoft.com)
- Note
- What trusting MFA from another tenant does; added after the expert review of 2026-11-26.
- Sponsor
- none stated
- Published
- 2026-10-13
- Retrieved
- 2026-11-26
Trusted MFA is not asked for again
- Verbatim
users who already completed MFA in their home tenants don't have to complete MFA again in your tenant.
S74 Microsoft (Microsoft Learn, Azure Monitor), Azure Monitor Logs reference: AADServicePrincipalSignInLogs (learn.microsoft.com)
- Note
- The table for apps signing in as themselves (service principals): the query on the pages for app-only codes.
- Sponsor
- none stated
- Published
- 2026-08-28
- Retrieved
- 2026-11-25
ResultSignature holds the error code
- Verbatim
Contains the error code, if any, for the sign-in operation
Figures marked derived are computed from the sourced figures beside them; the formula is stated in the text.
Cite this page
Our own text on this page (titles, causes, fix steps, queries) is published under CC BY 4.0; link back to this page. The quoted descriptions and internal names are Microsoft's, from Microsoft Learn, and are not covered by that licence.
- Plain text
Sysprobs Data (2026). Entra ID AADSTS Error Code Lookup. Edited by Dinesh Kumar. https://sysprobs.com/data/tools/aadsts-error-lookup/ (updated 25 November 2026, accessed [date accessed]).- HTML
- APA
Sysprobs Data. (2026, November 25). Entra ID AADSTS Error Code Lookup. Retrieved [date accessed], from https://sysprobs.com/data/tools/aadsts-error-lookup/
Cite the lookup by name with a link to this page. Code descriptions are Microsoft's, from the Microsoft Entra error code reference on Microsoft Learn; the cause and fix notes are Sysprobs Data's own.
Changelog
- : First version. All 351 AADSTS codes in Microsoft's reference, checked on 25 November 2026. Our own cause and fix notes for 30 codes. A reader for pasted sign-in errors, with ready-made sign-in log queries.
