Is there a workflow Rest API for Logic App Standard Single Tenant

Robert Lawrie 56 Reputation points
2022-02-09T15:12:21.21+00:00

As far as I can tell the Logic App Rest API documented here: https://learn.microsoft.com/en-us/rest/api/logic/ is not supported in the Single tenant (standard) implementation of Logic Apps.

What are the options for retrieving workflow status and run history via API? Can we use Azure Powershell?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,854 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 68,641 Reputation points
    2022-02-10T05:51:45.887+00:00

    @Robert Lawrie Thanks for reaching out. The standard logic app is built on top of function runtime and it uses the same function REST API. The API is not yet available for consumption and therefore it is not documented as of now. For now, the workaround would be finding the REST API calls using the browser traces or fiddler traces that are initiated from the portal. For your reference sharing the REST calls as per your requirement and you need to pass the Authorization: Bearer <bearer-token> as documented here for any azure management REST call.

    Get all workflow details for a particular standard logic app name:
    GET
    /subscriptions/{subscription ID}/resourceGroups/{resourcegroup name}/providers/Microsoft.Web/sites/{standard logicapp name}/workflows?api-version=2018-11-01

    Get details with workflow name:
    GET
    /subscriptions/{subscription ID}/resourceGroups/{resourcegroup name}/providers/Microsoft.Web/sites/{standard logicapp name}/workflows/{workflow name}?api-version=2018-11-01

    You can refer to flowState parameter on the above REST call to get the status of the workflow.

    Get Run history for a particular workflow:
    GET
    /subscriptions/{subscription ID}/resourceGroups/{resourcegroup name}/providers/Microsoft.Web/sites/{standard logicapp name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflow name}/runs?api-version=2018-11-01

    6 people found this answer helpful.

0 additional answers

Sort by: Most helpful