Skip to content
Dashboard
Theme
Theme

Entra AADSTS7000215: invalid client secret

What this Microsoft Entra ID error means for an OhAuthCat connection and what to change.

View Markdown

For an OIDC connection, OhAuthCat exchanged the code with Entra using the client secret entered in the portal, and Entra rejected that secret. It is wrong, was copied as the secret ID instead of its value, or has expired.

  • IT admin: in the app registration, create a new client secret under Certificates & secrets and copy its value (shown once), not the secret ID.
  • IT admin: paste the new value into the connection in the setup portal and run a test sign-in.
  • IT admin: note the new secret’s expiry date and rotate it before then.

Written in our own words from the public Microsoft Entra ID documentation: https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes. Check it for the vendor’s current wording; vendors change their pages without notice.