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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Integration with Logic Apps

(0) ShareShare
ReportReport
Posted on by 6

Hi guys,

Microsoft recommend to use Logic Apps for integration, especially for enterprise integration - not in general, I know ;)


I want to using Logic Apps, but there are some limitations, which I would like solve:

  • How can I guarantee that my Logic App is only triggering on a specific use case?
    • Otherwise the Logic App is triggered every time when an update on e.g. a contact is happened in CRM

I mean, if I register my Azure Service Bus directly via PluginRegistration tool, I'm able to filter attributes or logic. 

But my goal is to decouple CRM from integration.

Regards,

Martin

I have the same question (0)
  • Suggested answer
    Wahaj Rashid Profile Picture
    11,321 on at

    Hi,

    Why don't you add conditions in the logic app itself to skip the rest of the steps when a condition is not met?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    You can use Http trigger as a trigger for your Azure logic app:

    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-http-endpoint#create-a-callable-endpoint

    Then use JavaScript to set events such as `onSave` events, and use Web API to call Azure logic app:

    Using XMLHttpRequest - Web APIs | MDN (mozilla.org)

  • MaSc4Crm Profile Picture
    6 on at

    Hi guys,

    thanks for your answer.

    Regarding the answer of Wahaj:

    This means the Logic App is triggered at least one time, when any action in CRM is happened - Benefit: Decoupled from D365.

    Regarding the answer of Frank:

    This means D365 and the integration layer are not decoupled, because D365 is triggering the Logic App. Is there still a benefit to use Logic Apps, when we don't use the D365 trigger anymore? Or is the benefit to have at least a part of code-less implementation within the Logic App itself?

    Is there any way how to decouple D365 from integration layer? E.g. F&O provides the capability of creating "Business Events", which can be used as trigger in a Logic App.

    My general approach is that integration layer is pulling information from CRM and is triggered by certain events. But I guess Logic Apps does not provide this feature out of the box.

    I mean from enterprise integration perspective, is it better approach to have multiple Logic Apps or to less Logic Apps with more actions in it?

    Regards,

    Martin

  • AriaConsulting Profile Picture
    2 on at

    To achieve decoupling plus event-driven, you have some options:

    • You can use Azure Functions.  Functions provides a basic eventr-driven decoupling layer, and then you can use either Logic Apps or Power Automate Flows, dpending on the complexity and scale of what you want to do
    • You can use Azure Event Grid (and even up to Event Hub) to utterly decouple.  And a logic app can be invoked based upon the signals to Event Grid

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans