web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamic CRM 365 Web API Access Denied using Postman

(0) ShareShare
ReportReport
Posted on by

Hi!

I am really new to CRM and getting the right authentication for Web API is making me crazy. I have search bunch of blogs and tutorial for getting Client ID, Client Secret and Access Token through Microsoft Azure. I must say I get those without a problem. 

postman1.png

Now, I am trying to GET data from CRM and I do not know what I am doing wrong. I used the Access-token I received as you can see on the screencast above but I am getting 401 Unauthorized (Access Denied) error. Please refer below. 

postman2.png

Any help will be appreciated. Thank you. 

*This post is locked for comments

I have the same question (0)
  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    It seems like you are getting an Azure Authorization token and not the CRM Authorization token.

    Do you have the proper delegation in Azure to authenticate against CRM?

  • Community Member Profile Picture
    on at

    Hi Aric! I am very new to CRM and just registered my CRM to Azure yesterday so I do not know there is a difference on tokens. Would you mind to share on how to make sure I am getting which token ?

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi,

    Please go through the links below on connecting Dynamics CRM through Postman.

    carldesouza.com/connecting-dynamics-crm-postman

    dynamicscrmcoe.com/test-microsoft-dynamics-crm-web-api-postman

  • Suggested answer
    Velimir Profile Picture
    5 on at

    I faced the same issue. The problem is in generated token, in most of the blogs and tutorials the instructions are to use authorization Url

    login.windows.net/common/oauth2/authorize

    you need to append resource parameter in that url

    login.windows.net/common/oauth2/authorize?resource=https://********.dynamics.com/

    where "https://********.dynamics.com/" is your crm url

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans