Skip to content

Bug fix to address issue with Start-AzFrontDoorCdnProfilePrepareMigration.ps1 detailed in https://github.com/Azure/azure-powershell/issues/29231#29234

Open
thered121 wants to merge 2 commits intoAzure:mainfrom
thered121:main
Open

Bug fix to address issue with Start-AzFrontDoorCdnProfilePrepareMigration.ps1 detailed in https://github.com/Azure/azure-powershell/issues/29231#29234
thered121 wants to merge 2 commits intoAzure:mainfrom
thered121:main

Conversation

@thered121
Copy link

Description

Updated Start-AzFrontDoorCdnProfilePrepareMigration.ps1 to use the IFrontendEndpoint.WebApplicationFirewallPolicyLinkId when populating the $allPoliciesWithWAF hash table instead of the IFrontendEndpoint.WebApplicationFirewallPolicyLink which is a non-existent property according to https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.powershell.cmdlets.frontdoor.models.ifrontendendpoint?view=az-ps-latest

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Updating the loop to populate the $allPoliciesWithWAF hash table using the WebApplicationFirewallPolicyLinkId property instead of the non-existent WebApplicationFirewallPolicyLink property to fix bug Azure#29231
Updating Az.Cdn ChangeLog.md
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@microsoft-github-policy-service
Copy link
Contributor

Thank you for your contribution @thered121! We will review the pull request and get back to you soon.

@thered121
Copy link
Author

@microsoft-github-policy-service agree

@NoriZC
Copy link
Contributor

NoriZC commented Mar 6, 2026

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

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.

2 participants