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