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 :

How to call Dynamics 365 Action from Logic App.

Michael Ghebremedin Profile Picture Michael Ghebremedin 107

How to call Dynamics 365 Action from Logic App.


You might have stumbled in a scenario where you have an Action in Dynamics 365 and you want to trigger it from a Logic App.

As you know the Dynamic 365 Connector has good features, but it does not have the ability to call an Action at least as far as I know.

You can solve this by leveraging the HTTP call in logic App, to have a better understanding you can read on the following article
https://docs.microsoft.com/en-us/azure/connectors/connectors-native-http.

So the idea is to create a Rest API call that triggers the Dynamics 365 Action.
Prerequisite:
  1. Generate your REST API call
    1. You can use CRM REST Builder
    2. In general though this is the generic path to call an action {{clientUrl}}/api/data/v9.1/{{Entity Name}}({{Record Guid}})/Microsoft.Dynamics.CRM.{{Unique Name of Action}}
  2. Get the following information for Active Directory OAuth authentication
    1. Tenant ID
    2. Audience which is the Client URL
    3. Client ID
    4. Secrete Key

Once you have these information you just have to create an HTTP Action you can refer the following Image



Happy Coding :)


This was originally posted here.

Comments

*This post is locked for comments