From e539c45da92ac9f13415fd455cbd1d123929e571 Mon Sep 17 00:00:00 2001 From: maotsuk <39397699+maotsuk@users.noreply.github.com> Date: Thu, 23 Oct 2025 15:15:09 +0900 Subject: [PATCH] feedback for the enhanced migration guide for Application Gateway V2 I run both new enhanced scripts and found some document errors and feedback for less confusion. 1. AzureAppGWClone script doesn't seem to have "-enableAutoScale" parameter since I got error if I added. So better to remove it from the sample script. 2. Add install script command for PIP retention script. 3. wrong script name was mentioned for PIP retention script. It should be "AzureAppGWIPMigrate" --- articles/application-gateway/migrate-v1-v2.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/articles/application-gateway/migrate-v1-v2.md b/articles/application-gateway/migrate-v1-v2.md index 7228b124e7863..0146d6cf682a3 100644 --- a/articles/application-gateway/migrate-v1-v2.md +++ b/articles/application-gateway/migrate-v1-v2.md @@ -103,7 +103,7 @@ To run the script: -AppGWResourceGroupName "MyResourceGroup" ` -privateIpAddress "10.0.0.1" ` -publicIpResourceId "/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/MyResourceGroup/providers/Microsoft.Network/publicIPAddresses/MyPublicIP" ` - -enableAutoScale + ``` ### Recommendations * After script completion, review the V2 gateway configuration in the Azure portal and test connectivity by sending traffic directly to the V2 gateway’s IP. @@ -262,6 +262,7 @@ To use this option, you must not have the Azure Az modules installed on your com Run the script with the following command to get the latest version: * For enhanced cloning script - `Install-Script -Name AzureAppGWClone -Force` +* For enhanced cloning Public IP Retention script - `Install-Script -Name AzureAppGWIPMigrate -Force` * For the legacy cloning script - `Install-Script -Name AzureAppGWMigration -Force` @@ -312,7 +313,7 @@ You can **download** this Public IP retention script from the [PowerShell Gall After downloading and [installing the script](../application-gateway/migrate-v1-v2.md#installing-the-script) -Execute AzureAppGWClone.ps1 with the required parameters: +Execute AzureAppGWIPMigrate.ps1 with the required parameters: ``` AzureAppGWIPMigrate.ps1 -v1resourceId @@ -320,7 +321,7 @@ AzureAppGWIPMigrate.ps1 ``` **Example** ```azurepowershell -./AzureAppGWIPMigrate.ps1 ` +AzureAppGWIPMigrate.ps1 ` -v1resourceId /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/MyResourceGroup/providers/Microsoft.Network/applicationGateways/myv1appgateway ` -v2resourceId /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/MyResourceGroup/providers/Microsoft.Network/applicationGateways/myv2appgateway ` ```