invalid_client: Server could not authenticate the client application
The server could not authenticate the client application.
What to check
- Ask the app administrator to check the credential for the client ID and target tenant without disclosing its value.
- 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