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.
Common causes
- The app is sending the secret ID (a GUID) instead of the secret value, which is shown only once when the secret is created.
- The client secret in the app's configuration is wrong, expired, or was rotated and the old value is still being used.
- The app is sending a secret that does not belong to this app registration, or the secret was copied with extra spaces or quotes.
- Microsoft describes this as a developer error: the app is attempting to sign in without the necessary or correct authentication parameters.
Quick checks
- Open Entra admin center → Entra ID → Monitoring & health → Sign-in logs, find the failed event, and copy the Correlation ID, date, and time.
- Read the Failure reason and Additional Details on that event. Additional Details often includes the next step.
- Check the Conditional Access tab to see which policies applied or blocked the sign-in, and the Authentication Details tab for the methods that ran and their results.
How to fix it
If you are the user
- You cannot fix an invalid client secret from the sign-in page. Contact the app owner or your admin.
If you are an admin
- In Entra admin center → Entra ID → App registrations → the app → Certificates & secrets, check whether the secret has expired. Create a new secret or a certificate, update the app or secret store, and retry.
- Remove secrets that are no longer in use. Do not embed secrets in a public or mobile app; those should use a public-client flow or a backend that holds the secret.
- Confirm the app is using the correct client ID for this registration.
When to escalate
Escalate if a newly created secret still fails, or a production secret was rotated and you cannot tell which apps still use the old value. Include the client ID, the secret's expiry date (not the secret value), and the Correlation ID.
Official references
- Microsoft's AADSTS error code reference (opens in a new tab)
- Official lookup for AADSTS7000215 (opens in a new tab)
Descriptions on this page are summarized from Microsoft’s official error reference and the troubleshooting articles linked above. Error wording can change; use the official lookup if something here does not match what you see.