Skip to content

Commit 3b0bb13

Browse files
authored
Merge pull request #262946 from ecfan/fresh
Azure Logic Apps: Update doc about calling from Power Apps (refresh) and Power Automate (deprecated)
2 parents 4f5eaf0 + 8986667 commit 3b0bb13

17 files changed

+115
-173
lines changed

articles/logic-apps/.openpublishing.redirection.logic-apps.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path_from_root": "/articles/logic-apps/call-from-power-automate-power-apps.md",
5+
"redirect_url": "/azure/logic-apps/call-from-power-apps",
6+
"redirect_document_id": true
7+
},
38
{
49
"source_path_from_root": "/articles/logic-apps/sap-create-example-scenario-workflows.md",
510
"redirect_url": "/azure/logic-apps/connectors/sap-create-example-scenario-workflows",

articles/logic-apps/block-connections-across-tenants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 08/01/2022
8+
ms.date: 01/10/2024
99
# Customer intent: As a developer, I want to prevent access to and from other Microsoft Entra tenants.
1010
---
1111

articles/logic-apps/block-connections-connectors.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: deli, estfan, azla
77
ms.topic: how-to
8-
ms.date: 08/22/2022
8+
ms.date: 01/10/2024
99
---
1010

1111
# Block connector usage in Azure Logic Apps
@@ -101,7 +101,7 @@ To block creating a connection altogether in a logic app workflow, follow these
101101
| **Policy enforcement** | Yes | **Enabled** | This setting specifies whether to enable or disable the policy definition when you save your work. |
102102
|||||
103103

104-
1. Under **POLICY RULE**, the JSON edit box is pre-populated with a policy definition template. Replace this template with your [policy definition](../governance/policy/concepts/definition-structure.md) based on the properties described in the table below and by following this syntax:
104+
1. Under **POLICY RULE**, the JSON edit box is prepopulated with a policy definition template. Replace this template with your [policy definition](../governance/policy/concepts/definition-structure.md) based on the properties described in the table below and by following this syntax:
105105

106106
```json
107107
{
@@ -222,7 +222,7 @@ When you create a connection in a logic app workflow, this connection exists as
222222
| **Policy enforcement** | Yes | **Enabled** | This setting specifies whether to enable or disable the policy definition when you save your work. |
223223
|||||
224224

225-
1. Under **POLICY RULE**, the JSON edit box is pre-populated with a policy definition template. Replace this template with your [policy definition](../governance/policy/concepts/definition-structure.md) based on the properties described in the table below and by following this syntax:
225+
1. Under **POLICY RULE**, the JSON edit box is prepopulated with a policy definition template. Replace this template with your [policy definition](../governance/policy/concepts/definition-structure.md) based on the properties described in the table below and by following this syntax:
226226

227227
```json
228228
{
@@ -320,7 +320,7 @@ Next, you need to assign the policy definition where you want to enforce the pol
320320

321321
1. After the policy takes effect, you can [test your policy](#test-policy).
322322

323-
For more information, see [Quickstart: Create a policy assignment to identify non-compliant resources](../governance/policy/assign-policy-portal.md).
323+
For more information, see [Quickstart: Create a policy assignment to identify noncompliant resources](../governance/policy/assign-policy-portal.md).
324324

325325
<a name="test-policy"></a>
326326

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
---
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
5+
ms.suite: integration
6+
ms.reviewer: estfan, azla
7+
ms.topic: how-to
8+
ms.date: 01/10/2024
9+
---
10+
11+
# Call logic app workflows from Power Apps
12+
13+
[!INCLUDE [logic-apps-sku-consumption](../../includes/logic-apps-sku-consumption.md)]
14+
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.
16+
17+
## Prerequisites
18+
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/free/?WT.mc_id=A261C142F).
20+
21+
* A Power Apps license.
22+
23+
* A Consumption logic app workflow with a request trigger to export.
24+
25+
> [!NOTE]
26+
>
27+
> The Export capability is available only for Consumption logic app workflows in multitenant Azure Logic Apps.
28+
29+
* A Power Apps flow from where to call your logic app workflow.
30+
31+
## Export your logic app as a custom connector
32+
33+
Before you can call your workflow from Power Apps, you must first export your logic app resource as a custom connector.
34+
35+
1. In the [Azure portal](https://portal.azure.com) search box, enter **logic apps**. From the results, select **Logic apps**.
36+
37+
1. Select the logic app resource that you want to export.
38+
39+
1. On your logic app menu, select **Overview**. On the **Overview** page toolbar, select **Export** > **Export to Power Apps**.
40+
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.":::
42+
43+
1. On the **Export to Power Apps** pane, provide the following information:
44+
45+
| Property | Description |
46+
|----------|-------------|
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.
49+
50+
1. When you're done, select **OK**. To confirm that your logic app was successfully exported, check the notifications pane.
51+
52+
### Export errors
53+
54+
Here are errors that might happen when you export your logic app as a custom connector and suggested solutions:
55+
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).
57+
58+
## Connect to your logic app workflow from Power Apps
59+
60+
1. In [Power Apps](https://powerapps.microsoft.com/), on the **Power Apps** home page menu, select **Flows**.
61+
62+
1. On the **Flows** page, select the flow from where you want to call your logic app workflow.
63+
64+
1. On your flow page toolbar, select **Edit**.
65+
66+
1. In the flow editor, select **&#43; New step**.
67+
68+
1. In the **Choose an operation** search box, enter the name for your logic app custom connector.
69+
70+
Optionally, to see only custom connectors in your environment, filter the results using the **Custom** tab, for example:
71+
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.":::
73+
74+
1. Select the custom connector operation that you want to call from your flow.
75+
76+
1. Provide the necessary operation information to pass to the custom connector.
77+
78+
1. On the Power Apps editor toolbar, select **Save** to save your changes.
79+
80+
1. In the [Azure portal](https://portal.azure.com), find and open the logic app resource that you exported.
81+
82+
1. Confirm that your logic app workflow works as expected with your Power Apps flow.
83+
84+
## Delete logic app custom connector from Power Apps
85+
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**.
87+
88+
1. In the list, find your custom connector, and select the ellipses (**...**) button, and then select **Delete**.
89+
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.":::
91+
92+
1. To confirm deletion, select **OK**.
93+
94+
## Next steps
95+
96+
* [Managed connectors for Azure Logic Apps](/connectors/connector-reference/connector-reference-logicapps-connectors)
97+
* [Built-in connectors for Azure Logic Apps](../connectors/built-in.md)

articles/logic-apps/call-from-power-automate-power-apps.md

Lines changed: 0 additions & 160 deletions
This file was deleted.

articles/logic-apps/create-single-tenant-workflows-visual-studio-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 01/03/2023
8+
ms.date: 01/10/2024
99
ms.custom: ignite-fall-2021, engagement-fy23, devx-track-dotnet
1010
# Customer intent: As a logic apps developer, I want to create a Standard logic app workflow that runs in single-tenant Azure Logic Apps using Visual Studio Code.
1111
---

articles/logic-apps/estimate-storage-costs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 08/20/2022
8+
ms.date: 01/10/2024
99
---
1010

1111
# Estimate storage costs for Standard logic app workflows in single-tenant Azure Logic Apps
1212

1313
[!INCLUDE [logic-apps-sku-standard](../../includes/logic-apps-sku-standard.md)]
1414

15-
Azure Logic Apps uses [Azure Storage](../storage/index.yml) for any storage operations. In traditional *multi-tenant* Azure Logic Apps, any storage usage and costs are attached to the logic app. Now, in *single-tenant* Azure Logic Apps, you can use your own storage account. These storage costs are listed separately in your Azure billing invoice. This capability gives you more flexibility and control over your logic app data.
15+
Azure Logic Apps uses [Azure Storage](../storage/index.yml) for any storage operations. In traditional *multitenant* Azure Logic Apps, any storage usage and costs are attached to the logic app. Now, in *single-tenant* Azure Logic Apps, you can use your own storage account. These storage costs are listed separately in your Azure billing invoice. This capability gives you more flexibility and control over your logic app data.
1616

1717
> [!NOTE]
18-
> This article applies to workflows in the single-tenant Azure Logic Apps environment. These workflows exist in the same logic app and in a single tenant that share the same storage. For more information, see [Single-tenant versus multi-tenant and integration service environment](single-tenant-overview-compare.md).
18+
> This article applies to workflows in the single-tenant Azure Logic Apps environment. These workflows exist in the same logic app and in a single tenant that share the same storage. For more information, see [Single-tenant versus multitenant and integration service environment](single-tenant-overview-compare.md).
1919
2020
Storage costs change based on your workflows' content. Different triggers, actions, and payloads result in different storage operations and needs. This article describes how to estimate your storage costs when you're using your own Azure Storage account with single-tenant based logic apps. First, you can [estimate the number of storage operations you'll perform](#estimate-storage-needs) using the Logic Apps storage calculator. Then, you can [estimate your possible storage costs](#estimate-storage-costs) using these numbers in the Azure pricing calculator.
2121

articles/logic-apps/export-from-microsoft-flow-logic-app-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.suite: integration
66
ms.reviewer: estfan, sneshaf, pinath, azla
77
ms.topic: how-to
88
ms.custom: devx-track-arm-template
9-
ms.date: 01/23/2023
9+
ms.date: 01/10/2024
1010
---
1111

1212
# Export flows from Power Automate and deploy to Azure Logic Apps
29.1 KB
Loading

0 commit comments

Comments
 (0)