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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

D365 Sales integration to an OnPremise API

(0) ShareShare
ReportReport
Posted on by 6

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

I have the same question (0)
  • Bruno Lucas Profile Picture
    5,421 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 109

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 58 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans