Where did the missing milliseconds go in a Logic App execution?

Context While investigating the latency of an API, I noticed that different Azure services were reporting different execution times for the same request. The caller reported a total duration of 851ms, APIM reported 845ms, and Application Insights showed that APIM waited 837.6ms for the Logic App to respond. However, the Logic App runtime view appeared to show only about 400ms of execution time. The request flows through APIM to a Logic App (Consumption), which performs some in-memory processing before invoking an HTTP endpoint as part of the workflow. ...

July 13, 2026 · 6 min

Extracting Swagger definition for Azure Logic App and importing to Azure APIM

Use case — I want to import a Logic App as an API within my APIM instance. There is no direct way to get the swagger file of a logic app using CLI (at least, I could not figure out). So, detailing the steps to extract the swagger definition of a logic app. I use the generated swagger file to import a Logic App as an API within APIM using Azure CLI ...

June 10, 2024 · 2 min

Calling a Logic App from APIM

There are couple of ways to integrate an APIM with Logic App. The most common use case as far as I know is exposing the Logic App as an API on the APIM. The other scenario is calling a Logic App from APIM. I will provide the APIM policy snippet to call a Logic App. If you are using Managed Identity to authenticate to Logic App (will cover in a separate article), you can skip sending the bearer token. ...

May 22, 2024 · 2 min