Forum Discussion

Jainvat's avatar
Jainvat
Copper Contributor
Jan 13, 2025

Authentication issue while using Client Credential through Oauth2.0

Hi Community

Hope you are doing well.
I am unable to authenticate to our registered app in azure. I am looking to test the get/users graph api using insomnia (similar tool as postman).

During Token generation we are getting 401 error. we are provide correct Client ID and Secret with right scope url.

I created the app, added the necessary permissions and the client credentials.
Do I need to add a redirect uri to the app? Does the app need to be registered account types as "accounts in any organization directory"?

I am getting a 401 unauthorized error Can you please assist what I'm what is missing here?

I will really do appreciate your help.

Thanks
Vatan 

No RepliesBe the first to reply

Resources