Skip to content

Commit f6b4f77

Browse files
authored
Merge pull request #303630 from wsilveiranz/wsilveiranz-la-deployment-center
[Docs][new feature] Configure continuous deployment using Deployment Center
2 parents 7bb6a9d + 44e361d commit f6b4f77

File tree

7 files changed

+156
-0
lines changed

7 files changed

+156
-0
lines changed
64.1 KB
Loading
16.6 KB
Loading
51.1 KB
Loading
65.1 KB
Loading
65.1 KB
Loading
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
---
2+
title: Set Up CD in Standard Logic Apps with Deployment Center
3+
description: Learn how to automate continuous deployment (CD) for Standard logic apps by integrating your source code repository with Deployment Center.
4+
ms.service: azure-logic-apps
5+
ms.suite: integration
6+
ms.reviewer: estfan, wsilveiranz, azla
7+
ms.topic: how-to
8+
ms.date: 08/14/2025
9+
# Customer intent: As a logic app workflow developer, I want to set up CD for Standard logic apps by integrating my source code repository with Deployment Center.
10+
---
11+
12+
# Set up CD for Standard logic apps with Deployment Center
13+
14+
[!INCLUDE [logic-apps-sku-standard](../../includes/logic-apps-sku-standard.md)]
15+
16+
To streamline deployment automation for Standard logic apps, you can directly integrate your source code repository with your logic app resources by using Deployment Center. This capability helps you set up continuous deployment (CD) directly within your logic app, so you can make sure that every change committed to your repository gets automatically deployed to your logic app. Your team can then ship new features, fix bugs, and respond to changes faster, yet maintain control and visibility over the deployment process.
17+
18+
Deployment Center supports multiple source control providers, seamlessly fits into modern DevOps workloads and scenarios, and makes sure that your logic apps stay current and production ready.
19+
20+
Due to Azure Logic Apps (Standard) similarities with Azure Functions, for more information about Deployment Center, see [Continuous deployment for Azure Functions](../azure-functions/functions-continuous-deployment.md).
21+
22+
## Prerequisites
23+
24+
- 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).
25+
26+
- [Visual Studio Code with the Azure Logic Apps (Standard) extension installed and their prerequisites](/azure/logic-apps/create-single-tenant-workflows-visual-studio-code#prerequisites).
27+
28+
- An Azure Key Vault resource for you to store connection strings and secrets.
29+
30+
For more information, see [Quickstart: Create a key vault using the Azure portal](/azure/key-vault/general/quick-create-portal).
31+
32+
- Your Standard logic app resource with the following requirements:
33+
34+
| Requirement | Description |
35+
|-------------|-------------|
36+
| Enable the **SCM Basic Auth Publishing Credentials** setting. | To enable this setting, see [Turn on SCM Basic Auth Publishing Credentials](#turn-on-scm-basic-auth-publishing-credentials). |
37+
| Create a *user-assigned managed identity* on your logic app. | This identity needs to have role assignments on the following resources: <br><br>- **Logic Apps Standard Contributor** role on your logic app's resource group. <br><br>- **Key Vault Secrets User** role on your key vault resource. <br><br>For more information, see [Create the user-assigned managed identity and assign roles](#create-user-assigned-managed-identity-and-assign-roles). |
38+
| Create a workspace and project in Visual Studio Code for your logic app. | This workspace also needs a connection to your source control repository. To create the workspace and project, you can [export your Standard logic app to Visual Studio Code](export-standard-logic-app-to-visual-studio-code.md). |
39+
40+
### Turn on SCM Basic Auth publishing credentials
41+
42+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
43+
44+
1. On the resource sidebar, under **Settings**, select **Configuration**.
45+
46+
1. On the **General settings** tab, under **Platform settings**, select **SCM Basic Auth Publishing Credentials** so that the setting is turned on.
47+
48+
1. When you're done, select **Apply**.
49+
50+
The following example shows where to find the **SCM Basic Auth Publishing Credentials** setting:
51+
52+
:::image type="content" source="media/set-up-cd-deployment-center-standard/scm-basic-auth.png" alt-text="Screenshot shows Azure portal, Standard logic app, Configuration page, and selected setting for SCM Basic Auth Publishing Credentials." lightbox="media/set-up-cd-deployment-center-standard/scm-basic-auth.png":::
53+
54+
### Create user-assigned managed identity and assign roles
55+
56+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
57+
58+
1. Follow the [general steps to create the user-assigned managed identity](authenticate-with-managed-identity.md?tabs=standard#create-user-assigned-identity-in-the-azure-portal).
59+
60+
1. Follow the [general steps to add the user-assigned managed identity to your logic app](authenticate-with-managed-identity.md?tabs=standard#add-user-assigned-identity-to-logic-app-in-the-azure-portal).
61+
62+
1. Follow the [general steps to give the identity access to the resources](authenticate-with-managed-identity.md?tabs=standard#give-identity-access-to-resources) in the [Prerequisites section](#prerequisites).
63+
64+
1. When you're done, continue on to create scripts for Deployment Center.
65+
66+
## Generate scripts for Deployment Center
67+
68+
1. In Visual Studio Code, open the workspace and project for your Standard logic app.
69+
70+
1. On the Visual Studio Code Activity Bar, select **Explorer** (files icon) to open the Explorer window, which shows your logic app project and files.
71+
72+
1. In the **Explorer** window, find the project root level. Open the project context menu, and select **Generate deployment scripts**.
73+
74+
:::image type="content" source="media/set-up-cd-deployment-center-standard/generate-deployment-scripts.png" alt-text="Screenshot shows Visual Studio Code, Standard logic app project with context menu, and selected option to generate deployment scripts." lightbox="media/set-up-cd-deployment-center-standard/generate-deployment-scripts.png":::
75+
76+
1. Follow the prompts to complete the following steps:
77+
78+
1. Select the Azure subscription for your deployed Standard logic app.
79+
80+
1. Select the Azure resource group for your logic app, and then select your logic app.
81+
82+
1. Select the associated user-assigned managed identity that has **Logic Apps Standard Contributor** role-based access.
83+
84+
When you're done, Visual Studio Code creates the following folders and files:
85+
86+
| Folder name | File name | Description |
87+
|-------------|-----------|-------------|
88+
| <*logic-app-project-folder-name*> | **cloud.settings.json** | This file contains the following content: <br><br>- Keys copied from the **local.settings.json** file and required for logic app deployment. <br><br>- Placeholders to specify the key vault references for any secrets. <br><br>- Any associated nonsecret values. |
89+
| **deployment** | **deploy.ps1** | This deployment script parameterizes the items that you selected during deployment script generation. The script also performs the following tasks: <br><br>- Deploys the logic app code. <br><br>- Updates the authentication required for any Azure-hosted managed connection definition in the **connections.json** file. <br><br>- Configures the settings defined in the **cloud.settings.json** file created in your logic app project. |
90+
| <*logic-app-project-folder-name*> | **README.md** | This file contains instructions about how to update the **cloud.settings.json** so you can safely deploy application secrets, for example: <br><br>- Connection strings required for built-in, service provider-based connections in your project. <br><br>- Keys for Azure API Management, Azure Functions, and so on. <br><br>- Keys for any other customer-defined secrets. |
91+
92+
1. Review the created files, and update the **cloud.settings.json** with your key vault references.
93+
94+
1. When you're done, push your changes to your source control repository.
95+
96+
## Set up Deployment Center with your source repository
97+
98+
### [GitHub](#tab/github)
99+
100+
To set up Deployment Center with a repository in GitHub for your Standard logic app, follow these steps:
101+
102+
1. In the [Azure portal](https://portal.azure.com/), open your Standard logic app resource.
103+
104+
1. On the resource sidebar, under **Deployment**, select **Deployment Center**.
105+
106+
1. From the **Source** list, select **GitHub** as your source repository.
107+
108+
1. Under the **Source** list, select **Change provider**, and select **App Service Build Service** as the build provider.
109+
110+
:::image type="content" source="media/set-up-cd-deployment-center-standard/github-build-provider.png" alt-text="Screenshot shows Azure portal, Standard logic app sidebar, Deployment Center page, GitHub as source, and selected App Service Build Service." lightbox="media/set-up-cd-deployment-center-standard/github-build-provider.png":::
111+
112+
1. In GitHub, sign in, if necessary, and select your organization.
113+
114+
1. Select your repository, and then select your branch.
115+
116+
1. When you're done, at the top of the page, select **Save**.
117+
118+
### [Azure Repos](#tab/azure-repos)
119+
120+
To set up Deployment Center with a repository in Azure Repos for your Standard logic app, follow these steps:
121+
122+
1. In the [Azure portal](https://portal.azure.com/), open your Standard logic app resource.
123+
124+
1. On the resource sidebar, under **Deployment**, select **Deployment Center**.
125+
126+
1. From the **Source** list, select **Azure Repos** as your source repository.
127+
128+
By default, **App Service Build Service** is the build provider for **Azure Repos**. If not, complete the next step to change the build provider. Otherwise, skip the next step.
129+
130+
1. Under the **Source** list, select **Change provider**, and select **App Service Build Service** as the build provider, if not selected already.
131+
132+
:::image type="content" source="media/set-up-cd-deployment-center-standard/azure-repos-build-provider.png" alt-text="Screenshot shows Azure portal, Standard logic app sidebar, Deployment Center page, Azure Repos as source, and selected App Service Build Service." lightbox="media/set-up-cd-deployment-center-standard/azure-repos-build-provider.png":::
133+
134+
1. In Azure DevOps, sign in, if necessary, and select your organization.
135+
136+
1. Select your project, your repository, and your branch.
137+
138+
1. When you're done, at the top of the page, select **Save**.
139+
140+
---
141+
142+
## Confirm successful deployment
143+
144+
To make sure that your deployment works correctly, follow these steps:
145+
146+
1. Return to your logic app's Deployment Center page, and select the **Logs** tab.
147+
148+
1. If necessary, refresh the **Logs** tab. Review the status message to check that the deployment successfully finished, for example:
149+
150+
:::image type="content" source="media/set-up-cd-deployment-center-standard/deployment-center-logs.png" alt-text="Screenshot shows Azure portal, logic app's Deployment Center page, and selected Logs tab with deployment status." lightbox="media/set-up-cd-deployment-center-standard/deployment-center-logs.png":::
151+
152+
## Related content
153+
154+
- [Automate build and deployment for Standard logic app workflows with Azure DevOps](automate-build-deployment-standard.md)

articles/logic-apps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ items:
169169
href: set-up-devops-deployment-single-tenant-azure-logic-apps.md
170170
- name: Automate DevOps build and deployment
171171
href: automate-build-deployment-standard.md
172+
- name: Set up CD with Deployment Center
173+
href: set-up-cd-deployment-center-standard.md
172174
- name: Deploy Standard logic apps to private storage accounts
173175
href: deploy-single-tenant-logic-apps-private-storage-account.md
174176
- name: Export Consumption workflows to Standard logic app

0 commit comments

Comments
 (0)