Share via

I've encountered the 'unauthorized_client: The client does not exist or is not enabled for consumers' error while trying to use authentication via Microsoft Graph in my web service; any ideas on how to fix this?

Netlas Team 0 Reputation points
2024-04-16T14:51:12.9333333+00:00

Hello, I've added authentication via Microsoft Graph to my web service. Everything was working fine, but at some point, I started getting an "unauthorized_client: The client does not exist or is not enabled for consumers" error when trying to authenticate. Even creating a new application led to the same result. Has anyone encountered a similar issue? Any help would be greatly appreciated. Thank you!

Microsoft Security | Microsoft Graph
{count} votes

2 answers

Sort by: Most helpful
  1. Dipankar Boruah 0 Reputation points
    2026-03-25T14:37:18.2466667+00:00

    If the above answer did not solve your issue and still receiving [unauthorized_client: The client does not exist or is not enabled for consumers] for 2026, you may be using the wrong Application ID, it happened to me, I thought generated Secret ID was the Application ID but the actual Application ID is clearly written in the Application Overview page. Use that and your issue will be solved.

    0 comments No comments

  2. CarlZhao-MSFT 46,446 Reputation points
    2024-04-17T02:49:05.2666667+00:00

    Hi @Netlas Team

    This is because your app has not been registered to allow personal account logins. Go to your app, find the manifest, and change the signInAudience property value to AzureADandPersonalMicrosoftAccount and the accessTokenAcceptedVersion property value to 2.

    User's image

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


Your answer

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