From 6955139fb75e2443439453bacc3650326317639e Mon Sep 17 00:00:00 2001 From: thered121 Date: Wed, 4 Mar 2026 14:24:30 -0500 Subject: [PATCH 1/2] Update Start-AzFrontDoorCdnProfilePrepareMigration.ps1 Updating the loop to populate the $allPoliciesWithWAF hash table using the WebApplicationFirewallPolicyLinkId property instead of the non-existent WebApplicationFirewallPolicyLink property to fix bug https://github.com/Azure/azure-powershell/issues/29231 --- .../custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 b/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 index 871cd818d71b..36915fa91ae9 100644 --- a/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 +++ b/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 @@ -222,7 +222,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration { $allPoliciesWithWAF = New-Object System.Collections.Generic.HashSet[string] $allPoliciesWithVault = New-Object System.Collections.Generic.HashSet[string] foreach ($info in $frontDoorInfos) { - $wafInfo = $info.WebApplicationFirewallPolicyLink + $wafInfo = $info.WebApplicationFirewallPolicyLinkId if ($wafInfo) { $allPoliciesWithWAF.Add($wafInfo.ToLower()) | Out-Null } @@ -575,4 +575,4 @@ function RetryCommand { } } } -} \ No newline at end of file +} From 8fa76f85a41fe9a7e2f0c826f1570934fb4e7836 Mon Sep 17 00:00:00 2001 From: thered121 Date: Wed, 4 Mar 2026 15:02:26 -0500 Subject: [PATCH 2/2] Update ChangeLog.md Updating Az.Cdn ChangeLog.md --- src/Cdn/Cdn/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Cdn/Cdn/ChangeLog.md b/src/Cdn/Cdn/ChangeLog.md index 3ec2c7535574..70d6e08ff4cb 100644 --- a/src/Cdn/Cdn/ChangeLog.md +++ b/src/Cdn/Cdn/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release +* Bug fix for https://github.com/Azure/azure-powershell/issues/29231 ## Version 6.0.0 * Added support for edge action