Library

Guides Quick Fixes Scripts Find a Guide

Tools

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

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment

Opens on Sign-in Errors (42 common codes). Search and the guided path cover all 171. Links like ?cat=lib:mfa, ?code=53003 or ?path=signin open a filtered view. A situation filters the same list; a search or category chip clears it.

CodeWhat it meansHow to fix it
AADSTS16000 InteractionRequiredAccounts & tenants

An InteractionRequired interrupt: Microsoft's official lookup says multiple identities were available or the selected account isn't supported, and that this is not necessarily a failure. The official error reference also documents the common case where the chosen account doesn't exist in the target tenant (often a personal Microsoft account, or a guest who hasn't been invited).

Have the user sign out and sign in with an account that exists in this tenant. If they should have access, add them as a member or invite them as a guest. If this only appeared as an account picker, completing the sign-in with the right account is enough. Details → Guide →

AADSTS50011 InvalidReplyToApps & consent

The reply (redirect) URL is missing, misconfigured, or does not match a reply URL registered for the app.

Add or correct the redirect URI in the app registration (Authentication) so it exactly matches what the app sends, including scheme, host, port, and path. Details → Guide →

AADSTS50020 UserUnauthorizedAccounts & tenants

The user's account from their identity provider doesn't exist in this tenant, so it can't access the app here.

Invite the user as a guest (B2B) or have them sign in with an account that belongs to this tenant. For multi-tenant apps, check the app is using the right authority (common vs. tenant). Details → Guide →

AADSTS50034 UserAccountNotFoundAccounts & tenants

The user account isn't in the directory. Usually a typo in the username, or the app sent the user to the wrong tenant.

Check the UPN for typos and confirm the user exists (and has synced, if hybrid). If the app targets the wrong tenant, fix the app's tenant/authority setting. Details →

AADSTS50053 IdsLocked / malicious IPCredentials & passwords

Either the account is locked by Smart Lockout after too many bad passwords, or the sign-in came from an IP address flagged for malicious activity.

Check the sign-in log's failure reason to see which. For lockout, wait for the lockout period or reset the password, and look for password-spray attempts. For a malicious IP, investigate the source. Details →

AADSTS50055 InvalidPasswordExpiredPasswordCredentials & passwords

The user's password has expired.

Have the user reset it (self-service password reset if enabled) or reset it as an admin. Consider whether a password expiration policy is still needed. Details →

AADSTS50057 UserDisabledAccounts & tenants

The user account is disabled.

Re-enable the account in Entra (or in on-premises AD for synced users) if access is intended. If it's a leaver, this is working as designed. Details →

AADSTS50058 UserInformationNotProvidedSessions & tokensUsually safe to ignore

There wasn't enough session information for single sign-on, meaning the user isn't signed in yet. Very common during silent sign-in attempts and usually harmless.

Usually no action. If the user really can't sign in, have them sign in interactively, and check browser third-party cookie settings for SSO-heavy apps. Details →

AADSTS50072 UserStrongAuthEnrollmentRequiredInterruptMFA

The user needs to enroll for second factor authentication (interactive).

Have the user complete MFA registration at aka.ms/mysecurityinfo (opens in a new tab). For new hires, a Temporary Access Pass can let them register securely. Details → Guide →

AADSTS50074 UserStrongAuthClientAuthNRequiredInterruptMFA

Strong authentication (MFA) was required and the user didn't pass the MFA challenge.

Check that the user has a working MFA method registered and that prompts are reaching them. Repeated unexplained prompts can indicate someone else has the password. Details → Guide →

AADSTS50076 UserStrongAuthClientAuthNRequiredMFAUsually a normal MFA step

MFA is required (because of a Conditional Access policy, per-user MFA, or a new location) and the request didn't include it. Typically an interrupt before the MFA prompt, not a real failure.

