How to fix issue: Invalid certificate - subject name in certificate is not authorized.

Manav Sharma 0 Reputation points Microsoft Employee
2025-02-19T08:58:40.19+00:00

Trying to do test in production and followed this tutorial https://learn.microsoft.com/en-us/cli/azure/azure-cli-sp-tutorial-3

invalid_client\nMicrosoft.Identity.Client.MsalServiceException: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS700030: Invalid certificate - subject name in certificate is not authorized. SubjectNames/SubjectAlternativeNames (up to 10) in token certificate are: tips.purview-service.azure-test.com.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,381 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.