Share via

Call service endpoints over HTTP or HTTPS from Azure Logic Apps vs. request -response pattern

Shawn 91 Reputation points
2023-04-05T13:13:43.1366667+00:00

Hi, I am trying to send the statuscode and/or output of the action (e.g., create file) to D365 FO. Our logic app workflows start with HTTP request trigger which is received from D365. which way is better among two approaches?:

  1. HTTP request action (using custom service endpoint exposed by D365) vs.
  2. request -Response pattern( like described in https://learn.microsoft.com/en-us/azure/connectors/connectors-native-reqres?tabs=standard#add-a-response-action.

If we use http request action using custom service endpoint for this purpose, does it cost extra everytime the logic app calls that service endpoint exposed from D365? Thank you.

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.


1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,661 Reputation points Microsoft Employee Moderator
    2023-04-19T15:29:58.0566667+00:00

    I'm not familiar with how the D365 FO side of the equation works behind the scenes but if you can use the response from the Logic App from D365, then you should just use Response Action since that would be the simplest. But if that is not possible, or you are running into timeouts, then you should use the Request Action to call D365 from your Logic App. This is the same advice irrespective of whether you are using D365 to call Logic Apps or any other service.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.