Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Trouble understanding Dynamics API docs

(0) ShareShare
ReportReport
Posted on by
 
Hi,

I'm working on creating Microsoft Dynamics CRM integration for my users, which involves authenticating their CRM accounts and creating/updating records.

Over the past two days, I've been trying to understand how to use the Dynamics CRM API. It's quite confusing. Here's what I have done so far:

 

  1. Registered a new app in the Azure Portal with Dynamics API access and stored the Application ID and Secret.
  2. Created a free trial Dynamics Sales account to test the API using my personal Outlook account.
 

Now, when I try to authorize the CRM account using the endpoint https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize, it says that a scope is required. However, I don't know which scope is required and how to access the CRM API for the user using OAuth2.

I tried adding ./default as a scope for the auth URL, but it says that I can't use a personal account. Strangely, I was able to create a CRM account using my personal account.

Could anyone guide me on how to access this API using OAuth2? I'm completely lost now.

    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

    Announcing Our 2025 Season 1 Super Users!

    A new season of Super Users has arrived, and we are so grateful for the daily…

    Vahid Ghafarpour – Community Spotlight

    We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

    Congratulations to the January Top 10 leaders!

    Check out the January community rock stars...

    Leaderboard

    #1
    André Arnaud de Calavon Profile Picture

    André Arnaud de Cal... 292,187 Super User 2025 Season 1

    #2
    Martin Dráb Profile Picture

    Martin Dráb 230,966 Most Valuable Professional

    #3
    nmaenpaa Profile Picture

    nmaenpaa 101,156

    Leaderboard

    Featured topics

    Product updates

    Dynamics 365 release plans