Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

D365 Sales integration to an OnPremise API

Posted on by 247

Hi,

we are using D365 Sales (Cloud) and would like to connect (vice versa) to an API which is hosted on premise.

Requirements

  • Onpremise API should not be accessible by public
  • We would like to call the on premise API as a WebHook in plugins
  • Communications should be in both directions
    • OnPremise logic/apps can call the D365 WebAPI in a secure manner
    • D365 logic (plugins) can call the on premise API
  • The communication can be asynchronous and sometimes synchronous

What is the best solution for this or which optionals a matching? Which components to we need from Azure side 

Is Onpremise data gateway a good solution for event driven integrations?

Regards,

Martin

  • Bruno Lucas Profile Picture
    Bruno Lucas 5,421 on at
    RE: D365 Sales integration to an OnPremise API

    Do you also have Azure? that would simplify things since to expose D365 Sales (Cloud)  the best approach is to create an azure service principal account for the integration that goes from cloud to on-prem

    that is how you use the application user account to expose and api to onprem. that also uses a cheaper/ or maybe free license: powerobjects.com/.../

    So many options but what many would do is first see if you can use something like  Microsoft identity platform access tokens or an alternative like Forge Rock

    That is the most popular approach to secure APIs these days

    Other options would be using a firewall to white list api consumers but not as good as the above

    that my help you to decide:

    stackoverflow.com/.../use-on-premise-ad-for-authentication-in-asp-net-core-web-api

    To invoke  the API in d365 cloud you as a webhook you can either use the plugin registration tool (Synch/Asynch):

    www.itaintboring.com/.../

    docs.microsoft.com/.../use-webhooks

    :pastedimage1645167985368v1.png

    or Power automate Dataverse Actions. those are fast but not sure if its real synchronous or near-synchronous

    https://forwardforever.com/how-to-use-an-api-with-power-automate/

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans