Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions articles/application-gateway/migrate-v1-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Copy link

Copilot AI Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of the -enableAutoScale parameter leaves an empty line in the code example. Consider removing this empty line to maintain clean formatting in the documentation.

Suggested change

Copilot uses AI. Check for mistakes.
```
### 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.
Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -312,15 +313,15 @@ 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 <V1 application gateway Resource ID>
-v2resourceId <V2 application gateway Resource ID>
```
**Example**
```azurepowershell
./AzureAppGWIPMigrate.ps1 `
AzureAppGWIPMigrate.ps1 `
Copy link

Copilot AI Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The script invocation is missing the './' prefix for consistency with PowerShell script execution conventions. Consider changing to './AzureAppGWIPMigrate.ps1' to match the corrected example pattern on line 316.

Copilot uses AI. Check for mistakes.
-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 `
```
Expand Down