Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

OAuth2 login to dynamics failed with 401

$
0
0

I have setup Azure AD, added app/key/delegated permissions according to here, with the same account as my dynamics 365.

I am get my token with client credentials grant according to here. So far so good.

However when i use the bearer token to get https://<myorg>.crm.dynamics.com/api/data/v8.2, the response is "HTTP Error 401 - Unauthorized: Access is denied"

Did I do anything wrong? How can I make it work? Is there any configuration needed on dynamics/office 365?

Thank you

KL


Viewing all articles
Browse latest Browse all 79901

Trending Articles