I’ve created a custom connector to get the run history of a specified flow in a specified environment.

Please follow the instructions from the Power Apps blog post for the app registration. Add the Flows.Read.All permission instead.

Download and import the swagger file for the custom connector.  Enter Client Id, Client Secret and Resource URL: https://service.flow.microsoft.com/. There’s one action, Get Flow Runs.

The request has the environment id, flow id, and api-version as input.

Test operation is successful with the following result.

Now I’m able to use this action of the custom connector to get the flow run history and process the data.

The post Custom connector to get flow run history appeared first on There's Something About Dynamics 365.