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
31 of 31 codes
AADSTS50001InvalidResourceThe resource the app asked for is disabled or doesn’t exist.

What it means: The resource the app asked for is disabled or doesn’t exist.

Likely cause: The app requested a wrong or unavailable resource URL.

Fix: Confirm the exact resource (App ID URI) the app requests, and that it exists in the tenant.

AADSTS50003MissingSigningKeySign-in failed because no signing key or certificate is set up for the app.

What it means: Sign-in failed because no signing key or certificate is set up for the app.

Likely cause: The enterprise app (often SAML) has no active signing certificate.

Fix: Create or activate a SAML signing certificate on the enterprise app’s Single sign-on page, then update the app with it.

AADSTS50011InvalidReplyToFull write-upReply URL does not match

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

Likely cause: The redirect / reply URL the app sent is not listed on the app registration, or it does not match exactly (scheme, host, port, or path).

Fix: 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.

AADSTS50146MissingCustomSigningKeyThe app needs its own signing key, and it’s missing, expired, or not yet valid.

What it means: The app needs its own signing key, and it’s missing, expired, or not yet valid.

Likely cause: The app-specific signing key isn’t configured or is out of its valid dates.

Fix: Ask the app owner to configure a valid signing key for the app.

AADSTS50194App not multitenantA single-tenant app tried to sign in through the /common endpoint.

What it means: A single-tenant app tried to sign in through the /common endpoint.

Likely cause: The app isn’t configured as multitenant but uses /common.

Fix: Use a tenant-specific sign-in endpoint, or configure the app as multitenant if that’s intended.

AADSTS54005OAuth2 authorization code was already redeemedFull write-upAuthorization code already redeemed

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

Likely cause: The app tried to exchange the same authorization code more than once. Codes can be used only once.

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

AADSTS70001UnauthorizedClientThe application is disabled.

What it means: The application is disabled.

Likely cause: The app has been disabled.

Fix: Check whether the app was disabled on purpose; re-enable it only if it should be used.

AADSTS70002InvalidClientThe app’s credentials couldn’t be validated.

What it means: The app’s credentials couldn’t be validated.

Likely cause: The client secret sent doesn’t match what’s registered for the app.

Fix: Update the app with a valid client secret (or certificate) from the app registration.

AADSTS70004InvalidRedirectUriThe redirect URI the app sent isn’t registered for it.

What it means: The redirect URI the app sent isn’t registered for it.

Likely cause: The reply address in the request doesn’t match any configured redirect URI.

Fix: Add the exact redirect URI to the app registration (Authentication), or fix the app’s setting.

AADSTS70005UnsupportedResponseTypeThe app asked for a response type that isn’t enabled.

What it means: The app asked for a response type that isn’t enabled.

Likely cause: For example, implicit grant tokens aren’t enabled, or an ID token was requested without the openid scope.

Fix: Enable the needed token type in the app registration only if the app really needs it, or fix the request.

AADSTS70011InvalidScopeFull write-upScope isn't valid

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

Likely cause: The token request did not include a scope parameter, or the scope value is not valid for Microsoft Entra ID.

Fix: 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.

AADSTS75005Saml2MessageInvalidThe SAML request sent by the app isn’t supported.

What it means: The SAML request sent by the app isn’t supported.

Likely cause: The app’s SAML SSO request is malformed or uses an unsupported format.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS75008RequestDeniedErrorThe SAML request was denied because its destination was unexpected.

What it means: The SAML request was denied because its destination was unexpected.

Likely cause: The destination in the app’s SAML request doesn’t match the Microsoft Entra sign-in URL.

Fix: Check the sign-on URL the app uses for SAML against the values on the enterprise app’s Single sign-on page.

AADSTS75011NoMatchedAuthnContextInOutputClaimsHow the user authenticated doesn’t match the authentication method the app requested.

What it means: How the user authenticated doesn’t match the authentication method the app requested.

Likely cause: The SAML app asks for a specific authentication context the user’s sign-in didn’t meet.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS75016Saml2AuthenticationRequestInvalidNameIDPolicyThe SAML request has an invalid NameID policy.

What it means: The SAML request has an invalid NameID policy.

Likely cause: The app requests a NameID format that doesn’t match the configuration.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS90124V1ResourceV2GlobalEndpointNotSupportedThe resource isn’t supported on the /common or /consumers endpoints.

What it means: The resource isn’t supported on the /common or /consumers endpoints.

Likely cause: The app uses a shared endpoint for a resource that needs a tenant.

Fix: Use the /organizations endpoint or a tenant-specific endpoint.

AADSTS90130NonConvergedAppV2GlobalEndpointNotSupportedThe app isn’t supported on the /common or /consumers endpoints.

What it means: The app isn’t supported on the /common or /consumers endpoints.

Likely cause: The app uses a shared endpoint it isn’t configured for.

Fix: Use the /organizations endpoint or a tenant-specific endpoint.

AADSTS500011InvalidResourceServicePrincipalNotFoundFull write-upResource principal not found

What it means: 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.

Likely cause: The resource principal (the API the app called) is not in this tenant, because it has not been installed or consented to here.

Fix: 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.

AADSTS500014InvalidResourceServicePrincipalDisabledThe resource’s service principal is disabled.

What it means: The resource’s service principal is disabled.

Likely cause: A subscription lapsed, or an admin turned off sign-in for that enterprise app.

Fix: If it should work, re-enable sign-in on the enterprise app (Properties) or renew the subscription.

AADSTS650059App limited to its own tenantThe app is set to its home organization only, so it can’t be used in this tenant.

What it means: The app is set to its home organization only, so it can’t be used in this tenant.

Likely cause: The app’s signInAudience is AzureADMyOrg (single tenant).

Fix: If the app should work in other tenants, the app owner must change its supported account types.

AADSTS700011UnauthorizedClientAppNotFoundInOrgIdTenantThe client app isn’t found in the tenant it asked for a token from.

What it means: The client app isn’t found in the tenant it asked for a token from.

Likely cause: The app isn’t registered in, or hasn’t been consented to by, this tenant.

Fix: Confirm the app ID and the tenant; for a multitenant app, an admin may need to consent to add it.

AADSTS700016UnauthorizedClient_DoesNotMatchRequestFull write-upApplication not found in the tenant

What it means: 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.

Likely cause: The application has not been added to this tenant yet. No user or admin has consented, so there is no service principal here.

Fix: 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.

AADSTS700027Client assertion signature failedThe app’s signed client assertion failed validation.

What it means: The app’s signed client assertion failed validation.

Likely cause: The certificate or key the app signs with doesn’t match what’s registered.

Fix: Check that the certificate uploaded to the app registration matches the one the app uses, and that it hasn’t expired.

AADSTS700030Certificate subject not authorizedThe certificate’s subject name isn’t authorized for this app.

What it means: The certificate’s subject name isn’t authorized for this app.

Likely cause: The certificate presented doesn’t match the app’s configured credentials.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS700054Response_type id_token isn't enabled for the applicationFull write-upID token isn't enabled for the app

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

Likely cause: The application requested an ID token from the authorization endpoint (response_type includes id_token) without ID token implicit grant enabled.

Fix: 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.

AADSTS1000031Application not accessible right nowThe application can’t be accessed at this time.

What it means: The application can’t be accessed at this time.

Likely cause: The app is unavailable to the user right now.

Fix: No full write-up yet. Check the sign-in logs for details and see Microsoft’s reference.

AADSTS7000112UnauthorizedClientApplicationDisabledThe application is disabled.

What it means: The application is disabled.

Likely cause: The app has been disabled.

Fix: Check whether the app was disabled on purpose; re-enable it only if it should be used.

AADSTS7000215Invalid client secret providedFull write-upInvalid client secret

What it means: 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.

Likely cause: The client secret in the app's configuration is wrong, expired, or was rotated and the old value is still being used.

Fix: 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.

AADSTS7000218Missing client_assertion or client_secretFull write-upMissing client secret or assertion

What it means: 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.

Likely cause: A confidential client (an app that is expected to use a secret or certificate) sent a token request without client_secret or client_assertion.

Fix: 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.

AADSTS7000222InvalidClientSecretExpiredKeysProvidedThe app’s client secret has expired.

What it means: The app’s client secret has expired.

Likely cause: The secret in the app registration passed its end date.

Fix: Create a new secret (or better, a certificate) in the app registration and update the app.

AADSTS9001023Grant type not supported on /commonThe grant type used isn’t supported on the /common or /consumers endpoints.

What it means: The grant type used isn’t supported on the /common or /consumers endpoints.

Likely cause: The app uses a shared endpoint for a flow that needs a tenant.

Fix: Use the /organizations endpoint or a tenant-specific endpoint.

Also related to this category