Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Provide restricted Dynamics 365 data access to 3rd-party user via web API

(0) ShareShare
ReportReport
Posted on by

Hello Community,

I have the following scenario and would appreciate some guidance if anyone could help provide some inputs.

I have a Dynamics 365 for Customer Engagement production environment. I want to provide a 3rd-party company a way to access certain data in Dynamics in real-time as a data source. The 3rd-party company is planning to connect to the Dynamics environment using this web API: https://github.com/AlexaCRM/dynamics-webapi-toolkit, and they would need the following information:

  • Org ID
  • Application ID
  • Secret

My understanding is the above "Org ID", "Application ID" and "Secret" are referring to that of my Dynamics production environment within Azure AD, am I correct?

And how would I set it up so that the 3rd-party company only has Read access to certain entity data in Dynamics when the connection is established for them?

Thanks!

  • Verified answer
    Jason Daraz Profile Picture
    25 on at
    RE: Provide restricted Dynamics 365 data access to 3rd-party user via web API

    No you aren't creating the "app" itself, you are just registering it in Azure AD and then telling Azure AD to give any app with the generated Application ID access to Dynamics.

    You will need to give the Application ID to whomever is developing the app, when they make a request to access Dynamics from their app, they will need to do so using the Application ID you have generated.

    You can create an application user directly in Dynamics, go to the Settings -> Security -> Users and change the view to Application Users, then click New. Change the form to the Application User form and you should see the below:

    pastedimage1570524769553v1.png

  • Community Member Profile Picture
    on at
    RE: Provide restricted Dynamics 365 data access to 3rd-party user via web API

    Hi Jason,

    Thank you very much for your inputs!

    I have couple of follow-up questions if you don't mind:

    - By "app registration", this does not mean that I actually have to create an "app" for the 3rd-party. It's just a registration I need to set up in Azure AD. Am I right?

    - When creating a new user (for the application user) in Admin Centre, where and how would I link it to the Application ID? Am I looking at the right spot?

    Thank you,

    Eric

  • Verified answer
    Jason Daraz Profile Picture
    25 on at
    RE: Provide restricted Dynamics 365 data access to 3rd-party user via web API

    Hey D365_Eric,

    Not exactly, you need to create an app registration in Azure AD, see here: docs.microsoft.com/.../walkthrough-register-app-azure-active-directory

    This app registration will have the details you mentioned associated to it. You also need to grant the app registration permission to access Dynamics.

    Once you have done this, you will also need to create an Application User in Dynamics, linked to this app registration using the application ID. You can then apply security roles to that Application User in Dynamics.

    Hope this helps.

    Jason

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 61 Most Valuable Professional

#3
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans