Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Accessing Microsoft CRM 365 Web API

Posted on by Microsoft Employee

I want to access the web api's of microsoft crm 365 online. I am following this link that provides a step-by-step guide to authenticate the web api through OAuth. For enabling OAuth I need to register an application so as to generate client id and client secret. Could you please guide me where should i register this application? The link mentions it to be done on azure active directory but doesn't sound to be appropriate. 

Thanks!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Accessing Microsoft CRM 365 Web API

    I was able to make progress by registering an app on the azure portal but I am unable to generate the OAuth access token using the postman rest client. I am following the steps listed in this guide - http://dynamicscrmcoe.com/test-microsoft-dynamics-crm-web-api-postman/. I am stuck at step 8 - generating the access token. After entering the login credentials I get a blank page titled "Confirm Permissions"

    Let me know if you have suggestions

  • Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Accessing Microsoft CRM 365 Web API

    Hi

    Did you click Admin?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Accessing Microsoft CRM 365 Web API

    I created an azure AD account. I can now login to manage.windowsazure.com but I do not see "Active Directory in the left column of the page." Is that because I am not the admin? If so, how do I get myself configured as admin?

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Accessing Microsoft CRM 365 Web API

    Hi

    Microsoft Dynamics 365 online uses Azure AD for identity management.

    Besides, any application that wants to use the capabilities of Azure AD must first be registered in an Azure AD tenant.

    Please go through the links in the same page

    msdn.microsoft.com/.../mt622431.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Accessing Microsoft CRM 365 Web API

    Why do we need to register with Azure AD? How does it relate to microsoft dynamics CRM?

  • Suggested answer
    M I Mostafa Profile Picture
    M I Mostafa 4,257 on at
    RE: Accessing Microsoft CRM 365 Web API

    Hi,

    Have a look at this MSDN walkthrough that gives you a step by step guide for registering a Dynamics CRM app with Azure. It describes how to register a desktop client or mobile application so that it can connect to and authenticate with the Microsoft Dynamics 365 server and access the Web services.

    Once registered, an application can access the Web services using HTTP requests through the server’s SOAP or OData endpoints. This walkthrough applies to Microsoft Dynamics 365.

    msdn.microsoft.com/.../dn531010.aspx

    Hope this helps! Please click on "yes" to verify the answer if you found this response helpful.

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Accessing Microsoft CRM 365 Web API

    Hi,

    See: msdn.microsoft.com/.../mt622431.aspx

    It describes how to register dynamics CRM in Azure Active Directory.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans