Skip to main content

AADSTS70002: Client secret does not match the app

The client secret does not match the app.

What to check​

  1. Check that the app uses the current secret value for its client ID, not the secret's identifier.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The lookup allows for either an unrecognised application name or credentials the service could not interpret.

Fields in the message template: {appName}.

Microsoft remediation: The app developer should check that the request supplies the authentication parameters the flow expects and that each value is correct.

Open AADSTS70002 in Microsoft’s lookup