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

Community site session details

Session Id :
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
I have the same question (0)
  • Community member Profile Picture
    4 on at
    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
    236,192 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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,351

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 874 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 638 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans