Skip to content

Commit ff1c9dc

Browse files
authored
Merge pull request #313975 from dksimpson/us544833-dks-7
Refresh article: Call logic app workflows from Power Apps (user story 556654)
2 parents a70d2f6 + f186a25 commit ff1c9dc

3 files changed

Lines changed: 60 additions & 52 deletions

File tree

Lines changed: 60 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,120 @@
11
---
2-
title: Call logic apps from Power Apps
3-
description: Call logic apps from Microsoft Power Apps by exporting logic apps as custom connectors.
4-
services: logic-apps
2+
title: Call Consumption Workflows from Power Apps
3+
description: Call Consumption logic app workflows from Microsoft Power Apps by exporting logic apps as custom connectors.
4+
services: azure-logic-apps
55
ms.suite: integration
6-
ms.reviewer: estfan, azla
6+
ms.reviewers: estfan, azla
77
ms.topic: how-to
8-
ms.date: 01/10/2024
8+
ms.update-cycle: 1095-days
9+
ms.date: 03/31/2026
10+
# Customer intent: As an integration developer who works with Azure Logic Apps and Microsoft Power Apps, I want to call a logic app workflow from Power Apps by exporting my logic app resource as a custom connector.
911
---
1012

11-
# Call logic app workflows from Power Apps
13+
# Call Consumption logic app workflows from Power Apps
1214

13-
[!INCLUDE [logic-apps-sku-consumption](~/reusable-content/ce-skilling/azure/includes/logic-apps-sku-consumption.md)]
15+
[!INCLUDE [logic-apps-sku-consumption](includes/logic-apps-sku-consumption.md)]
1416

15-
To call your logic app workflow from a Power Apps flow, you can export your logic app resource and workflow as a custom connector. You can then call your workflow from a flow in a Power Apps environment.
17+
When you need to run your logic app workflow from a Power Apps environment, export your logic app resource and workflow as a custom connector from the Azure portal. You can then use that connector in Power Apps to call your workflow.
1618

1719
## Prerequisites
1820

