Error code search
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.
Code list
4,836 results- AADSTS165004165004Actual message content is runtime specific. Please see returned exception message for details.
Actual message content is runtime specific. Please see returned exception message for details.
MicrosoftMicrosoft Entra ID - AADSTS165900165900InvalidApiRequest
InvalidApiRequest - Invalid request.
MicrosoftMicrosoft Entra ID - AADSTS1700317003CredentialKeyProvisioningFailed
CredentialKeyProvisioningFailed - Microsoft Entra ID can't provision the user key.
MicrosoftMicrosoft Entra ID - AADSTS2000120001WsFedSignInResponseError
WsFedSignInResponseError - There's an issue with your federated Identity Provider. Contact your IDP to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS2001220012WsFedMessageInvalid
WsFedMessageInvalid - There's an issue with your federated Identity Provider. Contact your IDP to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS2003320033FedMetadataInvalidTenantName
FedMetadataInvalidTenantName - There's an issue with your federated Identity Provider. Contact your IDP to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS220450220450UnsupportedAndroidWebViewVersion
UnsupportedAndroidWebViewVersion - The Chrome WebView version isn't supported.
MicrosoftMicrosoft Entra ID - AADSTS220501220501InvalidCrlDownload
InvalidCrlDownload
MicrosoftMicrosoft Entra ID - AADSTS221000221000DeviceOnlyTokensNotSupportedByResource
DeviceOnlyTokensNotSupportedByResource - The resource isn't configured to accept device-only tokens.
MicrosoftMicrosoft Entra ID - AADSTS230109230109CachedCredentialNonGWAuthNRequestsNotSupported
CachedCredentialNonGWAuthNRequestsNotSupported - Backup Auth Service only allows AuthN requests from Microsoft Entra Gateway. This error is returned when traffic targets the backup auth service directly instead of going through the reverse proxy.
MicrosoftMicrosoft Entra ID - AADSTS240001240001BulkAADJTokenUnauthorized
BulkAADJTokenUnauthorized - The user isn't authorized to register devices in Microsoft Entra ID.
MicrosoftMicrosoft Entra ID - AADSTS240002240002RequiredClaimIsMissing
RequiredClaimIsMissing - The id_token can't be used as urn:ietf:params:oauth:grant-type:jwt-bearer grant.
MicrosoftMicrosoft Entra ID - AADSTS240003240003Unexpected result from authorize endpoint call.
Unexpected result from authorize endpoint call.
MicrosoftMicrosoft Entra ID - AADSTS240004240004Authorization code not received from authorize endpoint call. Error: {errorInfo}.
Authorization code not received from authorize endpoint call. Error: {errorInfo}.
MicrosoftMicrosoft Entra ID - AADSTS2800228002Provided value for the input parameter scope '{scope}' isn't valid when requesting an access token
Provided value for the input parameter scope '{scope}' isn't valid when requesting an access token. Specify a valid scope.
MicrosoftMicrosoft Entra ID - AADSTS2800328003Provided value for the input parameter scope can't be empty when requesting an access token using the provided authorization code
Provided value for the input parameter scope can't be empty when requesting an access token using the provided authorization code. Specify a valid scope.
MicrosoftMicrosoft Entra ID - AADSTS399284399284InboundIdTokenIssuerInvalid
InboundIdTokenIssuerInvalid - The inbound ID token received in the federation has an invalid issuer. Either it is empty, or it does not match the realm identifier.
MicrosoftMicrosoft Entra ID - AADSTS4000840008OAuth2IdPUnretryableServerError
OAuth2IdPUnretryableServerError - There's an issue with your federated Identity Provider. Contact your IDP to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS4000940009OAuth2IdPRefreshTokenRedemptionUserError
OAuth2IdPRefreshTokenRedemptionUserError - There's an issue with your federated Identity Provider. Contact your IDP to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS4001040010OAuth2IdPRetryableServerError
OAuth2IdPRetryableServerError - There's an issue with your federated Identity Provider. Contact your IDP to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS4001540015OAuth2IdPAuthCodeRedemptionUserError
OAuth2IdPAuthCodeRedemptionUserError - There's an issue with your federated Identity Provider. Contact your IDP to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS5000050000TokenIssuanceError
TokenIssuanceError - There's an issue with the sign-in service. Open a support ticket to resolve this issue.
MicrosoftMicrosoft Entra ID - AADSTS5000150001InvalidResource
InvalidResource - The resource is disabled or doesn't exist. Check your app's code to ensure that you have specified the exact resource URL for the resource you're trying to access.
MicrosoftMicrosoft Entra ID - AADSTS500011500011InvalidResourceServicePrincipalNotFound
InvalidResourceServicePrincipalNotFound - The resource principal named {name} wasn't found in the tenant named {tenant}. This can happen if the application hasn't been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. If you expect the app to be installed, you might need to provide administrator permissions to add it. Check with the developers of the resource and application to understand what the right setup for your tenant is.
MicrosoftMicrosoft Entra ID - AADSTS500014500014InvalidResourceServicePrincipalDisabled
InvalidResourceServicePrincipalDisabled - The service principal for resource '{identifier}' is disabled. This indicates that a subscription within the tenant has lapsed, or that an administrator for this tenant has disabled the application's service principal, preventing tokens from being issued for it. For more information, see Disable user sign-in for application.
MicrosoftMicrosoft Entra ID - AADSTS5000250002NotAllowedTenant
NotAllowedTenant - Sign-in failed because of a restricted proxy access on the tenant. If it's your own tenant policy, you can change your restricted tenant settings to fix this issue.
MicrosoftMicrosoft Entra ID - AADSTS500021500021Access to '{tenant}' tenant is denied
Access to '{tenant}' tenant is denied. AADSTS500021 indicates that the tenant restriction feature is configured and that the user is trying to access a tenant that isn't in the list of allowed tenants specified in the header Restrict-Access-To-Tenant. For more information, see Use tenant restrictions to manage access to SaaS cloud applications.
MicrosoftMicrosoft Entra ID - AADSTS500022500022Access to '{tenant}' tenant is denied
Access to '{tenant}' tenant is denied. AADSTS500022 indicates that the tenant restriction feature is configured and that the user is trying to access a tenant that isn't in the list of allowed tenants specified in the header Restrict-Access-To-Tenant. For more information, see Use tenant restrictions to manage access to SaaS cloud applications.
MicrosoftMicrosoft Entra ID - AADSTS50002245000224NotAllowedTenantBlockedTenantFraud
NotAllowedTenantBlockedTenantFraud - We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support.
MicrosoftMicrosoft Entra ID - AADSTS5000350003MissingSigningKey
MissingSigningKey - Sign-in failed because of a missing signing key or certificate. This might be because there was no signing key configured in the app. To learn more, see the troubleshooting article for error AADSTS50003. If you still see issues, contact the app owner or an app admin.
MicrosoftMicrosoft Entra ID - AADSTS5000550005DevicePolicyError
DevicePolicyError - User tried to sign in to a device from a platform not currently supported through Conditional Access policy.
MicrosoftMicrosoft Entra ID - AADSTS5000650006InvalidSignature
InvalidSignature - Signature verification failed because of an invalid signature.
MicrosoftMicrosoft Entra ID - AADSTS5000750007PartnerEncryptionCertificateMissing
PartnerEncryptionCertificateMissing - The partner encryption certificate wasn't found for this app. Open a support ticket with Microsoft to get this fixed.
MicrosoftMicrosoft Entra ID - AADSTS5000850008InvalidSamlToken
InvalidSamlToken - SAML assertion is missing or misconfigured in the token. Contact your federation provider.
MicrosoftMicrosoft Entra ID - AADSTS50008195000819InvalidSamlTokenEmailMissingOrInvalid
InvalidSamlTokenEmailMissingOrInvalid - SAML Assertion is invalid. Email address claim is missing or doesn't match domain from an external realm.
MicrosoftMicrosoft Entra ID - AADSTS5001050010AudienceUriValidationFailed
AudienceUriValidationFailed - Audience URI validation for the app failed since no token audiences were configured.
MicrosoftMicrosoft Entra ID - AADSTS5001150011InvalidReplyTo
InvalidReplyTo - The reply address is missing, misconfigured, or doesn't match reply addresses configured for the app. As a resolution ensures to add this missing reply address to the Microsoft Entra application or have someone with the permissions to manage your application in Microsoft Entra IF do this for you. To learn more, see the troubleshooting article for error AADSTS50011.
MicrosoftMicrosoft Entra ID - AADSTS5001250012AuthenticationFailed
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 certificate isn't valid Policy isn't configured on the tenant Thumbprint of the signing certificate isn't authorized Client assertion contains an invalid signature
MicrosoftMicrosoft Entra ID - AADSTS50012565001256Failed to complete authentication with external provider due to invalid id_token. Failure details: {details}
Failed to complete authentication with external provider due to invalid id_token. Failure details: {details}
MicrosoftMicrosoft Entra ID - AADSTS5001350013InvalidAssertion
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. Contact the app developer.
MicrosoftMicrosoft Entra ID