Microsoft error codes
Search by code or error message to find official explanations and troubleshooting or diagnostic links.
Search runs in your browser. The same number can have different meanings in different products.
Microsoft Code
3,837 results- AADSTS5010250102Unable to load CustomClaimsTransformer '{type}' was specified for principal '{principalId}'.
Unable to load CustomClaimsTransformer '{type}' was specified for principal '{principalId}'.
MicrosoftMicrosoft Entra ID - AADSTS5010350103There was an error transforming the claims for the token: {errorMessage}
There was an error transforming the claims for the token: {errorMessage}
MicrosoftMicrosoft Entra ID - AADSTS5010550105EntitlementGrantsNotFound
EntitlementGrantsNotFound - The signed in user isn't assigned to a role for the signed in app. Assign the user to the app. To learn more, see the troubleshooting article for error AADSTS50105.
MicrosoftMicrosoft Entra ID - AADSTS5010750107The requested federation realm object '{name}' doesn't exist. Application error
The requested federation realm object '{name}' doesn't exist. Application error - the login request was malformed and couldn't be matched with an existing authentication endpoint or instance.
MicrosoftMicrosoft Entra ID - AADSTS5010850108Claims transformation configuration could not be retrieved.
Claims transformation configuration could not be retrieved.
MicrosoftMicrosoft Entra ID - AADSTS5010950109Claim transformation is unknown from configuration.
Claim transformation is unknown from configuration.
MicrosoftMicrosoft Entra ID - AADSTS5011150111Unknown claim transformation was asked to be applied.
Unknown claim transformation was asked to be applied.
MicrosoftMicrosoft Entra ID - AADSTS5011750117Failed to deserialize policy specified in the request's claim parameter.
Failed to deserialize policy specified in the request's claim parameter.
MicrosoftMicrosoft Entra ID - AADSTS5012050120Unknown credential type, issue with the JWT header. Contact the tenant admin.
Unknown credential type, issue with the JWT header. Contact the tenant admin.
MicrosoftMicrosoft Entra ID - AADSTS5012350123Unknown claims transformation method '{method}' was specified for principal '{principalId}'.
Unknown claims transformation method '{method}' was specified for principal '{principalId}'.
MicrosoftMicrosoft Entra ID - AADSTS5012450124Invalid regular expression configured for claims transformation for this application
Invalid regular expression configured for claims transformation for this application. Contact your tenant admin to fix the claims mapping configuration. See Customize SAML token claims
MicrosoftMicrosoft Entra ID - AADSTS501241501241Mandatory Input '{paramName}' missing from transformation ID '{transformId}'
Mandatory Input '{paramName}' missing from transformation ID '{transformId}'. This error is returned while Microsoft Entra ID is trying to build a SAML response to the application. NameID claim or NameIdentifier is mandatory in SAML response and if Microsoft Entra ID failed to get source attribute for NameID claim, it returns this error. As a resolution, ensure that you add claim rules. To add claim rules, sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator, and then browse to Entra ID > Enterprise apps. Select your application, select Single Sign-On and then in User Attributes & Claims enter the Unique User Identifier (Name ID).
MicrosoftMicrosoft Entra ID - AADSTS5012550125PasswordResetRegistrationRequiredInterrupt
PasswordResetRegistrationRequiredInterrupt - Sign-in was interrupted because of a password reset or password registration entry.
MicrosoftMicrosoft Entra ID - AADSTS5012650126InvalidUserNameOrPassword
InvalidUserNameOrPassword - Error validating credentials due to invalid username or password. The user didn't enter the right credentials. Expect to see some number of these errors in your logs due to users making mistakes.
MicrosoftMicrosoft Entra ID - AADSTS5012750127BrokerAppNotInstalled
BrokerAppNotInstalled - User needs to install a broker app to gain access to this content.
MicrosoftMicrosoft Entra ID - AADSTS5012850128Invalid domain name
Invalid domain name - No tenant-identifying information found in either the request or implied by any provided credentials.
MicrosoftMicrosoft Entra ID - AADSTS5012950129DeviceIsNotWorkplaceJoined
DeviceIsNotWorkplaceJoined - Workplace join is required to register the device.
MicrosoftMicrosoft Entra ID - AADSTS5013050130The claim value(s) '{value}' cannot be interpreted as known auth method(s).
The claim value(s) '{value}' cannot be interpreted as known auth method(s).
MicrosoftMicrosoft Entra ID - AADSTS5013150131ConditionalAccessFailed
ConditionalAccessFailed - Indicates various Conditional Access errors such as bad Windows device state, request blocked due to suspicious activity, access policy, or security policy decisions.
MicrosoftMicrosoft Entra ID - AADSTS5013250132SsoArtifactInvalidOrExpired
SsoArtifactInvalidOrExpired - The session isn't valid due to password expiration or recent password change.
MicrosoftMicrosoft Entra ID - AADSTS5013350133SsoArtifactRevoked
SsoArtifactRevoked - The session isn't valid due to password expiration or recent password change.
MicrosoftMicrosoft Entra ID - AADSTS5013450134DeviceFlowAuthorizeWrongDatacenter
DeviceFlowAuthorizeWrongDatacenter - Wrong data center. To authorize a request that was initiated by an app in the OAuth 2.0 device flow, the authorizing party must be in the same data center where the original request resides.
MicrosoftMicrosoft Entra ID - AADSTS5013550135PasswordChangeCompromisedPassword
PasswordChangeCompromisedPassword - Password change is required due to account risk.
MicrosoftMicrosoft Entra ID - AADSTS5013650136RedirectMsaSessionToApp
RedirectMsaSessionToApp - Single MSA session detected.
MicrosoftMicrosoft Entra ID - AADSTS5013750137Password needs to be changed due to security policy rule.
Password needs to be changed due to security policy rule.
MicrosoftMicrosoft Entra ID - AADSTS5013850138Invalid encryption key environment.
Invalid encryption key environment.
MicrosoftMicrosoft Entra ID - AADSTS5013950139SessionMissingMsaOAuth2RefreshToken
SessionMissingMsaOAuth2RefreshToken - The session is invalid due to a missing external refresh token.
MicrosoftMicrosoft Entra ID - AADSTS5014050140KmsiInterrupt
KmsiInterrupt - This error occurred due to "Keep me signed in" interrupt when the user was signing-in. 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. For more information, see The new Microsoft Entra sign-in and “Keep me signed in” experiences rolling out now!. You can open a support ticket with Correlation ID, Request ID, and Error code to get more details.
MicrosoftMicrosoft Entra ID - AADSTS5014150141Protected key isn't intended for the authenticated user.
Protected key isn't intended for the authenticated user.
MicrosoftMicrosoft Entra ID - AADSTS5014250142Password change is required due to a Conditional Access policy.
Password change is required due to a Conditional Access policy.
MicrosoftMicrosoft Entra ID - AADSTS5014350143Session mismatch
Session mismatch - Session is invalid because user tenant doesn't match the domain hint due to different resource. Open a support ticket with Correlation ID, Request ID, and Error code to get more details.
MicrosoftMicrosoft Entra ID - AADSTS5014450144InvalidPasswordExpiredOnPremPassword
InvalidPasswordExpiredOnPremPassword - User's Active Directory password has expired. Generate a new password for the user or have the user use the self-service reset tool to reset their password.
MicrosoftMicrosoft Entra ID - AADSTS5014650146MissingCustomSigningKey
MissingCustomSigningKey - This app is required to be configured with an app-specific signing key. It's either not configured with one, or the key has expired or isn't yet valid. Please contact the owner of the application.
MicrosoftMicrosoft Entra ID - AADSTS501461501461AcceptMappedClaims is only supported for a token audience matching the application GUID or an audience within the tenant's…
AcceptMappedClaims is only supported for a token audience matching the application GUID or an audience within the tenant's verified domains. Either change the resource identifier, or use an application-specific signing key.
MicrosoftMicrosoft Entra ID - AADSTS5014750147MissingCodeChallenge
MissingCodeChallenge - The size of the code challenge parameter isn't valid. Invalid size of the code challenge parameter. Contact the application owner to correct their use of the PKCE parameters.
MicrosoftMicrosoft Entra ID - AADSTS5014850148The code_verifier doesn't match the code_challenge supplied in the authorization request for PKCE
The code_verifier doesn't match the code_challenge supplied in the authorization request for PKCE. Contact the application owner to correct their use of the PKCE parameters.
MicrosoftMicrosoft Entra ID - AADSTS501481501481The Code_Verifier doesn't match the code_challenge supplied in the authorization request.
The Code_Verifier doesn't match the code_challenge supplied in the authorization request.
MicrosoftMicrosoft Entra ID - AADSTS5014950149Invalid Code_Challenge_method parameter.
Invalid Code_Challenge_method parameter.
MicrosoftMicrosoft Entra ID - AADSTS501491501491InvalidCodeChallengeMethodInvalidSize
InvalidCodeChallengeMethodInvalidSize - Invalid size of Code_Challenge parameter.
MicrosoftMicrosoft Entra ID - AADSTS5015050150The provided credentials does not have a valid user consent approval information.
The provided credentials does not have a valid user consent approval information.
MicrosoftMicrosoft Entra ID