Skip to content

Commit 90b9393

Browse files
committed
review
1 parent 0eddc6a commit 90b9393

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

articles/app-service/migrate-gateway-based-vnet-integration.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate from gateway-based to regional virtual network integration
33
description: Learn how to migrate your App Service virtual network integration from legacy gateway-based integration to modern regional virtual network integration for improved performance and capabilities.
44
author: seligj95
55
ms.topic: how-to
6-
ms.date: 06/19/2025
6+
ms.date: 06/20/2025
77
ms.author: jordanselig
88
ms.custom: devx-track-azurecli, devx-track-azurepowershell
99
---
@@ -53,7 +53,7 @@ Gateway-based integration can't be used in the following scenarios:
5353

5454
Before beginning the migration, ensure you have:
5555

56-
* **App Service plan**: A Basic, Standard, Premium, PremiumV2, PremiumV3, or Elastic Premium plan
56+
* **App Service plan**: A Basic, Standard, Premium, PremiumV2, PremiumV3, PremiumV4, or Elastic Premium plan
5757
* **Virtual network**: A virtual network in the same region as your app
5858
* **Subnet**: An empty subnet or a new subnet dedicated for virtual network integration
5959
* **Permissions**: Appropriate RBAC permissions to configure virtual network integration
@@ -100,7 +100,7 @@ Since virtual network integration is slot-specific, you can test regional virtua
100100
5. **Swap slots** to promote the tested code
101101

102102
> [!NOTE]
103-
> Virtual network configurations remain with their respective slots after swapping. Your production slot will have the tested application code and the newly configured regional virtual network integration.
103+
> Virtual network configurations remain with their respective slots after swapping. After slot swap, your production slot will have the tested application code and the newly configured regional virtual network integration if you configured it on the produciton slot prior to the slot swap.
104104
105105
#### Option 3: Direct migration (planned downtime)
106106

@@ -163,7 +163,6 @@ You can connect multiple App Service plans to the same subnet using the [multi-p
163163
# [Azure CLI](#tab/cli)
164164

165165
```azurecli-interactive
166-
# Create a new subnet for App Service integration
167166
az network vnet subnet create \
168167
--resource-group <resource-group-name> \
169168
--vnet-name <vnet-name> \
@@ -175,7 +174,6 @@ az network vnet subnet create \
175174
# [Azure PowerShell](#tab/powershell)
176175

177176
```azurepowershell-interactive
178-
# Create a new subnet for App Service integration
179177
$vnet = Get-AzVirtualNetwork -ResourceGroupName <resource-group-name> -Name <vnet-name>
180178
Add-AzVirtualNetworkSubnetConfig -Name <subnet-name> -VirtualNetwork $vnet -AddressPrefix <cidr-block> -Delegation "Microsoft.Web/serverFarms"
181179
Set-AzVirtualNetwork -VirtualNetwork $vnet
@@ -203,7 +201,6 @@ For apps currently using gateway-based integration in the same region:
203201
# [Azure CLI](#tab/cli)
204202

205203
```azurecli-interactive
206-
# Disconnect gateway-based virtual network integration
207204
az webapp vnet-integration remove \
208205
--resource-group <resource-group-name> \
209206
--name <app-name>
@@ -212,7 +209,6 @@ az webapp vnet-integration remove \
212209
# [Azure PowerShell](#tab/powershell)
213210

214211
```azurepowershell-interactive
215-
# Disconnect gateway-based virtual network integration
216212
$webApp = Get-AzWebApp -ResourceGroupName <resource-group-name> -Name <app-name>
217213
$webApp.VirtualNetworkSubnetId = $null
218214
Set-AzWebApp -WebApp $webApp
@@ -233,7 +229,6 @@ Set-AzWebApp -WebApp $webApp
233229
# [Azure CLI](#tab/cli)
234230

235231
```azurecli-interactive
236-
# Configure regional virtual network integration
237232
az webapp vnet-integration add \
238233
--resource-group <resource-group-name> \
239234
--name <app-name> \
@@ -244,7 +239,6 @@ az webapp vnet-integration add \
244239
# [Azure PowerShell](#tab/powershell)
245240

246241
```azurepowershell-interactive
247-
# Configure regional virtual network integration
248242
$subnetResourceId = "/subscriptions/<subscription-id>/resourceGroups/<vnet-resource-group>/providers/Microsoft.Network/virtualNetworks/<vnet-name>/subnets/<subnet-name>"
249243
$webApp = Get-AzResource -ResourceType Microsoft.Web/sites -ResourceGroupName <resource-group-name> -ResourceName <app-name>
250244
$webApp.Properties.virtualNetworkSubnetId = $subnetResourceId

0 commit comments

Comments
 (0)