Usually no action. If the user can't complete it, confirm they have a registered method. If a legacy client is involved, it can't do MFA: move the user to a modern client. Details → Guide →

AADSTS50079 UserStrongAuthEnrollmentRequiredMFA

The user must register security info for MFA before they can continue.

Have the user complete registration at aka.ms/mysecurityinfo (opens in a new tab). For new hires, issue a Temporary Access Pass so they can register securely. Details → Guide →

AADSTS50097 DeviceAuthenticationRequiredConditional Access & devices

Device authentication is required.

This is often an expected interrupt while the device authenticates. If the sign-in does not continue, confirm the device is Entra joined or hybrid joined and have the user try again from that device. Details → Guide →

AADSTS50105 EntitlementGrantsNotFoundApps & consent

The user isn't assigned to the app, and the app requires assignment.

Assign the user (or a group they're in) to the enterprise application under Users and groups, or turn off 'Assignment required?' if everyone should have access. Details → Guide →

AADSTS50125 PasswordResetRegistrationRequiredInterruptCredentials & passwords

Sign-in was interrupted because of a password reset or password registration entry. Microsoft says the next interactive sign-in should ask the user for this information, and the app should trigger that sign-in.

Have the user start an interactive sign-in and complete the password reset or registration prompt. If they cannot, reset the password as an admin or point them to self-service password reset if it is enabled. Details →

AADSTS50126 InvalidUserNameOrPasswordCredentials & passwords

Invalid username or password. Some of these are normal typos.

A few failures are expected. A burst across many accounts or from unfamiliar IPs suggests password spray: block legacy authentication and require MFA. Details → Guide →

AADSTS50129 DeviceIsNotWorkplaceJoinedConditional Access & devices

The device is not workplace joined, and workplace join is required to register the device.

Have the user join or register the device to Microsoft Entra ID (workplace join) and try again. In the sign-in logs, check Device info and the Conditional Access tab. Details → Guide →

AADSTS50131 ConditionalAccessFailedConditional Access & devices

Conditional Access failed. Microsoft lists this for various Conditional Access errors, such as a Windows device that is not in the required state, a request blocked due to suspicious activity, or an access or security policy decision. The official lookup message can include: device is not in required device state.

Open the failed sign-in, then read the Failure reason, Additional Details, Device info, and Conditional Access tabs to see which condition or policy applied. Fix the device state or policy result that the log shows. Details → Guide →

AADSTS50133 SsoArtifactRevokedSessions & tokens

The session is no longer valid because the password expired or was recently changed.

Have the user sign in again with the new password. Expected after a password reset. Details →

AADSTS50140 KmsiInterruptSessions & tokensUsually safe to ignore

The 'Stay signed in?' (Keep me signed in) prompt interrupted the sign-in. Normal part of the flow.

No action needed. It appears as an interrupt in logs, not a real failure. Details →

AADSTS50155 DeviceAuthenticationFailedConditional Access & devices

Device authentication failed for this user. Microsoft's official reference and lookup do not add a more specific cause, so use the sign-in log to see what failed.

In the sign-in logs, open the event and check Failure reason, Additional Details, Authentication Details, and Device info. Confirm the device is still registered or joined in Entra ID, then have the user retry from a known-good joined or registered device. Details → Guide →

AADSTS50158 External security challenge not satisfiedMFA

An external security challenge wasn't satisfied yet, such as a third-party MFA provider (custom controls or external authentication methods) or terms of use.

Usually an interrupt. If it persists, check the external MFA provider's configuration and the user's enrollment there. Details →

AADSTS50173 The provided grant has expired due to it being revokedSessions & tokens

The provided grant has expired because it was revoked, so a fresh token is needed. The user might have changed or reset their password. The grant was issued on a time that is earlier than the user's TokensValidFrom date.

Have the user sign out and sign in again, or use the app's option to reauthenticate and clear a cached token. If an admin revoked sessions, that is expected until the user signs in again. Details → Guide →

AADSTS50199 CmsiInterruptSessions & tokensUsually safe to ignore

For security reasons, user confirmation is required for this request. Officially this is often an interrupt, not a failure: the user is asked to confirm that this is the app they intended to sign into, which helps prevent spoofing. It is shown for scheme redirects in mobile browsers, and can appear when a system webview requests a token for a native application.

Usually no action. Have the user confirm the app name and complete the prompt. If this repeats in a native or mobile app, the app developer should review the redirect URI against Microsoft's documented safe list. Details → Guide →

AADSTS53000 DeviceNotCompliantConditional Access & devices

A Conditional Access policy requires a compliant device, and this device isn't compliant (or isn't enrolled in Intune).

Related issue Intune check-in delays while a Windows security update installs (Workaround available)

Check the device in Intune for failing compliance settings, or enroll it. New devices may need a restart and sync before reporting compliant. Details → Guide →

AADSTS53001 DeviceNotDomainJoinedConditional Access & devices

A Conditional Access policy requires a Microsoft Entra hybrid joined device, and this device isn't.

Confirm the device is joined to on-prem AD and registered in Entra (dsregcmd /status shows DomainJoined and AzureAdJoined = YES). Details → Guide →

AADSTS53002 ApplicationUsedIsNotAnApprovedAppConditional Access & devices

The app being used isn't on the approved client app list required by Conditional Access.

Have the user use an approved Microsoft app (for example Outlook mobile instead of the built-in mail app). Details → Guide →

AADSTS53003 BlockedByConditionalAccessConditional Access & devices

A Conditional Access policy blocked token issuance.

Open the sign-in log entry → Conditional Access tab to see which policy applied and why. Adjust the policy or the user's situation (location, client app, device). Details → Guide →

AADSTS53004 ProofUpBlockedDueToRiskMFA

The official name is ProofUpBlockedDueToRisk. Microsoft's official lookup message is that the user cannot configure multifactor authentication methods due to suspicious activity. The official error reference also says the user needs to complete MFA registration before accessing the content.

Do not ignore the risk signal. In the sign-in logs, read Failure reason and Additional Details, then review the user's risk in Microsoft Entra ID Protection. After the activity is understood and the risk is remediated through official ID Protection steps, the user can complete MFA registration at aka.ms/mysecurityinfo (opens in a new tab). Details → Guide →

AADSTS54005 OAuth2 authorization code was already redeemedApps & consent

The OAuth2 authorization code was already redeemed. Retry with a new valid code, or use an existing refresh token.

The app should request a new authorization code and not reuse one that was already exchanged. End users can usually just sign in again. Details → Guide →

AADSTS65001 DelegationDoesNotExistApps & consent

The user or an admin hasn't consented to the app's requested permissions.

Have the user sign in interactively to consent (if user consent is allowed) or grant admin consent under Enterprise applications → Permissions. Use the admin consent workflow for requests. Details → Guide →

AADSTS70011 InvalidScopeApps & consent

The scope requested by the app is invalid: the request has no 'scope' parameter, or the value sent isn't a valid scope.

