Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

API access to Dynamics?

(0) ShareShare
ReportReport
Posted on by 10
Im trying to access my Dynamics instance via an API. 
* I setup a Demo instance of Dynamics (in my Azure subscription). I then tried to access (in AAD) the Web API via Postman. When I try to Grant Permissions, I tried adding Dynamics CRM and failed. I get an error message that I do not have a Dynamics instance in that subscription.
What am i doing wrong?
thanks.
Venky
  • API access to Dynamics?
    If you want to test the WEB API in Dynamics 365 CRM using Postman, here’s what you need to do to setup Postman to connect to Dynamics 365’s Web API
    There are 2 parts to this setup –
    1. Registering an App in Active Directory.
    2. Configuring Postman to utilize the App to connect to Dynamics 365.
    Prerequisites:

    -Verify Dynamics instance creation: Double-check that you have successfully created a Dynamics instance in your Azure subscription. Make sure you have followed the correct steps to provision the instance and that it is properly set up and running.

    -Check subscription and environment: Ensure that you are using the correct Azure subscription and environment when attempting to add Dynamics CRM in AAD. It's possible that you might have multiple subscriptions or environments, and you need to select the right one.
    -Confirm permissions and roles: Ensure that you have the necessary permissions and roles in your Azure subscription to manage resources and configure AAD settings. You might need to be a global administrator or have specific roles assigned to perform certain actions.

    -Refresh AAD and clear cache: If you recently created the Dynamics instance, it might take some time for AAD to recognize the new resource. Try refreshing the page or clearing your browser cache to see if that resolves the issue.

    -Troubleshoot connectivity: Check your network connectivity and ensure that you can access the Dynamics instance and AAD endpoints. If you are behind a firewall or using a proxy, make sure it allows the necessary connections.

    -Review documentation and seek support: Consult the official documentation provided by Microsoft for setting up Dynamics instances and integrating with AAD. If the issue persists, consider reaching out to Microsoft support for further assistance, as they can provide more specific guidance based on your setup and environment.

    Note : You can view the following link, hoping to be helpful to you:
    https://d365demystified.com/2022/03/06/setup-postman-to-connect-to-dynamics-365-crm-using-oauth-2-0-azure-app-registration/
  • Martin Dráb Profile Picture
    Martin Dráb 230,853 Most Valuable Professional on at
    API access to Dynamics?
    You're asking in a Dynamics 365 Forum, but talking about Dynamics CRM. You're either in a wrong forum or you're trying to do a wrong thing.
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    API access to Dynamics?

    Hi,
    You can view the following link, hoping to be helpful to you:
    Microsoft Dynamics CRM API Integration - Full Tutorial (Code Included) (folio3.com)
    Best Regards,
    Hana

     

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... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans