Skip to content

Conversation

@maotsuk
Copy link
Contributor

@maotsuk maotsuk commented Oct 23, 2025

I run both new enhanced scripts and found some document errors and feedback for less confusion.

1.(Line 106) The AzureAppGWClone script does not appear to support the -enableAutoScale parameter, as adding it results in an error. It would be better to remove this parameter from the sample script.

  1. (Line 265) Include the command to install the PIP retention script.

  2. (Line 324) The script name for the PIP retention script is incorrect. It should be AzureAppGWIPMigrate.

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"
@prmerger-automator
Copy link
Contributor

@maotsuk : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit e539c45:

✅ Validation status: passed

File Status Preview URL Details
articles/application-gateway/migrate-v1-v2.md ✅Succeeded

For more details, please refer to the build report.

@v-dirichards v-dirichards requested a review from Copilot October 23, 2025 14:33
@v-dirichards
Copy link
Contributor

@mbender-ms

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Oct 23, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR corrects documentation errors in the Application Gateway V2 migration guide based on feedback from testing the enhanced migration scripts. The changes improve accuracy and clarity of the migration instructions.

Key changes:

  • Removes unsupported -enableAutoScale parameter from the cloning script example
  • Adds missing installation command for the PIP retention script
  • Corrects script name references from AzureAppGWClone to AzureAppGWIPMigrate

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

-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.
**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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants