Error AtlasError Documentation and Resolution

Microsoft Entra client secret is invalid

AADSTS7000215: Invalid client secret is provided.

Microsoft Entra ID rejected the confidential-client request because the provided client secret is wrong, expired, or the wrong secret value was used.

AADSTS7000215authentication
AADSTS7000215: Invalid client secret is provided.
  • The app is sending the wrong client secret value.
  • The secret has expired or was rotated and the app still uses the old value.
  • The application uses a client secret in a scenario that should not use one.
  1. Confirm that the application is sending the client secret value rather than the secret identifier.
  2. Rotate the secret if it has expired and update the application configuration.
  3. Verify that the app registration and authentication flow match a confidential-client scenario.
Microsoft Entra sign-in error reference
AADSTS7000215 invalid client secret in Microsoft Entra | Error Atlas