Skip to content

Commit bc79640

Browse files
committed
cleanup vnet rg guidance
1 parent 6ee383f commit bc79640

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/app-service/environment/how-to-migrate.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ For this guide, [install the Azure CLI](/cli/azure/install-azure-cli) or use the
2727

2828
## 1. Get your App Service Environment ID
2929

30-
Run these commands to get your App Service Environment ID and store it as an environment variable. Replace the placeholders for name and resource group with your values for the App Service Environment you want to migrate.
30+
Run these commands to get your App Service Environment ID and store it as an environment variable. Replace the placeholders for name and resource groups with your values for the App Service Environment you want to migrate. "ASE_RG" and "VNET_RG" will be the same if your virtual network and App Service Environment are in the same resource group.
3131

3232
```azurecli
3333
ASE_NAME=<Your-App-Service-Environment-name>
34-
ASE_RG=<Your-Resource-Group>
34+
ASE_RG=<Your-ASE-Resource-Group>
35+
VNET_RG=<Your-VNet-Resource-Group>
3536
ASE_ID=$(az appservice ase show --name $ASE_NAME --resource-group $ASE_RG --query id --output tsv)
3637
```
3738

@@ -71,10 +72,10 @@ Using the new IPs, update any of your resources or networking components to ensu
7172

7273
## 5. Delegate your App Service Environment subnet
7374

74-
App Service Environment v3 requires the subnet it's in to have a single delegation of `Microsoft.Web/hostingEnvironments`. Previous versions didn't require this delegation. You'll need to confirm your subnet is delegated properly and update the delegation if needed before migrating. You can update the delegation either by running the following command or by navigating to the subnet in the [Azure portal](https://portal.azure.com). If your virtual network/subnet is in a different resource group than your App Service Environment, change the value of that parameter in the below command accordingly.
75+
App Service Environment v3 requires the subnet it's in to have a single delegation of `Microsoft.Web/hostingEnvironments`. Previous versions didn't require this delegation. You'll need to confirm your subnet is delegated properly and update the delegation if needed before migrating. You can update the delegation either by running the following command or by navigating to the subnet in the [Azure portal](https://portal.azure.com).
7576

7677
```azurecli
77-
az network vnet subnet update --resource-group $ASE_RG -name <subnet-name> --vnet-name <vnet-name> --delegations Microsoft.Web/hostingEnvironments
78+
az network vnet subnet update --resource-group $VNET_RG -name <subnet-name> --vnet-name <vnet-name> --delegations Microsoft.Web/hostingEnvironments
7879
```
7980
:::image type="content" source="./media/migration/subnet-delegation.png" alt-text="Subnet delegation sample.":::
8081

0 commit comments

Comments
 (0)