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 +} 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