Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

How to connect our iPaaS system to Dynamics 365 accounts easily through 3 ledged authentications, so we can get products, customers, invoices, orders etc. through API?

Posted on by 10

We have few Dynamics 365 customers who are using sales module to manage their accounting details.

They want to send invoices to their customers in XML format required by their customers. (We are helping them as a service provider to get data from Dynamics 365 account and create XML files and sent to their customers.) They have similarly many requests.

So as a developer I want to develop a module to connect their dynamics 365 account easily. Once we have developed these 3 ledged authentication mechanisms 1 time, we can connect different dynamics 365 accounts (After they give permission) and access their data through API.

I am stuck in the authentication mechanism infrastructure. Today I have found a way to connect 1 dynamics 365 account and accessing data. But it was time consuming manually process.

Here is the process.

Create an account on Microsoft Azure Active Directory (AAD), by doing the app registrations get the application id and secret key. Then create a user in Azure.

Now switch to Dynamics 365 ->Settings ->Security -> Users ->Add new Application user (same user generated in azure) by providing application Id generated above. Use application Id and secret key to get token and based on token we can access API.

Ref Link (complete steps): https://www.youtube.com/watch?v=Td7Bk3IXJ9s

We are looking for simple way to access API.

  • Suggested answer
    Eccountable Profile Picture
    Eccountable 613 on at
    RE: How to connect our iPaaS system to Dynamics 365 accounts easily through 3 ledged authentications, so we can get products, customers, invoices, orders etc. through API?

    Why not use Azure Logic Apps? Logic Apps can query CRM data and create XML transformations, and send the files to other servers.

    Just set up a non-interactive user account in CRM for the Logic App to connect through.

    Once you have created the logic app once, you can set up a deployment script for new clients.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans