Skip to content

Commit af8f32a

Browse files
Apply suggestions from code review
Co-authored-by: Esther Fan <[email protected]>
1 parent 4c77ee6 commit af8f32a

1 file changed

Lines changed: 48 additions & 44 deletions

File tree

articles/logic-apps/set-up-deployment-slots.md

Lines changed: 48 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
---
2-
title: Enable Deployment Slots for Zero Downtime Deployment
3-
description: Learn how to set up deployment slots to enable zero downtime deployment for Standard workflows in Azure Logic Apps.
2+
title: Set Up Deployment Slots for Zero Downtime
3+
description: Learn to set up deployment slots to enable zero downtime for Standard workflows in Azure Logic Apps.
44
services: logic-apps
55
ms.suite: integration
6-
ms.reviewer: estfan, wsilveira
6+
ms.reviewer: estfan, wsilveira, azla
77
ms.topic: how-to
88
ms.custom: sfi-image-nochange
9-
ms.date: 09/15/2025
10-
#Customer intent: As a logic app developer, I want to set up deployment slots on my logic app resource so that I can deploy with zero downtime.
9+
ms.date: 10/10/2025
10+
#Customer intent: As an integration developer working with Azure Logic Apps, I want to set up deployment slots on my Standard logic app resource so I can deploy with zero downtime.
1111
---
1212

13-
# Set up deployment slots to enable zero downtime deployment in Azure Logic Apps
13+
# Set up deployment slots to enable zero downtime in Azure Logic Apps
1414

1515
[!INCLUDE [logic-apps-sku-standard](../../includes/logic-apps-sku-standard.md)]
1616

17-
To deploy mission-critical logic apps that are always available and responsive, create and use *deployment slots*. Deployment slots are isolated environments that host different versions of your app.
17+
To deploy mission-critical Standard logic apps that are always available and responsive, create *deployment slots*. These slots are isolated environments that host different versions of your app in preproduction.
1818

19-
You can enable zero downtime deployment for your app, even during updates or maintenance. Zero downtime means that when you deploy new versions of your app, end users don't experience disruption or downtime.
19+
You can use these slots to enable *zero downtime* for your app. Zero downtime means when you deploy new versions of your app, end users don't experience disruption or downtime, even during updates or maintenance.
2020

2121
Deployment slots provide the following benefits:
2222

