Skip to content

Commit 676e831

Browse files
Merge pull request #215359 from wsilveiranz/main
Exporting Consumption to Standard documentation
2 parents 25c0479 + ba634ed commit 676e831

17 files changed

+189
-0
lines changed
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
---
2+
title: Export workflows from Consumption to Standard
3+
description: Export logic app workflows created in the consumption sku to a Standard logic app using Visual Studio Code.
4+
services: logic-apps
5+
ms.suite: integration
6+
ms.reviewer: estfan, wsilveira
7+
ms.topic: how-to
8+
ms.date: 10/21/2022
9+
#Customer intent: As a developer, I want to export one or more Consumption workflows to a Standard workflow.
10+
---
11+
12+
# Export Consumption workflows to a Standard logic app (Preview)
13+
14+
> [!NOTE]
15+
>
16+
> This capability is in preview and is subject to the
17+
> [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
18+
19+
Standard logic app workflows, which run in single-tenant Azure Logic Apps, offer many new and improved capabilities. For example, you get compute isolation, virtual network integration, and private endpoints along with App Services Environment hosting, local development and debugging using Visual Studio Code, low latency with stateless workflows, and more.
20+
21+
If you want the benefits from Standard workflows, but your workflows run in multi-tenant Azure Logic Apps, you can now move your Consumption workflows to single-tenant Azure Logic Apps. This switch makes sense in scenarios that require some of the Standard capabilities such as isolation and network integration, lower latency or better predictability of costs.
22+
23+
You can now export Consumption logic apps to a Standard logic app. Using Visual Studio Code and the latest Azure Logic Apps (Standard) extension, you export your logic apps as stateful workflows to a Standard logic app project. You can then locally update, test, and debug your workflows to get them ready for redeployment. When you're ready, you can deploy either directly from Visual Studio Code or through your own DevOps process.
24+
25+
> [!NOTE]
26+
>
27+
> The export capability doesn't migrate your workflows. Instead, this tool replicates artifacts,
28+
> such as workflow definitions, connections, integration account artifacts, and others. Your source
29+
> logic app resources, workflows, trigger history, run history, and other data stay intact.
30+
>
31+
> You control the export process and your migration journey. You can test and validate your
32+
> exported workflows to your satisfaction with the destination environment. You choose when
33+
> to disable or delete your source logic apps.
34+
35+
This article provides information about the export process and shows how to export your logic app workflows from an ISE to a local Standard logic app project in Visual Studio Code.
36+
37+
## Known issues and limitations
38+
39+
- The following logic apps and scenarios are currently ineligible for export:
40+
41+
- Logic apps that use custom connectors
42+
- Logic apps that use the Azure API Management connector
43+
44+
- The export tool doesn't export any infrastructure information, such as integration account settings.
45+
46+
- The export tool can export logic app workflows with triggers that have concurrency settings. However, single-tenant Azure Logic Apps ignores these settings.
47+
48+
- Logic apps must exist in the same region if you want to export them within the same Standard logic app project.
49+
50+
- For now, connectors deploy as their *managed* versions, which appear in the designer under the **Azure** tab. The export tool will have the capability to export connectors that have a built-in, service provider counterpart, when the latter gain parity with their Azure versions. The export tool automatically makes the conversion when Azure connector is available to export as a built-in, service provider connector.
51+
52+
- By default, connection credentials aren't cloned from source logic app workflows. Before your logic app workflows can run, you'll have to reauthenticate these connections after export.
53+
54+
## Exportable operation types
55+
56+
| Operation | JSON type |
57+
|-----------|-----------|
58+
| Trigger | **Built-in**: `Http`, `HttpWebhook`, `Recurrence`, `manual` (Request) <br><br>**Managed**: `ApiConnection` `ApiConnectionNotification`, `ApiConnectionWebhook` |
59+
| Action | **Built-in**: `AppendToArrayVariable`, `AppendToStringVariable`, `Compose`, `DecrementVariable`, `Foreach`, `Http`, `HttpWebhook`, `If`, `IncrementVariable`, `InitializeVariable`, `JavaScriptCode`, `Join`, `ParseJson`, `Response`, `Scope`, `Select`, `SetVariable`, `Switch`, `Table`, `Terminate`, `Until`, `Wait` <br><br>- **Managed**: `ApiConnection`, `ApiConnectionWebhook` |
60+
61+
## Prerequisites
62+
63+
- One or more logic apps to deploy to the same subscription and Azure region, for example, East US 2.
64+
65+
- Azure contributor subscription-level access to the subscription where the logic apps are currently deployed, not just resource group-level access.
66+
67+
- Review and meet the requirements for [how to set up Visual Studio Code with the Azure Logic Apps (Standard) extension](create-single-tenant-workflows-visual-studio-code.md#prerequisites).
68+
69+
## Group logic apps for export
70+
71+
With the Azure Logic Apps (Standard) extension, you can combine multiple Consumption logic app workflows into a single Standard logic app project. In single-tenant Azure Logic Apps, one Standard logic app resource can have multiple workflows. With this approach, you can pre-validate your workflows so that you don't miss any dependencies when you select logic apps for export.
72+
73+
Consider the following recommendations when you select logic apps for export:
74+
75+
- Group logic apps where workflows share the same resources, such as integration account artifacts, maps, and schemas, or use resources through a chain of processes.
76+
77+
- For the organization and number of workflows per logic app, review [Best practices and recommendations](create-single-tenant-workflows-azure-portal.md#best-practices-and-recommendations).
78+
79+
## Export Consumption workflows to a local project
80+
81+
82+
### Select logic apps for export
83+
84+
1. In Visual Studio Code, sign in to Azure, if you haven't already.
85+
86+
1. In the left navigation bar, select **Azure** to open the **Azure** window (Shift + Alt + A), and expand the **Logic Apps (Standard)** extension view.
87+
88+
![Screenshot showing Visual Studio Code with 'Azure' view selected.](media/export-from-consumption-to-standard-logic-app/select-azure-view.png)
89+
90+
1. On the extension toolbar, select **Export Logic App...**.
91+
92+
![Screenshot showing Visual Studio Code and **Logic Apps (Standard)** extension toolbar with 'Export Logic App' selected.](media/export-from-consumption-to-standard-logic-app/select-export-logic-app.png)
93+
94+
1. After the **Export** tab opens, select your Azure subscription and region, and then select **Next**.
95+
96+
![Screenshot showing 'Export' tab and 'Select logic app instance' section with Azure subscription and region selected.](media/export-from-consumption-to-standard-logic-app/select-subscription-consumption.png)
97+
98+
1. Select the logic apps to export. Each selected logic app appears on the **Selected logic apps** list to the side. When you're done, select **Next**.
99+
100+
![Screenshot showing 'Select logic apps to export' section with logic apps selected for export.](media/export-from-consumption-to-standard-logic-app/select-logic-apps.png)
101+
102+
> [!TIP]
103+
>
104+
> You can also search for logic apps and filter on resource group.
105+
The export tool starts to validate whether your selected logic apps are eligible for export.
106+
107+
### Review export validation results
108+
109+
1. After export validation completes, review the results by expanding the entry for each logic app.
110+
111+
- Logic apps that have errors are ineligible for export. You must remove these logic apps from the export list until you fix them at the source. To remove a logic app from the list, select **Back**.
112+
113+
For example, **SourceLogicApp2** has an error and can't be exported until fixed:
114+
115+
![Screenshot showing 'Review export status' section and validation status for logic app workflow with error.](media/export-from-consumption-to-standard-logic-app/select-back-button-remove-app.png)
116+
117+
- Logic apps that pass validation with or without warnings are still eligible for export. To continue, select **Export** if all apps validate successfully, or select **Export with warnings** if apps have warnings.
118+
119+
For example, **SourceLogicApp3** has a warning, but you can still continue to export:
120+
121+
![Screenshot showing 'Review export status' section and validation status for logic app workflow with warning.](media/export-from-consumption-to-standard-logic-app/select-export-with-warnings.png)
122+
123+
The following table provides more information about each validation icon and status:
124+
125+
| Validation icon | Validation status |
126+
|-----------------|-------------------|
127+
| ![Success icon](media/export-from-consumption-to-standard-logic-app/success-icon.png) | Item passed validation, so export can continue without problems to resolve. |
128+
| ![Failed icon](media/export-from-consumption-to-standard-logic-app/failed-icon.png) | Item failed validation, so export can't continue. <br><br>The validation entry for the failed item automatically appears expanded and provides information about the validation failure. |
129+
| ![Warning icon](media/export-from-consumption-to-standard-logic-app/warning-icon.png) | Item passed validation with a warning, but export can continue with required post-export resolution. <br><br>The validation entry for the item with a warning automatically appears expanded and provides information about the warning and required post-export remediation. |
130+
131+
1. After the **Finish export** section appears, for **Export location**, browse and select a local folder for your new Standard logic app project.
132+
133+
![Screenshot showing 'Finish export' section and 'Export location' property with selected local export project folder.](media/export-from-consumption-to-standard-logic-app/select-local-folder.png)
134+
135+
1. If your workflow has *managed* connections that you want to deploy, which is only recommended for non-production environments, select **Deploy managed connections**, which shows existing resource groups in your Azure subscription. Select the resource group where you want to deploy the managed connections.
136+
137+
![Screenshot showing 'Finish export' section with selected local export folder, 'Deploy managed connections' selected, and target resource group selected.](media/export-from-consumption-to-standard-logic-app/select-deploy-managed-connections-resource-group.png)
138+
139+
1. Under **After export steps**, review any required post-export steps, for example:
140+
141+
![Screenshot showing **After export steps** section and required post-export steps, if any.](media/export-from-consumption-to-standard-logic-app/review-post-export-steps.png)
142+
143+
1. Based on your scenario, select **Export and finish** or **Export with warnings and finish**.
144+
145+
The export tool downloads your project to your selected folder location, expands the project in Visual Studio Code, and deploys any managed connections, if you selected that option.
146+
147+
![Screenshot showing the 'Export status` section with export progress.](media/export-from-consumption-to-standard-logic-app/export-status.png)
148+
149+
1. After this process completes, Visual Studio Code opens a new workspace. You can now safely close the export window.
150+
151+
1. From your Standard logic app project, open and review the README.md file for the required post-export steps.
152+
153+
![Screenshot showing a new Standard logic app project with README.md file opened.](media/export-from-consumption-to-standard-logic-app/open-readme.png)
154+
155+
## Post-export steps
156+
157+
### Remediation steps
158+
159+
Some exported logic app workflows require post-export remediation steps to run on the Standard platform.
160+
161+
1. From your Standard logic app project, open the README.md file, and review the remediation steps for your exported workflows. The export tool generates the README.md file, which contains all the required post-export steps.
162+
163+
1. Before you make any changes to your source logic app workflow, make sure to test your new Standard logic app resource and workflows.
164+
165+
### Integration account actions and settings
166+
167+
If you export actions that depend on an integration account, you have to manually set up your Standard logic app with a reference link to the integration account that contains the required artifacts. For more information, review [Link integration account to a Standard logic app](logic-apps-enterprise-integration-create-integration-account.md#link-account).
168+
169+
## Project folder structure
170+
171+
After the export process finishes, your Standard logic app project contains new folders and files alongside most others in a [typical Standard logic app project](create-single-tenant-workflows-visual-studio-code.md).
172+
173+
The following table describes these new folders and files added by the export process:
174+
175+
| Folder | File | Description |
176+
|--------|------|-------------|
177+
| .development\\deployment | LogicAppStandardConnections.parameters.json | Azure Resource Manager template parameters file for deploying managed connectors |
178+
| | LogicAppStandardConnections.template.json | Azure Resource Manager template definition for deploying managed connectors |
179+
| | LogicAppStandardInfrastructure.parameters.json | Azure Resource Manager template parameters file for deploying Standard logic app resource |
180+
| | LogicAppStandardInfrastructure.template.json | Azure Resource Manager template definition for deploying Standard logic app resource |
181+
| .logs\\export | exportReport.json | Export report summary raw file, which includes all the steps required for post-export remediation |
182+
| | exportValidation.json | Validation report raw file, which includes the validation results for each exported logic app |
183+
| | README.md | Markdown file with export results summary, including the created logic apps and all the required next steps |
184+
185+
## Next steps
186+
187+
- [Run, test, and debug locally](create-single-tenant-workflows-visual-studio-code.md#run-test-and-debug-locally)
27.1 KB
Loading
308 Bytes
Loading
122 KB
Loading
35.5 KB
Loading
18 KB
Loading
57.4 KB
Loading
Loading
20.4 KB
Loading
53.1 KB
Loading

0 commit comments

Comments
 (0)