Just to be sure, have you replaced 'consumers' text by your tenant id in the request URL?
Graph API unauthorized_client: The client does not exist or is not enabled for consumers.
I registered an app with organization (non-personal). When trying to get authorization, I got "unauthorized_client" error. I did setup localhost as redirect URI and here are the API permission
Do I need to Expose the API and authorize the client?
3 additional answers
Sort by: Most helpful
-
Clément 76 Reputation points
2022-10-02T19:09:26.78+00:00 Hello,
Could you show us the app registration configuration? Authentication and API permissions panels to begin.
And the request url you use as well, I wonder which OAuth flow you specify.
-
Yu, Lawrence 21 Reputation points
2022-10-02T19:39:18.293+00:00 Thank cmercier for responding. Here are three screen grab. API Permission has been included in the first message.
- App Registration:
- Authentication One
- Authentication Two
-
Yu, Lawrence 21 Reputation points
2022-10-02T19:42:54.423+00:00