23-
- Swap a deployment slot with your production slot without interruption. That way, you can update your logic app and workflows without affecting availability or performance.
23+
- Swap a deployment slot with your production slot without interruption. You can update your logic app and workflows without affecting availability or performance.
2424
- Validate any changes in a deployment slot before you apply those changes to the production slot.
2525
- Roll back to a previous version, if anything goes wrong with your deployment.
2626
- Reduce the risk of negative performance when you must exceed the [recommended number of workflows per logic app](create-single-tenant-workflows-azure-portal.md#best-practices-and-recommendations).
@@ -55,34 +55,38 @@ With deployment slots, you can achieve continuous delivery and improve the quali
5555

5656
- [Azure Logic Apps Standard Contributor role permissions](logic-apps-securing-a-logic-app.md?tabs=azure-portal#standard-workflows)
5757

58-
- An existing Standard logic app resource in Azure where you want to create your deployment slot and deploy your changes. You can create an empty Standard logic app resource. For more information, see [Create a Standard workflow in Azure Logic Apps](create-single-tenant-workflows-azure-portal.md).
58+
- The Standard logic app resource where you want to create your deployment slot and deploy your changes. You can create an empty Standard logic app resource. For more information, see [Create a Standard workflow in Azure Logic Apps](create-single-tenant-workflows-azure-portal.md).
5959

6060
## Create a deployment slot
6161

6262
The following options are available for you to create a deployment slot:
6363

6464
### [Portal](#tab/portal)
6565

66-
1. In [Azure portal](https://portal.azure.com), open your Standard logic app resource where you want to create a deployment slot.
67-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
66+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
67+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
6868
1. On the toolbar, select **Add**.
69-
1. In the **Add Slot** pane, provide a name for your deployment slot. It must be unique and use only lowercase alphanumeric characters or hyphens (**-**).
69+
1. In the **Add Slot** pane, provide a unique name for your deployment slot.
70+
71+
The name must use only lowercase alphanumeric characters or hyphens (**-**).
7072

7173
> [!NOTE]
7274
>
73-
> After you create it, the deployment slot name uses the following format: <*logic-app-name-deployment-slot-name*>.
75+
> After you create the slot, the name has the following format: <*logic-app-name-deployment-slot-name*>.
7476
7577
1. When you're done, select **Add**.
7678

7779
### [Visual Studio Code](#tab/visual-studio-code)
7880

79-
1. In Visual Studio Code, open the Standard logic app project that you want to deploy.
81+
1. In Visual Studio Code, open the workspace and project for your Standard logic app.
8082
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
8183
1. From the command list, select **Azure Logic Apps: Create slot**. Follow the prompts to provide the required information:
8284

8385
1. Enter and select the name for your Azure subscription.
84-
1. Enter and select the name for your existing Standard logic app in Azure.
85-
1. Enter a name for your deployment slot. It must be unique and use only lowercase alphanumeric characters or hyphens (**-**),
86+
1. Enter and select the name for your Standard logic app.
87+
1. Enter a unique name for your deployment slot.
88+
89+
This name must use only lowercase alphanumeric characters or hyphens (**-**),
8690

8791
### [Azure CLI](#tab/azure-cli)
8892

@@ -92,7 +96,7 @@ Run the following Azure CLI command:
9296
az functionapp deployment slot create --name {logic-app-name} --resource-group {resource-group-name} --slot {slot-name}
9397
```
9498

95-
To enable a system-assigned managed identity on your Standard logic app deployment slot, run the following Azure CLI command:
99+
To set up a system-assigned managed identity for the deployment slot with your Standard logic app, run the following Azure CLI command:
96100

97101
```azurecli
98102
az functionapp identity assign --name {logic-app-name} --resource-group {resource-group-name} --slot {slot-name}
@@ -105,7 +109,7 @@ az functionapp identity assign --name {logic-app-name} --resource-group {resourc
105109
After you create the deployment slot, confirm that the slot exists on your deployed logic app resource.
106110

107111
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
108-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
112+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
109113
1. On the **Deployment slots** page, under **Deployment Slots**, find and select your new deployment slot.
110114

111115
> [!NOTE]
@@ -122,15 +126,15 @@ Unavailable at this time. Follow the steps for Visual Studio Code or Azure CLI t
122126

123127
### [Visual Studio Code](#tab/visual-studio-code)
124128

125-
1. In Visual Studio Code, open the Standard logic app project that you want to deploy.
129+
1. In Visual Studio Code, open your Standard logic app workspace and project.
126130
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
127-
1. From the command list, select **Azure Logic Apps: Deploy to slot**, and follow the prompts to provide the required information:
131+
1. From the command list, select **Azure Logic Apps: Deploy to slot**. Follow the prompts to provide the required information:
128132

129133
1. Enter and select the name for your Azure subscription.
130-
1. Enter and select the name for your existing Standard logic app in Azure.
134+
1. Enter and select the name for your Standard logic app.
131135
1. Select the name for your deployment slot.
132136

133-
1. In the message box that appears, confirm that you want to deploy the current code in your project to the selected slot by selecting **Deploy**. This action overwrites any existing content in the selected slot.
137+
1. In the message box that appears, confirm that you want to deploy the current code in your project to the selected slot , and select **Deploy**. This action overwrites any existing content in the selected slot.
134138

135139
1. After deployment completes, you can update any settings, if necessary, by selecting **Upload settings** in the message box that appears.
136140

@@ -149,25 +153,25 @@ az logicapp deployment source config-zip --name {logic-app-name} --resource-grou
149153
After you deploy your changes, confirm that the changes appear in your deployed logic app resource.
150154

151155
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
152-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
156+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
153157
1. On the **Deployment slots** page, under **Deployment Slots**, find and select your deployment slot.
154-
1. On the resource menu, select **Overview**. On the **Notifications** tab, check whether any deployment issues exist, for example, errors that might happen during app startup or around slot swapping:
158+
1. On the resource sidebar, select **Overview**. On the **Notifications** tab, check whether any deployment issues exist, for example, errors that might happen during app startup or around slot swapping:
155159

156160
:::image type="content" source="media/set-up-deployment-slots/deployment-slot-notifications.png" alt-text="Screenshot shows the Azure portal, logic app deployment slot resource with Overview page, and selected Notifications tab." lightbox="media/set-up-deployment-slots/deployment-slot-notifications.png":::
157161

158-
1. To verify the changes in your workflow, under **Workflows**, select **Workflows**, and then select a workflow, which appears in read-only view.
162+
1. To verify the changes in your workflow, under **Workflows**, select **Workflows**, then select a workflow, which appears in read-only view.
159163

160164
## Swap a deployment slot with the production slot
161165

162166
The following options are available for you to swap a deployment slot with the current production slot:
163167

164168
### [Portal](#tab/portal)
165169

166-
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource where you want to swap slots.
167-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
170+
1. In the [Azure portal](https://portal.azure.com), open the Standard logic app resource where you want to swap slots.
171+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
168172
1. On the toolbar, select **Swap**.
169-
1. On the **Swap** pane, under **Source**, select the deployment slot that you want to activate.
170-
1. Under **Target**, select the production slot that you want to replace with the deployment slot.
173+
1. On the **Swap** pane, under **Source**, select the deployment slot to make active.
174+
1. Under **Target**, select the production slot to replace with the deployment slot.
171175

172176
> [!NOTE]
173177
>
@@ -179,14 +183,14 @@ The following options are available for you to swap a deployment slot with the c
179183

180184
### [Visual Studio Code](#tab/visual-studio-code)
181185

182-
1. In Visual Studio Code, open your Standard logic app project.
186+
1. In Visual Studio Code, open your Standard logic app workspace and project.
183187
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
184-
1. From the command list, select **Azure Logic Apps: Swap slot**, and follow the prompts to provide the required information:
188+
1. From the command list, select **Azure Logic Apps: Swap slot**. Follow the prompts to provide the required information:
185189

186190
1. Enter and select the name for your Azure subscription.
187-
1. Enter and select the name for your existing Standard logic app in Azure.
188-
1. Select the deployment slot that you want to make as the active slot.
189-
1. Select the production slot that you want to swap with the deployment slot.
191+
1. Enter and select the name for your Standard logic app.
192+
1. Select the deployment slot to make the active slot.
193+
1. Select the production slot to swap with the deployment slot.
190194
1. Wait for the operation to successfully complete.
191195

192196
### [Azure CLI](#tab/azure-cli)
@@ -214,25 +218,25 @@ The following options are available for you to delete a deployment slot from you
214218
### [Portal](#tab/portal)
215219

216220
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
217-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
218-
1. On the **Deployment slots** page, under **Deployment Slots**, select the deployment slot that you want to delete.
219-
1. On the deployment slot resource menu, select **Overview**.
221+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
222+
1. On the **Deployment slots** page, under **Deployment Slots**, select the deployment slot to delete.
223+
1. On the deployment slot resource sidebar, select **Overview**.
220224
1. On the **Overview** toolbar, select **Delete**.
221225
1. Confirm deletion by entering the deployment slot name, and then select **Delete**.
222226

223227
:::image type="content" source="media/set-up-deployment-slots/delete-deployment-slot.png" alt-text="Screenshot shows the Azure portal, deployment slot resource with Overview page opened, and delete confirmation pane with deployment slot name to delete." lightbox="media/set-up-deployment-slots/delete-deployment-slot.png":::
224228

225229
### [Visual Studio Code](#tab/visual-studio-code)
226230

227-
1. In Visual Studio Code, open your Standard logic app project.
231+
1. In Visual Studio Code, open your Standard logic app workspace and project.
228232
1. Open the command palette. (Keyboard: **Ctrl** + **Shift** + **P**)
229-
1. From the command list, select **Azure Logic Apps: Delete slot**, and follow the prompts to provide the required information:
233+
1. From the command list, select **Azure Logic Apps: Delete slot**. Follow the prompts to provide the required information:
230234

231235
1. Enter and select the name for your Azure subscription.
232-
1. Enter and select the name for your existing Standard logic app in Azure.
233-
1. Select the deployment slot that you want to delete.
236+
1. Enter and select the name for your Standard logic app.
237+
1. Select the deployment slot to delete.
234238

235-
1. In the message box that appears, confirm that you want to delete selected deployment slot by selecting **Delete**.
239+
1. In the message box that appears, confirm that you want to delete selected deployment slot, then select **Delete**.
236240

237241
### [Azure CLI](#tab/azure-cli)
238242

@@ -249,7 +253,7 @@ az functionapp deployment slot delete --name {logic-app-name} --resource-group {
249253
After you delete a deployment slot, verify that the slot no longer exists on your deployed Standard logic app resource.
250254

251255
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
252-
1. On the resource menu, under **Deployment**, select **Deployment slots**.
256+
1. On the resource sidebar, under **Deployment**, select **Deployment slots**.
253257
1. On the **Deployment slots** page, under **Deployment Slots**, confirm that the deployment slot no longer exists.
254258

255259
## Related content

0 commit comments

Comments
 (0)