Skip to content

Commit 556a6de

Browse files
author
ecfan
committed
Clarity edits
1 parent 9c74c48 commit 556a6de

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

articles/logic-apps/set-up-devops-deployment-single-tenant-azure-logic-apps.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -85,26 +85,45 @@ For example, the following diagram shows the dependencies between a Standard log
8585

8686
<a name="deploy-logic-app-resources"></a>
8787

88-
## Deploy logic app resources (zip deploy)
88+
## Build and deploy logic app (zip deploy)
8989

9090
If you have a Standard logic app project, push that project and artifact files to your source repository. You can then set up build and release pipelines either inside or outside Azure that deploy Standard logic apps to your infrastructure.
9191

9292
### Build your project
9393

94-
To set up a build pipeline based on your logic app project type, complete the corresponding actions in the following table:
95-
96-
| Project type | Description and steps |
97-
|--------------|-----------------------|
98-
| Nuget-based | The NuGet-based project structure is based on the .NET Framework. To build these projects, make sure to follow the build steps for .NET Standard. For more information, review the documentation for [Create a NuGet package using MSBuild](/nuget/create-packages/creating-a-package-msbuild). |
99-
| Bundle-based | The extension bundle-based project isn't language-specific and doesn't require any language-specific build steps. You can use any method to zip your project files. <br><br>**Important**: Make sure that your zip file contains the actual build artifacts, including all workflow folders, configuration files such as **host.json**, **connections.json**, and any other related files. |
94+
1. To set up a build pipeline based on your logic app project type, complete the corresponding actions in the following table:
95+
96+
| Project type | Description and steps |
97+
|--------------|-----------------------|
98+
| Nuget-based | The NuGet-based project structure is based on the .NET Framework. To build these projects, make sure to follow the build steps for .NET Standard. For more information, review the documentation for [Create a NuGet package using MSBuild](/nuget/create-packages/creating-a-package-msbuild). |
99+
| Bundle-based | The extension bundle-based project isn't language-specific and doesn't require any language-specific build steps. |
100+
101+
1. Zip your project files using any method that you want.
102+
103+
> [!IMPORTANT]
104+
>
105+
> Make sure that your zip file contains your project's actual build artifacts at the root level,
106+
> including all workflow folders, configuration files such as **host.json**, **connections.json**,
107+
> **local.settings.json**, and any other related files. Don't add any extra folders nor put any
108+
> artifacts into folders that don't already exist in your project structure.
109+
>
110+
> For example, the following list shows an example **MyBuildArtifacts.zip** file structure:
111+
>
112+
> ```
113+
> MyStatefulWorkflow1-Folder
114+
> MyStatefulWorkflow2-Folder
115+
> connections.json
116+
> host.json
117+
> local.settings.json
118+
> ```
100119
101120
### Before release to Azure
102121
103122
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.
104123
105124
#### Update authentication type
106125
107-
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:
126+
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:
108127
109128
**Visual Studio Code format**
110129
@@ -182,7 +201,7 @@ To find the required values for the **`properties`** object so that you can comp
182201

183202
`GET https://management.azure.com/subscriptions/{Azure-subscription-ID}/providers/Microsoft.Web/locations/{Azure-region-location}/managedApis/{connector-name}?api-version=2016-06-01`
184203

185-
In the response, find the **connectionParameters** object, which contains the necessary information to complete the resource definition for that specific connector. The following example shows an example resource definition for a SQL managed connection:
204+
In the response, find the **`connectionParameters`** object, which contains the necessary information to complete the resource definition for that specific connector. The following example shows an example resource definition for a SQL managed connection:
186205

187206
```json
188207
{
@@ -221,7 +240,7 @@ To set up a release pipeline that deploys to Azure, follow the associated steps
221240
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:
222241

223242
- The logic app name to use for deployment
224-
- The zip file that contains your actual build artifacts, including all workflow folders, configuration files such as **host.json**, **connections.json**, and any other related files.
243+
- The zip file that contains your actual build artifacts, including all workflow folders, configuration files such as **host.json**, **connections.json**, **local.settings.json**, and any other related files.
225244
- Your [publish profile](../azure-functions/functions-how-to-github-actions.md#generate-deployment-credentials), which is used for authentication
226245

227246
```yaml
@@ -241,7 +260,7 @@ For more information, review [Continuous delivery by using GitHub Action](../azu
241260
For Azure DevOps deployments, you can deploy your logic app by using the [Azure Function App Deploy task](/azure/devops/pipelines/tasks/deploy/azure-function-app?view=azure-devops&preserve-view=true) in Azure Pipelines. This action requires that you pass through the following information:
242261
243262
- The logic app name to use for deployment
244-
- The zip file that contains your actual build artifacts, including all workflow folders, configuration files such as **host.json**, **connections.json**, and any other related files.
263+
- The zip file that contains your actual build artifacts, including all workflow folders, configuration files such as **host.json**, **connections.json**, **local.settings.json**, and any other related files.
245264
- Your [publish profile](../azure-functions/functions-how-to-github-actions.md#generate-deployment-credentials), which is used for authentication
246265
247266
```yaml
@@ -388,22 +407,6 @@ If your resource group is successfully created, the output shows the **`provisio
388407

389408
Now, you can deploy your zipped artifacts to the Azure resource group that you created.
390409

391-
> [!IMPORTANT]
392-
>
393-
> Make sure that your zip file contains your project's artifacts at the root level. These artifacts
394-
> include all workflow folders, configuration files such as **host.json**, **connections.json**,
395-
> and any other related files. Don't add any extra folders nor put any artifacts into folders
396-
> that don't already exist in your project structure.
397-
>
398-
> For example, this list shows an example **MyBuildArtifacts.zip** file structure:
399-
>
400-
> ```output
401-
> MyStatefulWorkflow1-Folder
402-
> MyStatefulWorkflow2-Folder
403-
> connections.json
404-
> host.json
405-
> ```
406-
407410
Run the command, **`az logicapp deployment`**, with the following required parameters:
408411

409412
```azurecli
@@ -416,7 +419,7 @@ az logicapp deployment source config-zip --name MyLogicAppName
416419

417420
### After release to Azure
418421

419-
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 local Visual Studio Code project.
422+
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.
420423

421424
## Related content
422425

0 commit comments

Comments
 (0)