|
1 | 1 | --- |
2 | | -title: Create Consumption logic app templates for deployment |
3 | | -description: Create Azure Resource Manager templates to automate deployment for Consumption logic apps in Azure Logic Apps. |
| 2 | +title: Create ARM Templates for Consumption Workflows |
| 3 | +description: Create Azure Resource Manager templates (ARM templates) for Consumption logic app workflows in multitenant Azure Logic Apps. |
4 | 4 | services: logic-apps |
5 | 5 | ms.suite: integration |
6 | | -ms.reviewer: estfan, azla |
| 6 | +ms.reviewers: estfan, azla |
7 | 7 | ms.topic: how-to |
| 8 | +ms.update-cycle: 1095-days |
| 9 | +ms.date: 03/11/2026 |
8 | 10 | ms.custom: devx-track-azurepowershell, devx-track-arm-template |
9 | | -ms.date: 02/19/2025 |
| 11 | +# Customer intent: As an integration developer who works with Azure Logic Apps, I want to create ARM templates for Consumption logic app workflows in multitenant Azure Logic Apps. |
10 | 12 | --- |
11 | 13 |
|
12 | | -# Create Azure Resource Manager templates to automate Consumption logic app deployment for Azure Logic Apps |
| 14 | +# Create Consumption logic app workflows in multitenant Azure Logic Apps by using ARM templates |
13 | 15 |
|
14 | | -[!INCLUDE [logic-apps-sku-consumption](~/reusable-content/ce-skilling/azure/includes/logic-apps-sku-consumption.md)] |
| 16 | +[!INCLUDE [logic-apps-sku-consumption](includes/logic-apps-sku-consumption.md)] |
15 | 17 |
|
16 | | -To help you automatically create and deploy a Consumption logic app, this article describes the ways that you can create an [Azure Resource Manager template](../azure-resource-manager/management/overview.md). Azure Logic Apps also provides a [prebuilt logic app Azure Resource Manager template](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.logic/logic-app-create/azuredeploy.json) that you can reuse, not only to create Consumption logic apps, but also to define the resources and parameters for deployment. You can use this template for your own business scenarios or customize the template to meet your requirements. For an overview about the structure and syntax for a template that contains a workflow definition and other resources necessary for deployment, see [Overview: Automate deployment for logic apps with Azure Resource Manager templates](logic-apps-azure-resource-manager-templates-overview.md). |
| 18 | +To help you automatically create and deploy a Consumption logic app, this guide shows how to create an [Azure Resource Manager template](../azure-resource-manager/management/overview.md). Azure Logic Apps provides a [prebuilt logic app Azure Resource Manager template](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.logic/logic-app-create/azuredeploy.json) that you can reuse, not only to create Consumption logic apps, but also to define the resources and parameters for deployment. You can use this template for your own business scenarios or customize the template to meet your requirements. For an overview about the structure and syntax for a template that contains a workflow definition and other resources necessary for deployment, see [Overview: Automate deployment for logic apps with Azure Resource Manager templates](logic-apps-azure-resource-manager-templates-overview.md). |
17 | 19 |
|
18 | 20 | > [!IMPORTANT] |
19 | 21 | > |
20 | | -> This article applies only to Consumption logic apps, not Standard logic apps. Make sure that |
| 22 | +> This guide applies only to Consumption logic apps, not Standard logic apps. Make sure that |
21 | 23 | > connections in your template use the same Azure resource group and location as your logic app. |
22 | 24 |
|
23 | | -For more information about Azure Resource Manager templates, see the following topics: |
| 25 | +For more information, see: |
24 | 26 |
|
25 | 27 | * [Azure Resource Manager template structure and syntax](../azure-resource-manager/templates/syntax.md) |
26 | 28 | * [Author Azure Resource Manager templates](../azure-resource-manager/templates/syntax.md) |
27 | 29 | * [Develop Azure Resource Manager templates for cloud consistency](../azure-resource-manager/templates/template-cloud-consistency.md) |
28 | 30 |
|
| 31 | +## Prerequisites |
| 32 | + |
| 33 | +You need an Azure account and subscription. [Get a free Azure account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn). |
| 34 | + |
29 | 35 | <a name="azure-powershell"></a> |
30 | 36 |
|
31 | 37 | ## Create templates with Azure PowerShell |
32 | 38 |
|
33 | 39 | You can create Resource Manager templates by using Azure PowerShell with the [LogicAppTemplate module](https://github.com/jeffhollan/LogicAppTemplateCreator). This open-source module first evaluates your logic app and any connections that the logic app uses. The module then generates template resources with the necessary parameters for deployment. |
34 | 40 |
|
35 | | -For example, suppose you have a logic app that receives a message from an Azure Service Bus queue and uploads data to Azure SQL Database. The module preserves all the orchestration logic and parameterizes the SQL and Service Bus connection strings so that you can provide and change those values based on your deployment needs. |
| 41 | +For example, suppose you have a logic app that receives a message from an Azure Service Bus queue and uploads data to Azure SQL Database. The module preserves the orchestration logic and parameterizes the SQL and Service Bus connection strings so that you can provide and change those values based on your deployment needs. |
36 | 42 |
|
37 | 43 | These samples show how to create and deploy logic apps by using Azure Resource Manager templates, Azure Pipelines in Azure DevOps, and Azure PowerShell: |
38 | 44 |
|
@@ -62,7 +68,7 @@ Or, to install manually, follow the steps in GitHub for [Logic App Template Crea |
62 | 68 |
|
63 | 69 | ### Install Azure Resource Manager client |
64 | 70 |
|
65 | | -For the LogicAppTemplate module to work with any Azure tenant and subscription access token, install the [Azure Resource Manager client tool](https://github.com/projectkudu/ARMClient), which is a simple command line tool that calls the Azure Resource Manager API. |
| 71 | +For the LogicAppTemplate module to work with any Azure tenant and subscription access token, install the [Azure Resource Manager client tool](https://github.com/projectkudu/ARMClient). This simple command line tool calls the Azure Resource Manager API. |
66 | 72 |
|
67 | 73 | When you run the `Get-LogicAppTemplate` command with this tool, the command first gets an access token through the ARMClient tool, pipes the token to the PowerShell script, and creates the template as a JSON file. For more information about the tool, see this [article about the Azure Resource Manager client tool](https://blog.davidebbo.com/2015/01/azure-resource-manager-client.html). |
68 | 74 |
|
|
0 commit comments