This is an app configuration error. The developer should send a valid Microsoft identity platform scope (for example Microsoft Graph or the app's application ID URI plus a permission) and include the scope parameter in the token request. Details → Guide →

AADSTS70043 BadTokenDueToSignInFrequencySessions & tokens

The refresh token expired or became invalid because of a Conditional Access sign-in frequency setting.

Expected behavior: the user needs to sign in again. If it's happening too often, review the policy's sign-in frequency. Details → Guide →

AADSTS90072 PassThroughUserMfaErrorAccounts & tenants

The external account the user signed in with doesn't exist in this tenant, so they can't satisfy its MFA requirements. Can also happen with an ImmutableID (sourceAnchor) mismatch for synced users.

Invite the user as a guest, or have them use the right account. For synced users, check for an ImmutableID mismatch between AD and Entra. Details → Guide →

AADSTS90094 AdminConsentRequiredApps & consent

Administrator consent is required for the permissions the app is requesting.

Review the requested permissions, then grant admin consent if appropriate, or decline. Enable the admin consent workflow so users can request it. Details → Guide →

AADSTS500011 InvalidResourceServicePrincipalNotFoundApps & consent

The resource (API) the app requested wasn't found in the tenant, often because it was never added/consented or the request went to the wrong tenant.

Confirm the resource URI/App ID and tenant. Grant admin consent to add the resource's service principal if it's a third-party API. Details → Guide →

AADSTS500121 Authentication failed during strong authentication requestMFA

Authentication failed during the strong authentication request. Officially, the user didn't complete the MFA prompt — they may have cancelled, timed out, or have a problem with their authentication setup. Microsoft also notes this often appears when MFA setup was not finished.

Have the user sign in again and complete the MFA prompt. Check the sign-in log's Failure reason, Additional Details, and Authentication Details tabs. If they could not complete setup, point them to aka.ms/mysecurityinfo (opens in a new tab) or issue a Temporary Access Pass. Details → Guide →

AADSTS530003 Device required to be managedConditional Access & devices

'Your device is required to be managed to access this resource.' A Conditional Access device requirement (compliant or hybrid joined) wasn't met, often from Azure CLI, PowerShell, or other tools on an unmanaged machine. Not listed in Microsoft's main error reference, but common in practice.

Sign in from a managed device (or enroll this one in Intune). Device code flow can't pass device-state controls, so use a browser or broker sign-in on a managed device, or a service principal/managed identity for automation. Check the sign-in log's Conditional Access tab for the policy. Details → Guide →

AADSTS700016 UnauthorizedClient_DoesNotMatchRequestApps & consent

The application (client ID) wasn't found in the tenant. It hasn't been added/consented here, the client ID is wrong, or the request went to the wrong tenant.

Check the application (client) ID and tenant ID in the app's config. For third-party apps, an admin may need to consent to add the app to the tenant. Details → Guide →

AADSTS700054 Response_type id_token isn't enabled for the applicationApps & consent

The application requested an ID token from the authorization endpoint, but ID token implicit grant is not enabled for the app.

In Entra admin center → Entra ID → App registrations → the app → Authentication, under Implicit grant and hybrid flows, select ID tokens if this flow is intentional. Prefer an authorization code flow if you do not need implicit grant. Details → Guide →

AADSTS7000215 Invalid client secret providedApps & consent

The app sent a client secret that isn't valid for this app registration. This is a developer configuration error. Microsoft's lookup calls out a common mix-up: sending the secret ID instead of the secret value.

In the app registration, create a new client secret (or use a certificate), update the app's configuration with the new value, and remove old secrets that are no longer valid. Do not put secrets in client-side or public apps. Details → Guide →

AADSTS7000218 Missing client_assertion or client_secretApps & consent

The token request body must include client_assertion or client_secret. Common when a flow meant for public clients (like ROPC or device code) is used with an app registered as confidential.

In the app registration → Authentication, enable 'Allow public client flows' if the app is a public client, or have the app send its secret/certificate. Details →

Browse all codes by category

The decoder above searches all 171 codes. The category pages explain them in 11 groups.

Tips: Some codes (50058, 50076, 50140, 50158) are interrupts. They show up in sign-in logs as failures but are a normal step in the flow. Always read the Failure reason, Additional details, and Conditional Access tabs of the log entry. Descriptions are summarized from Microsoft's AADSTS error code reference (opens in a new tab); for any code not listed, use login.microsoftonline.com/error (opens in a new tab).
Want the investigation steps? See Common Sign-In Error Codes and What They Mean.

Sorted this one? Get ahead of the next.

Short notes on Entra sign-in and Conditional Access changes, before they turn into tickets.

Email only. Unsubscribe anytime.