Skip to main content

AADSTS7000215: "Invalid Client"

The AADSTS7000215 error indicates that the client secret or client ID in an Azure Active Directory (AAD) authentication request is incorrect.

Causes​

  1. Incorrect client ID or client secret: Check that the values match the application details registered in Azure.
  2. Expired client secret: Client secrets in Azure AD have a limited lifetime and must be renewed.
  3. Incorrect app registration: Make sure the application is registered correctly in Azure AD.
  4. Missing permissions: If you use OAuth 2.0 or OpenID Connect, check that the API permissions are configured correctly.
  5. Incorrect authentication URL: Make sure the request is sent to the correct endpoint.