Error Code Portal

Microsoft error codes

Search by code or error message to find official explanations and troubleshooting or diagnostic links.

4,836 codes·14 products·84 official documents

Search runs in your browser. The same number can have different meanings in different products.

Microsoft Code

3,837 results
CodeIssue and contextVendor and product
  • InvalidTenantName

    InvalidTenantName - The tenant name wasn't found in the data store. Check to make sure you have the correct tenant ID. The application developer will receive this error if their app attempts to sign into a tenant that we cannot find. Often, this is because a cross-cloud app was used against the wrong cloud, or the developer attempted to sign in to a tenant derived from an email address, but the domain isn't registered.

    MicrosoftMicrosoft Entra ID
  • InvalidRequestFormat

    InvalidRequestFormat - The request isn't properly formatted.

    MicrosoftMicrosoft Entra ID
  • InvalidRequestWithMultipleRequirements

    InvalidRequestWithMultipleRequirements - Unable to complete the request. The request isn't valid because the identifier and login hint can't be used together.

    MicrosoftMicrosoft Entra ID
  • ExternalServerRetryableError

    ExternalServerRetryableError - The service is temporarily unavailable.

    MicrosoftMicrosoft Entra ID
  • InvalidSessionId

    InvalidSessionId - Bad request. The passed session ID can't be parsed.

    MicrosoftMicrosoft Entra ID
  • TokenForItselfRequiresGraphPermission

    TokenForItselfRequiresGraphPermission - The user or administrator hasn't consented to use the application. At the minimum, the application requires access to Microsoft Entra ID by specifying the sign-in and read user profile permission.

    MicrosoftMicrosoft Entra ID
  • TokenForItselfMissingIdenticalAppIdentifier

    TokenForItselfMissingIdenticalAppIdentifier - The application is requesting a token for itself. This scenario is supported only if the resource that's specified is using the GUID-based application ID.

    MicrosoftMicrosoft Entra ID
  • NotSupported

    NotSupported - Unable to create the algorithm.

    MicrosoftMicrosoft Entra ID
  • The grant type isn't supported over the /common or /consumers endpoints

    The grant type isn't supported over the /common or /consumers endpoints. Please use the /organizations or tenant-specific endpoint.

    MicrosoftMicrosoft Entra ID
  • RequestTimeout

    RequestTimeout - The requested has timed out.

    MicrosoftMicrosoft Entra ID
  • InvalidUserInput

    InvalidUserInput - The input from the user isn't valid.

    MicrosoftMicrosoft Entra ID
  • MissingRequiredField

    MissingRequiredField - This error code might appear in various cases when an expected field isn't present in the credential.

    MicrosoftMicrosoft Entra ID
  • The request body must contain the following parameter: '{name}'. Developer error

    The request body must contain the following parameter: '{name}'. Developer error - the app is attempting to sign in without the necessary or correct authentication parameters.

    MicrosoftMicrosoft Entra ID
  • QueryStringTooLong

    QueryStringTooLong - The query string is too long.

    MicrosoftMicrosoft Entra ID
  • MissingRequiredClaim

    MissingRequiredClaim - The access token isn't valid. The required claim is missing.

    MicrosoftMicrosoft Entra ID
  • MissingTenantRealm

    MissingTenantRealm - Microsoft Entra ID was unable to determine the tenant identifier from the request.

    MicrosoftMicrosoft Entra ID
  • The SAML 1.1 Assertion is missing ImmutableID of the user. Developer error

    The SAML 1.1 Assertion is missing ImmutableID of the user. Developer error - the app is attempting to sign in without the necessary or correct authentication parameters.

    MicrosoftMicrosoft Entra ID
  • AuthenticatedInvalidPrincipalNameFormat

    AuthenticatedInvalidPrincipalNameFormat - The principal name format isn't valid, or doesn't meet the expected name[/host][@realm] format. The principal name is required, host, and realm are optional and can be set to null.

    MicrosoftMicrosoft Entra ID
  • InvalidRequest

    InvalidRequest - The authentication service request isn't valid.

    MicrosoftMicrosoft Entra ID
  • InvalidRequest

    InvalidRequest - Request is malformed or invalid. - The issue arises because there was something wrong with the request to a certain endpoint. 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.

    MicrosoftMicrosoft Entra ID
  • Application '{principalId}'({principalName}) is configured for use by Microsoft Entra users only

    Application '{principalId}'({principalName}) is configured for use by Microsoft Entra users only. Please do not use the /consumers endpoint to serve this request.

    MicrosoftMicrosoft Entra ID
  • V2Error: invalid_grant

    V2Error: invalid_grant - The user is required to permit single sign-On (SSO). This error occurs when the user has not granted the necessary permissions for the application to perform SSO. The user should be redirected to the consent screen to grant the necessary permissions. Refer to this announcement for more information."

    MicrosoftMicrosoft Entra ID
  • InvalidRequestSamlPropertyUnsupported- The SAML authentication request property '{propertyName}' isn't supported and must not…

    InvalidRequestSamlPropertyUnsupported- The SAML authentication request property '{propertyName}' isn't supported and must not be set.

    MicrosoftMicrosoft Entra ID
  • RequestBudgetExceededError

    RequestBudgetExceededError - A transient error has occurred. Try again.

    MicrosoftMicrosoft Entra ID
  • We are unable to issue tokens from this API version on the MSA tenant

    We are unable to issue tokens from this API version on the MSA tenant. Please contact the application vendor as they need to use version 2.0 of the protocol to support this.

    MicrosoftMicrosoft Entra ID
  • MsodsServiceUnavailable

    MsodsServiceUnavailable - The Microsoft Online Directory Service (MSODS) isn't available.

    MicrosoftMicrosoft Entra ID
  • MsodsServiceUnretryableFailure

    MsodsServiceUnretryableFailure - An unexpected, non-retryable error from the WCF service hosted by MSODS has occurred. Open a support ticket to get more details on the error.

    MicrosoftMicrosoft Entra ID
  • NationalCloudTenantRedirection

    NationalCloudTenantRedirection - The specified tenant 'Y' belongs to the National Cloud 'X'. Current cloud instance 'Z' does not federate with X. A cloud redirect error is returned.

    MicrosoftMicrosoft Entra ID
  • Confidential Client isn't supported in Cross Cloud request.

    Confidential Client isn't supported in Cross Cloud request.

    MicrosoftMicrosoft Entra ID
  • JWT token failed signature validation

    JWT token failed signature validation. Actual message content is runtime specific, there are a variety of causes for this error. Please see the returned exception message for details.

    MicrosoftMicrosoft Entra ID
  • NationalCloudAuthCodeRedirection

    NationalCloudAuthCodeRedirection - The feature is disabled.

    MicrosoftMicrosoft Entra ID
  • Confidential Client isn't supported in Cross Cloud request.

    Confidential Client isn't supported in Cross Cloud request.

    MicrosoftMicrosoft Entra ID
  • InvalidNationalCloudId

    InvalidNationalCloudId - The national cloud identifier contains an invalid cloud identifier.

    MicrosoftMicrosoft Entra ID
  • TenantThrottlingError

    TenantThrottlingError - There are too many incoming requests. This exception is thrown for blocked tenants.

    MicrosoftMicrosoft Entra ID
  • BadResourceRequest

    BadResourceRequest - To redeem the code for an access token, the app should send a POST request to the /token endpoint. Also, prior to this, you should provide an authorization code and send it in the POST request to the /token endpoint. Refer to this article for an overview of OAuth 2.0 authorization code flow. Direct the user to the /authorize endpoint, which will return an authorization_code. By posting a request to the /token endpoint, the user gets the access token. Check App registrations > Endpoints to confirm that the two endpoints were configured correctly.

    MicrosoftMicrosoft Entra ID
  • BadResourceRequestInvalidRequest

    BadResourceRequestInvalidRequest - The endpoint only accepts {valid_verbs} requests. Received a {invalid_verb} request. {valid_verbs} represents a list of HTTP verbs supported by the endpoint (for example, POST), {invalid_verb} is an HTTP verb used in the current request (for example, GET). This can be due to developer error, or due to users pressing the back button in their browser, triggering a bad request. It can be ignored.

    MicrosoftMicrosoft Entra ID
  • Failed to parse provider signing keys

    Failed to parse provider signing keys - When validating signing keys provided by JWKS endpoint, they are not in the expected format.

    MicrosoftMicrosoft Entra ID
  • PassThroughUserMfaError

    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. This error also might occur if the users are synced, but there is a mismatch in the ImmutableID (sourceAnchor) attribute between Active Directory and Microsoft Entra ID. The account must be added as an external user in the tenant first. Sign out and sign in with a different Microsoft Entra user account. For more information, please visit configuring external identities.

    MicrosoftMicrosoft Entra ID
  • OrgIdWsFederationMessageInvalid

    OrgIdWsFederationMessageInvalid - An error occurred when the service tried to process a WS-Federation message. The message isn't valid.

    MicrosoftMicrosoft Entra ID
  • OrgIdWsFederationNotSupported

    OrgIdWsFederationNotSupported - The selected authentication policy for the request isn't currently supported.

    MicrosoftMicrosoft Entra ID

Codes by vendor