Skip to main content

invalid_client: Server could not authenticate the client application

The server could not authenticate the client application.

What to check​

  1. Ask the app administrator to check the credential for the client ID and target tenant without disclosing its value.
  2. If the diagnostic includes an AADSTS code, use that code to investigate the cause. For example, see invalid client secret.

Official reference​

Microsoft Learn: Handling authentication errors in your application