You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/logic-apps/set-up-devops-deployment-single-tenant-azure-logic-apps.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,11 +127,11 @@ You can set up build and release pipelines either inside or outside Azure that d
127
127
> local.settings.json
128
128
> ```
129
129
130
-
## Before you release to Azure
130
+
### Before you release to Azure
131
131
132
132
The managed API connections inside your logic app project's **connections.json** file are created specifically for local use in Visual Studio Code. Before you can release your project artifacts from Visual Studio Code to Azure, you have to update these artifacts. To use the managed API connections in Azure, you have to update their authentication methods so that they're in the correct format to use in Azure.
133
133
134
-
### Update authentication type
134
+
#### Update authentication type
135
135
136
136
For each managed API connection that uses authentication, you have to update the **`authentication`** object from the local format in Visual Studio Code to the Azure portal format, as shown by the first and second code examples, respectively:
137
137
@@ -179,7 +179,7 @@ For each managed API connection that uses authentication, you have to update the
179
179
}
180
180
```
181
181
182
-
### Create API connections as needed
182
+
####Create API connections as needed
183
183
184
184
If you're deploying your Standard logic app to an Azure region or subscription different from your local development environment, you must also make sure to create these managed API connections before deployment. Azure Resource Manager template (ARM template) deployment is the easiest way to create managed API connections.
185
185
@@ -237,15 +237,15 @@ In the response, find the **`connectionParameters`** object, which contains the
237
237
238
238
As an alternative, you can capture and review the network trace for when you create a connection using the workflow designer in Azure Logic Apps. Find the **`PUT`** call that is sent to the managed connector's API as previously described, and review the request body for all the necessary information.
239
239
240
-
### On-premises data gateway resource definition
240
+
####On-premises data gateway resource definition
241
241
242
242
If your connection uses an on-premises data gateway resource, this resource definition exists separately from the connector resource definition. To view the data gateway's resource definition, see [Automate deployment for Azure Logic Apps by using Azure Resource Manager templates](logic-apps-azure-resource-manager-templates-overview.md#data-gateway-resource-definitions) and [Microsoft.Web connectionGateways](/azure/templates/microsoft.web/connectiongateways?pivots=deployment-language-arm-template#connectiongatewayreference-1).
243
243
244
-
## Release to Azure
244
+
###Release to Azure
245
245
246
246
To set up a release pipeline that deploys to Azure, follow the associated steps for GitHub, Azure DevOps, or Azure CLI.
247
247
248
-
### [GitHub](#tab/github)
248
+
####[GitHub](#tab/github)
249
249
250
250
For GitHub deployments, you can deploy your logic app by using [GitHub Actions](https://docs.github.com/actions), for example, the GitHub Actions in Azure Functions. This action requires that you pass through the following information:
251
251
@@ -286,7 +286,7 @@ For Azure DevOps deployments, you can deploy your logic app by using the [Azure
286
286
287
287
For more information, review [Deploy an Azure Function using Azure Pipelines](/azure/devops/pipelines/targets/azure-functions-windows).
288
288
289
-
### [Azure CLI](#tab/azure-cli)
289
+
#### [Azure CLI](#tab/azure-cli)
290
290
291
291
If you use other deployment tools, you can deploy your Standard logic app by using the Azure CLI. Before you start, you need the following items:
292
292
@@ -317,7 +317,7 @@ If you use other deployment tools, you can deploy your Standard logic app by usi
317
317
318
318
<a name="check-pip-version"></a>
319
319
320
-
#### Check pip installation
320
+
##### Check pip installation
321
321
322
322
1. On a Windows or Mac operating system, open a command prompt, and enter the following command:
323
323
@@ -333,7 +333,7 @@ If you use other deployment tools, you can deploy your Standard logic app by usi
333
333
334
334
<a name="check-environment-cli-version"></a>
335
335
336
-
#### Check environment and CLI version
336
+
##### Check environment and CLI version
337
337
338
338
1. Sign in to the [Azure portal](https://portal.azure.com). In a terminal or command window, confirm that your subscription is active by running the command, [**`az login`**](/cli/azure/authenticate-azure-cli):
339
339
@@ -356,7 +356,7 @@ If you use other deployment tools, you can deploy your Standard logic app by usi
356
356
357
357
<a name="install-logic-apps-cli-extension"></a>
358
358
359
-
#### Install Azure Logic Apps (Standard) extension for Azure CLI
359
+
##### Install Azure Logic Apps (Standard) extension for Azure CLI
360
360
361
361
Currently, only the *preview* version for this extension is available. If you didn't install this extension yet, run the command, **`az extension add`**, with the following required parameters:
362
362
@@ -381,7 +381,7 @@ az extension add --yes --source "https://aka.ms/logicapp-latest-py2.py3-none-any
381
381
382
382
<a name="create-resource-group"></a>
383
383
384
-
#### Create resource group
384
+
##### Create resource group
385
385
386
386
If you don't have an existing Azure resource group to use for deployment, create the group by running the command, **`az group create`**. Unless you already set a default subscription for your Azure account, make sure to use the **`--subscription`** parameter with your subscription name or identifier. Otherwise, you don't have to use the **`--subscription`** parameter.
387
387
@@ -413,7 +413,7 @@ If your resource group is successfully created, the output shows the **`provisio
413
413
414
414
<a name="deploy-logic-app"></a>
415
415
416
-
#### Deploy logic app
416
+
##### Deploy logic app
417
417
418
418
Now, you can deploy your zipped artifacts to the Azure resource group that you created.
Each API connection has access policies. After the zip deployment completes, you must open your Standard logic app resource in the Azure portal, and create access policies for each API connection to set up permissions for the deployed logic app. The zip deployment doesn't create app settings for you. After deployment, you must create these app settings based on the **local.settings.json** file in your logic app project.
0 commit comments