19-
* An Azure account and subscription. If you don't have an Azure subscription, [sign up for a free Azure account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
21+
- An Azure account and subscription. [Get a free Azure account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
2022

21-
* A Power Apps license.
23+
- A Power Apps license.
2224

23-
* A Consumption logic app workflow with a request trigger to export.
25+
- A Consumption logic app workflow that starts with the **Request** trigger.
2426

25-
> [!NOTE]
26-
>
27-
> The Export capability is available only for Consumption logic app workflows in multitenant Azure Logic Apps.
27+
The Export capability is available only for Consumption logic app workflows in multitenant Azure Logic Apps.
2828

29-
* A Power Apps flow from where to call your logic app workflow.
29+
- A Power Apps flow from where to call your logic app workflow.
3030

31-
## Export your logic app as a custom connector
31+
## 1: Export your logic app as a custom connector
3232

33-
Before you can call your workflow from Power Apps, you must first export your logic app resource as a custom connector.
33+
Before you can call your workflow from Power Apps, first export your logic app resource as a custom connector by following these steps:
3434

35-
1. In the [Azure portal](https://portal.azure.com) search box, enter **logic apps**. From the results, select **Logic apps**.
35+
1. In the [Azure portal](https://portal.azure.com) search box, enter `logic apps`. From the results, select **Logic apps**.
3636

37-
1. Select the logic app resource that you want to export.
37+
1. From the **Logic apps** page, select the Consumption logic app resource to export.
3838

39-
1. On your logic app menu, select **Overview**. On the **Overview** page toolbar, select **Export** > **Export to Power Apps**.
39+
1. On the logic app sidebar, select **Overview**. On the **Overview** page toolbar, select **Export** > **Export to Power Apps**.
4040

41-
:::image type="content" source="./media/call-from-power-apps/export-logic-app.png" alt-text="Screenshot shows Azure portal and Overview toolbar with Export button selected.":::
41+
:::image type="content" source="./media/call-from-power-apps/export-logic-app.png" alt-text="Screenshot shows Azure portal and Overview toolbar with Export to Power Apps selected.":::
4242

4343
1. On the **Export to Power Apps** pane, provide the following information:
4444

4545
| Property | Description |
4646
|----------|-------------|
47-
| **Name** | Provide a name for the custom connector to create from your logic app.
48-
| **Environment** | Select the Power Apps environment from which you want to call your logic app.
47+
| **Name** | Enter a name for the custom connector to create from your logic app. |
48+
| **Environment** | Select the Power Apps environment from where to call your logic app workflow. |
4949

50-
1. When you're done, select **OK**. To confirm that your logic app was successfully exported, check the notifications pane.
50+
> [!NOTE]
51+
>
52+
> If you get the following error, make sure that your logic app workflow starts with the [**Request** trigger](../connectors/connectors-native-reqres.md#add-a-request-trigger):
53+
>
54+
> **The current Logic App cannot be exported. To export, select a Logic App that has a request trigger.**
5155
52-
### Export errors
56+
1. When you finish, select **OK**. To confirm that the portal successfully exported the logic app, on the Azure title bar, open the notifications pane.
5357

54-
Here are errors that might happen when you export your logic app as a custom connector and suggested solutions:
58+
## 2: Call your logic app workflow from Power Apps
5559

56-
* **The current Logic App cannot be exported. To export, select a Logic App that has a request trigger.**: Check that your logic app workflow begins with a [Request trigger](../connectors/connectors-native-reqres.md).
60+
1. In [Power Apps](https://powerapps.microsoft.com/), on the sidebar, select **Flows**.
5761

58-
## Connect to your logic app workflow from Power Apps
62+
1. On the **Flows** page, select the flow from where you want to call your logic app workflow.
5963

60-
1. In [Power Apps](https://powerapps.microsoft.com/), on the **Power Apps** home page menu, select **Flows**.
64+
1. On the flow information page toolbar, select **Edit**.
6165

62-
1. On the **Flows** page, select the flow from where you want to call your logic app workflow.
66+
1. In the flow designer, under the operation where you want to call the logic app workflow, select **+ New step**.
67+
68+
1. In the **Choose an operation** search box, enter the name for your custom connector.
69+
70+
To show only custom connectors in your environment, select the **Custom** tab, for example:
6371

64-
1. On your flow page toolbar, select **Edit**.
72+
:::image type="content" source="./media/call-from-power-apps/power-apps-custom-connector-action.png" alt-text="Screenshot shows Power Apps flow designer with exported custom connector and available operations.":::
6573

66-
1. In the flow editor, select **+ New step**.
74+
1. Select the operation to call from your flow.
6775

68-
1. In the **Choose an operation** search box, enter the name for your logic app custom connector.
76+
1. Provide the necessary information to run the selected operation.
6977

70-
Optionally, to see only custom connectors in your environment, filter the results using the **Custom** tab, for example:
78+
1. Save your changes. On the flow designer toolbar, select **Save**.
7179

72-
:::image type="content" source="./media/call-from-power-apps/power-apps-custom-connector-action.png" alt-text="Screenshot shows Power Apps flow editor with a new operation added for custom connector and available actions.":::
80+
## 3: Test your workflow
7381

74-
1. Select the custom connector operation that you want to call from your flow.
82+
1. In Power Apps, run the flow to call and run the logic app workflow.
7583

76-
1. Provide the necessary operation information to pass to the custom connector.
84+
1. In the [Azure portal](https://portal.azure.com), on the exported logic app resource sidebar, under **Development Tools**, select **Run history**. From the runs list, select the run triggered by your flow in Power Apps.
7785

78-
1. On the Power Apps editor toolbar, select **Save** to save your changes.
86+
1. Confirm that your workflow ran as expected from your Power Apps flow.
7987

80-
1. In the [Azure portal](https://portal.azure.com), find and open the logic app resource that you exported.
88+
For more information, see [Review workflow run history](view-workflow-status-run-history.md?tabs=consumption#review-workflow-run-history).
8189

82-
1. Confirm that your logic app workflow works as expected with your Power Apps flow.
90+
## Delete custom connector from Power Apps
8391

84-
## Delete logic app custom connector from Power Apps
92+
When you don't need your custom connector anymore, delete the connector from your flow.
8593

86-
1. In [Power Apps](https://powerapps.microsoft.com), on the **Power Apps** home page menu, select **Discover**. On the **Discover** page, find the **Data** tile, and select **Custom connectors**.
94+
1. In [Power Apps](https://powerapps.microsoft.com), on the sidebar, select **Custom connectors**. If **Custom connectors** doesn't exist on the sidebar, select **More**, and then select **Discover all**.
8795

88-
1. In the list, find your custom connector, and select the ellipses (**...**) button, and then select **Delete**.
96+
1. From the list, find your custom connector, select the ellipses (**...**) button, and then select **Delete**.
8997

90-
:::image type="content" source="./media/call-from-power-apps/delete-custom-connector.png" alt-text="Screenshot shows Custom connectors page with custom connector management options.":::
98+
:::image type="content" source="./media/call-from-power-apps/delete-custom-connector.png" alt-text="Screenshot shows a custom connector with the ellipses button selected.":::
9199

92-
1. To confirm deletion, select **OK**.
100+
1. To finish, select **Delete**.
93101

94102
## Troubleshoot problems
95103

96104
### Environment not found
97105

98-
This error usually happens when the connection to a logic app workflow is unavailable or incorrect. To help you troubleshoot this problem, try the following options:
106+
This error usually occurs when the connection to a logic app workflow is unavailable or incorrect. To help you troubleshoot this problem, try the following options:
99107

100108
| Option | Details |
101-
|---|---|
109+
| ------ | ------- |
102110
| Check the environment name | Make sure that the environment name in the connection matches the deployment environment for your logic app resource. |
103-
| Check environment availability | Make sure that the logic app resource environment is available and not disabled or deleted. To check environment status, go to the Power Platform admin center. |
104-
| Check connection settings | In Power Apps, check that connection to the logic app is correctly set up and points to the correct environment. |
105-
| Check permissions | Make sure you have the required permissions to access the logic app workflow and environment. You might need specific roles assigned to you. For more information, see the following documentation: <br><br>- [Secure data and access to workflows](/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#access-to-logic-app-operations) <br><br>- [Access for inbound calls to request-based triggers](/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#access-for-inbound-calls-to-request-based-triggers) |
111+
| Check environment availability | Make sure that the logic app resource environment is available and not disabled or deleted. To check the environment status, go to the Power Platform admin center. |
112+
| Check connection settings | In Power Apps, check that the connection to the logic app is correctly set up and points to the correct environment. |
113+
| Check permissions | Make sure you have the required permissions to access the logic app workflow and environment. You might need specific roles assigned to you. <br>For more information, see: <br>- [Secure data and access to workflows](/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#access-to-logic-app-operations) <br>- [Access for inbound calls to request-based triggers](/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal#access-for-inbound-calls-to-request-based-triggers) |
106114
| Update the logic app | Check whether the logic app workflow has recent changes. For example, if the resource moved to a different environment, update the connection in Power Apps to reflect these changes. |
107115
| Review logs | Check the logs in Power Apps and Azure Logic Apps for any other error messages or information that might help identify the problem. |
108116

109117
## Related content
110118

111-
* [Managed connectors for Azure Logic Apps](/connectors/connector-reference/connector-reference-logicapps-connectors)
112-
* [Built-in connectors for Azure Logic Apps](../connectors/built-in.md)
119+
- [Managed connectors for Azure Logic Apps](/connectors/connector-reference/connector-reference-logicapps-connectors)
120+
- [Built-in connectors for Azure Logic Apps](../connectors/built-in.md)
5.41 KB
Loading
10.5 KB
Loading

0 commit comments

Comments
 (0)