-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Description
When following the steps outlined at https://learn.microsoft.com/en-us/azure/frontdoor/migrate-tier-powershell?tabs=with-waf%2Cmigrate-profile to migrate an Azure FrontDoor from Classic to Premium using existing WAF policies the step to run Start-AzFrontDoorCdnProfilePrepareMigration fails with the following error:
MigrationWebApplicationFirewallMapping parameter instance should be equal to the number of WAF policy instance in the profile.
The issue is due to the script trying to populate the $allPoliciesWithWAF hash table from the IFrontendEndpoint.WebApplicationFirewallPolicyLink property which is incorrect according to the documentation https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.powershell.cmdlets.frontdoor.models.ifrontendendpoint?view=az-ps-latest
The correct property appears to be IFrontendEndpoint.WebApplicationFirewallPolicyLinkId. This is preventing users from running FrontDoor migrations via deployment automation and scripting. Current work around is to locate the module in Powershell modules folder and update the Start-AzFrontDoorCdnProfilePrepareMigration.ps1 script to utilize the correct property when populating the $allPoliciesWithWAF hash table.
Issue script & Debug output
$oldPolicy = Get-AzFrontDoorWafPolicy -ResourceGroupName $oldWafResourceGroupName -Name $oldWAFName
$newPolicy = Get-AzFrontDoorWafPolicy -ResourceGroupName $newWafResourceGroupName -Name $newWAFName
$wafMapping = New-AzFrontDoorCdnMigrationWebApplicationFirewallMappingObject -MigratedFromId $oldPolicy.Id -MigratedToId $newPolicy.Id
$classicRefId="/subscriptions/$($subscriptionId)/resourcegroups/$($resourceGroupName)/providers/Microsoft.Network/frontdoors/$($oldFrontDoorName)"
Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName $resourceGroupName -ClassicResourceReferenceId $classicRefId -ProfileName $newFrontDoorName -SkuName Premium_AzureFrontDoor -MigrationWebApplicationFirewallMapping @$wafMapping -Verbose
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext]. Returning default value [True].
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - No authentication telemetry is found for the current cmdlet with Id 7fc8e325-5d57-4940-9c34-f90d66ab69b0.
DEBUG: AzureQoSEvent: Module: Az.Accounts:5.3.3; CommandName: Get-AzContext; PSVersion: 7.5.4; IsSuccess: True; Duration: 00:00:00.0099447; SanitizeDuration: 00:00:00.0061172
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - GetAzureRMContextCommand end processing.
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext]. Returning default value [True].
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:29 PM - GetAzureRMContextCommand end processing.
WARNING: This cmdlet is using a preview API version and is subject to breaking change in a future release.
VERBOSE: Populating RepositorySourceLocation property for module Az.FrontDoor.
VERBOSE: Populating RepositorySourceLocation property for module Az.FrontDoor.
VERBOSE: Populating RepositorySourceLocation property for module Az.FrontDoor.
VERBOSE: Loading module from path 'PowerShell\Modules\Az.FrontDoor\2.1.0\Az.FrontDoor.psd1'.
VERBOSE: Importing function 'Disable-AzFrontDoorCustomDomainHttps'.
VERBOSE: Importing function 'Enable-AzFrontDoorCustomDomainHttps'.
VERBOSE: Importing function 'Get-AzFrontDoor'.
VERBOSE: Importing function 'Get-AzFrontDoorFrontendEndpoint'.
VERBOSE: Importing function 'Get-AzFrontDoorRulesEngine'.
VERBOSE: Importing function 'Get-AzFrontDoorWafManagedRuleSetDefinition'.
VERBOSE: Importing function 'Get-AzFrontDoorWafPolicy'.
VERBOSE: Importing function 'New-AzFrontDoor'.
VERBOSE: Importing function 'New-AzFrontDoorBackendObject'.
VERBOSE: Importing function 'New-AzFrontDoorBackendPoolObject'.
VERBOSE: Importing function 'New-AzFrontDoorBackendPoolsSettingObject'.
VERBOSE: Importing function 'New-AzFrontDoorCacheConfigurationObject'.
VERBOSE: Importing function 'New-AzFrontDoorForwardingConfigurationObject'.
VERBOSE: Importing function 'New-AzFrontDoorFrontendEndpointObject'.
VERBOSE: Importing function 'New-AzFrontDoorHeaderActionObject'.
VERBOSE: Importing function 'New-AzFrontDoorHealthProbeSettingObject'.
VERBOSE: Importing function 'New-AzFrontDoorLoadBalancingSettingObject'.
VERBOSE: Importing function 'New-AzFrontDoorPolicySettingsObject'.
VERBOSE: Importing function 'New-AzFrontDoorRedirectConfigurationObject'.
VERBOSE: Importing function 'New-AzFrontDoorRoutingRuleObject'.
VERBOSE: Importing function 'New-AzFrontDoorRulesEngine'.
VERBOSE: Importing function 'New-AzFrontDoorRulesEngineActionObject'.
VERBOSE: Importing function 'New-AzFrontDoorRulesEngineMatchConditionObject'.
VERBOSE: Importing function 'New-AzFrontDoorRulesEngineRuleObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafCustomRuleGroupByVariableObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafCustomRuleObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafLogScrubbingRuleObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafLogScrubbingSettingObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafManagedRuleExclusionObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafManagedRuleObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafManagedRuleOverrideObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafMatchConditionObject'.
VERBOSE: Importing function 'New-AzFrontDoorWafPolicy'.
VERBOSE: Importing function 'New-AzFrontDoorWafRuleGroupOverrideObject'.
VERBOSE: Importing function 'Remove-AzFrontDoor'.
VERBOSE: Importing function 'Remove-AzFrontDoorContent'.
VERBOSE: Importing function 'Remove-AzFrontDoorRulesEngine'.
VERBOSE: Importing function 'Remove-AzFrontDoorWafPolicy'.
VERBOSE: Importing function 'Set-AzFrontDoor'.
VERBOSE: Importing function 'Set-AzFrontDoorRulesEngine'.
VERBOSE: Importing function 'Update-AzFrontDoorWafPolicy'.
VERBOSE: Populating RepositorySourceLocation property for module Az.KeyVault.
VERBOSE: Populating RepositorySourceLocation property for module Az.KeyVault.
VERBOSE: Populating RepositorySourceLocation property for module Az.KeyVault.
VERBOSE: Loading module from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Az.KeyVault.psd1'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Azure.Security.KeyVault.Administration.dll'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Azure.Security.KeyVault.Certificates.dll'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Azure.Security.KeyVault.Keys.dll'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\BouncyCastle.Crypto.dll'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\KeyVault.Autorest\bin\Az.KeyVault.private.dll'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Microsoft.Azure.KeyVault.dll'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Microsoft.Azure.KeyVault.WebKey.dll'.
VERBOSE: Loading 'Assembly' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Microsoft.Azure.PowerShell.KeyVault.Management.Sdk.dll'.
VERBOSE: Loading 'FormatsToProcess' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\KeyVault.Autorest\Az.KeyVault.format.ps1xml'.
VERBOSE: Loading 'FormatsToProcess' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\KeyVault.format.ps1xml'.
VERBOSE: Loading 'FormatsToProcess' from path 'PowerShell\Modules\Az.KeyVault\6.4.3\keyvault.generated.format.ps1xml'.
VERBOSE: Populating RepositorySourceLocation property for module Az.KeyVault.
VERBOSE: Loading module from path 'PowerShell\Modules\Az.KeyVault\6.4.3\Az.KeyVault.psm1'.
VERBOSE: Exporting function 'Get-Secret'.
VERBOSE: Exporting function 'Get-SecretInfo'.
VERBOSE: Exporting function 'Remove-Secret'.
VERBOSE: Exporting function 'Set-Secret'.
VERBOSE: Exporting function 'Test-SecretVault'.
VERBOSE: Exporting function 'Add-AzKeyVaultManagedHsmRegion'.
VERBOSE: Exporting function 'Get-AzKeyVaultManagedHsmRegion'.
VERBOSE: Exporting function 'Remove-AzKeyVaultManagedHsmRegion'.
VERBOSE: Exporting function 'Test-AzKeyVaultManagedHsmNameAvailability'.
VERBOSE: Exporting function 'Test-AzKeyVaultNameAvailability'.
VERBOSE: Exporting function 'Test-DotNet'.
VERBOSE: Exporting function 'Preload-Assembly'.
VERBOSE: Exporting cmdlet 'Add-AzKeyVaultCertificate'.
VERBOSE: Exporting cmdlet 'Backup-AzKeyVaultCertificate'.
VERBOSE: Exporting cmdlet 'Add-AzKeyVaultCertificateContact'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultCertificateContact'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultCertificateContact'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultCertificate'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultCertificateOperation'.
VERBOSE: Exporting cmdlet 'Import-AzKeyVaultCertificate'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultCertificateIssuer'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultCertificateIssuer'.
VERBOSE: Exporting cmdlet 'Set-AzKeyVaultCertificateIssuer'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultCertificatePolicy'.
VERBOSE: Exporting cmdlet 'Set-AzKeyVaultCertificatePolicy'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultCertificate'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultCertificateOperation'.
VERBOSE: Exporting cmdlet 'Restore-AzKeyVaultCertificate'.
VERBOSE: Exporting cmdlet 'Stop-AzKeyVaultCertificateOperation'.
VERBOSE: Exporting cmdlet 'Undo-AzKeyVaultCertificateRemoval'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultCertificate'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVault'.
VERBOSE: Exporting cmdlet 'New-AzKeyVault'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVault'.
VERBOSE: Exporting cmdlet 'Undo-AzKeyVaultRemoval'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVault'.
VERBOSE: Exporting cmdlet 'Add-AzKeyVaultKey'.
VERBOSE: Exporting cmdlet 'Backup-AzKeyVaultKey'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultKey'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultKey'.
VERBOSE: Exporting cmdlet 'Restore-AzKeyVaultKey'.
VERBOSE: Exporting cmdlet 'Undo-AzKeyVaultKeyRemoval'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultKey'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultManagedHsm'.
VERBOSE: Exporting cmdlet 'Undo-AzKeyVaultManagedHsmRemoval'.
VERBOSE: Exporting cmdlet 'Add-AzKeyVaultManagedStorageAccount'.
VERBOSE: Exporting cmdlet 'Backup-AzKeyVaultManagedStorageAccount'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultManagedStorageAccount'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultManagedStorageSasDefinition'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultManagedStorageAccount'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultManagedStorageSasDefinition'.
VERBOSE: Exporting cmdlet 'Restore-AzKeyVaultManagedStorageAccount'.
VERBOSE: Exporting cmdlet 'Set-AzKeyVaultManagedStorageSasDefinition'.
VERBOSE: Exporting cmdlet 'Undo-AzKeyVaultManagedStorageAccountRemoval'.
VERBOSE: Exporting cmdlet 'Undo-AzKeyVaultManagedStorageSasDefinitionRemoval'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultManagedStorageAccount'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultManagedStorageAccountKey'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultAccessPolicy'.
VERBOSE: Exporting cmdlet 'Backup-AzKeyVaultSecret'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultSecret'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultSecret'.
VERBOSE: Exporting cmdlet 'Restore-AzKeyVaultSecret'.
VERBOSE: Exporting cmdlet 'Set-AzKeyVaultSecret'.
VERBOSE: Exporting cmdlet 'Undo-AzKeyVaultSecretRemoval'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultSecret'.
VERBOSE: Exporting cmdlet 'Set-AzKeyVaultAccessPolicy'.
VERBOSE: Exporting cmdlet 'Add-AzKeyVaultNetworkRule'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultNetworkRuleSetObject'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultNetworkRule'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultNetworkRuleSet'.
VERBOSE: Exporting cmdlet 'Export-AzKeyVaultSecurityDomain'.
VERBOSE: Exporting cmdlet 'Import-AzKeyVaultSecurityDomain'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultCertificateAdministratorDetail'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultCertificateOrganizationDetail'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultCertificatePolicy'.
VERBOSE: Exporting cmdlet 'Backup-AzKeyVault'.
VERBOSE: Exporting cmdlet 'Restore-AzKeyVault'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultManagedHsm'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultManagedHsm'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultManagedHsm'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultRoleAssignment'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultRoleDefinition'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultRoleDefinition'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultRoleAssignment'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultRoleAssignment'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultRoleDefinition'.
VERBOSE: Exporting cmdlet 'Add-AzKeyVaultManagedHsmNetworkRule'.
VERBOSE: Exporting cmdlet 'New-AzKeyVaultManagedHsmNetworkRuleSetObject'.
VERBOSE: Exporting cmdlet 'Remove-AzKeyVaultManagedHsmNetworkRule'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultManagedHsmNetworkRuleSet'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultSetting'.
VERBOSE: Exporting cmdlet 'Update-AzKeyVaultSetting'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultRandomNumber'.
VERBOSE: Exporting cmdlet 'Invoke-AzKeyVaultKeyOperation'.
VERBOSE: Exporting cmdlet 'Get-AzKeyVaultKeyRotationPolicy'.
VERBOSE: Exporting cmdlet 'Set-AzKeyVaultKeyRotationPolicy'.
VERBOSE: Exporting cmdlet 'Invoke-AzKeyVaultKeyRotation'.
VERBOSE: Exporting alias 'Set-AzKeyVaultCertificateAttribute'.
VERBOSE: Exporting alias 'Set-AzKeyVaultKey'.
VERBOSE: Exporting alias 'Set-AzKeyVaultKeyAttribute'.
VERBOSE: Exporting alias 'Set-AzKeyVaultSecretAttribute'.
VERBOSE: Exporting alias 'Set-AzKeyVaultRoleDefinition'.
VERBOSE: Importing cmdlet 'Add-AzKeyVaultCertificate'.
VERBOSE: Importing cmdlet 'Add-AzKeyVaultCertificateContact'.
VERBOSE: Importing cmdlet 'Add-AzKeyVaultKey'.
VERBOSE: Importing cmdlet 'Add-AzKeyVaultManagedHsmNetworkRule'.
VERBOSE: Importing cmdlet 'Add-AzKeyVaultManagedStorageAccount'.
VERBOSE: Importing cmdlet 'Add-AzKeyVaultNetworkRule'.
VERBOSE: Importing cmdlet 'Backup-AzKeyVault'.
VERBOSE: Importing cmdlet 'Backup-AzKeyVaultCertificate'.
VERBOSE: Importing cmdlet 'Backup-AzKeyVaultKey'.
VERBOSE: Importing cmdlet 'Backup-AzKeyVaultManagedStorageAccount'.
VERBOSE: Importing cmdlet 'Backup-AzKeyVaultSecret'.
VERBOSE: Importing cmdlet 'Export-AzKeyVaultSecurityDomain'.
VERBOSE: Importing cmdlet 'Get-AzKeyVault'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultCertificate'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultCertificateContact'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultCertificateIssuer'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultCertificateOperation'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultCertificatePolicy'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultKey'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultKeyRotationPolicy'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultManagedHsm'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultManagedStorageAccount'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultManagedStorageSasDefinition'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultRandomNumber'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultRoleAssignment'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultRoleDefinition'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultSecret'.
VERBOSE: Importing cmdlet 'Get-AzKeyVaultSetting'.
VERBOSE: Importing cmdlet 'Import-AzKeyVaultCertificate'.
VERBOSE: Importing cmdlet 'Import-AzKeyVaultSecurityDomain'.
VERBOSE: Importing cmdlet 'Invoke-AzKeyVaultKeyOperation'.
VERBOSE: Importing cmdlet 'Invoke-AzKeyVaultKeyRotation'.
VERBOSE: Importing cmdlet 'New-AzKeyVault'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultCertificateAdministratorDetail'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultCertificateOrganizationDetail'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultCertificatePolicy'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultManagedHsm'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultManagedHsmNetworkRuleSetObject'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultNetworkRuleSetObject'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultRoleAssignment'.
VERBOSE: Importing cmdlet 'New-AzKeyVaultRoleDefinition'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVault'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultAccessPolicy'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultCertificate'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultCertificateContact'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultCertificateIssuer'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultCertificateOperation'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultKey'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultManagedHsm'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultManagedHsmNetworkRule'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultManagedStorageAccount'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultManagedStorageSasDefinition'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultNetworkRule'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultRoleAssignment'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultRoleDefinition'.
VERBOSE: Importing cmdlet 'Remove-AzKeyVaultSecret'.
VERBOSE: Importing cmdlet 'Restore-AzKeyVault'.
VERBOSE: Importing cmdlet 'Restore-AzKeyVaultCertificate'.
VERBOSE: Importing cmdlet 'Restore-AzKeyVaultKey'.
VERBOSE: Importing cmdlet 'Restore-AzKeyVaultManagedStorageAccount'.
VERBOSE: Importing cmdlet 'Restore-AzKeyVaultSecret'.
VERBOSE: Importing cmdlet 'Set-AzKeyVaultAccessPolicy'.
VERBOSE: Importing cmdlet 'Set-AzKeyVaultCertificateIssuer'.
VERBOSE: Importing cmdlet 'Set-AzKeyVaultCertificatePolicy'.
VERBOSE: Importing cmdlet 'Set-AzKeyVaultKeyRotationPolicy'.
VERBOSE: Importing cmdlet 'Set-AzKeyVaultManagedStorageSasDefinition'.
VERBOSE: Importing cmdlet 'Set-AzKeyVaultSecret'.
VERBOSE: Importing cmdlet 'Stop-AzKeyVaultCertificateOperation'.
VERBOSE: Importing cmdlet 'Undo-AzKeyVaultCertificateRemoval'.
VERBOSE: Importing cmdlet 'Undo-AzKeyVaultKeyRemoval'.
VERBOSE: Importing cmdlet 'Undo-AzKeyVaultManagedHsmRemoval'.
VERBOSE: Importing cmdlet 'Undo-AzKeyVaultManagedStorageAccountRemoval'.
VERBOSE: Importing cmdlet 'Undo-AzKeyVaultManagedStorageSasDefinitionRemoval'.
VERBOSE: Importing cmdlet 'Undo-AzKeyVaultRemoval'.
VERBOSE: Importing cmdlet 'Undo-AzKeyVaultSecretRemoval'.
VERBOSE: Importing cmdlet 'Update-AzKeyVault'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultCertificate'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultKey'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultManagedHsm'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultManagedHsmNetworkRuleSet'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultManagedStorageAccount'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultManagedStorageAccountKey'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultNetworkRuleSet'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultSecret'.
VERBOSE: Importing cmdlet 'Update-AzKeyVaultSetting'.
VERBOSE: Importing function 'Add-AzKeyVaultManagedHsmRegion'.
VERBOSE: Importing function 'Get-AzKeyVaultManagedHsmRegion'.
VERBOSE: Importing function 'Remove-AzKeyVaultManagedHsmRegion'.
VERBOSE: Importing function 'Test-AzKeyVaultManagedHsmNameAvailability'.
VERBOSE: Importing function 'Test-AzKeyVaultNameAvailability'.
VERBOSE: Importing alias 'Set-AzKeyVaultCertificateAttribute'.
VERBOSE: Importing alias 'Set-AzKeyVaultKey'.
VERBOSE: Importing alias 'Set-AzKeyVaultKeyAttribute'.
VERBOSE: Importing alias 'Set-AzKeyVaultRoleDefinition'.
VERBOSE: Importing alias 'Set-AzKeyVaultSecretAttribute'.
Starting the parameter validation process.
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext]. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - GetAzureRMContextCommand end processing.
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext]. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - GetAzureRMContextCommand end processing.
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext]. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:30 PM - GetAzureRMContextCommand end processing.
DEBUG: [CmdletBeginProcessing]: Starting command
DEBUG: CmdletBeginProcessing:
DEBUG: CmdletProcessRecordStart:
DEBUG: CmdletGetPipeline:
DEBUG: CmdletBeforeAPICall:
DEBUG: URLCreated: /subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontDoors/{redacted}/frontendEndpoints?api-version=2025-10-01
DEBUG: RequestCreated: /subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontDoors/{redacted}/frontendEndpoints?api-version=2025-10-01
DEBUG: HeaderParametersAdded:
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontDoors/{redacted}/frontendEndpoints?api-version=2025-10-01
Headers:
x-ms-unique-id : 3
x-ms-client-request-id : 1d7db7e1-ada2-4291-aeb4-415abcaa8880
CommandName : Az.FrontDoor.internal\Get-AzFrontDoorFrontendEndpoint
FullCommandName : Get-AzFrontDoorFrontendEndpoint_List
ParameterSetName : __AllParameterSets
User-Agent : AzurePowershell/v15.4.0,PSVersion/v7.5.4,Az.FrontDoor/2.0.0
Body:
DEBUG: BeforeCall:
DEBUG: 1:36:30 PM - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Cache-Control : no-cache
Pragma : no-cache
Strict-Transport-Security : max-age=31536000; includeSubDomains
x-ms-request-id : 1fd83cec-4f27-4028-b8d5-bde58c073a9b
x-ms-client-request-id : 1d7db7e1-ada2-4291-aeb4-415abcaa8880
x-ms-operation-identifier : appId={redacted}
x-ms-ratelimit-remaining-subscription-reads: 1099
x-ms-ratelimit-remaining-subscription-global-reads: 16499
x-ms-correlation-request-id : 18b547c4-04ec-48fc-a886-0e7752c159c7
x-ms-routing-request-id : EASTUS:20260304T183631Z:18b547c4-04ec-48fc-a886-0e7752c159c7
X-Content-Type-Options : nosniff
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: 1BC24FAE101C4515B5F43FA0AC2CDA6C Ref B: BL2AA2030101021 Ref C: 2026-03-04T18:36:30Z
Date : Wed, 04 Mar 2026 18:36:30 GMT
Body:
{
"value": [
{
"id": "/subscriptions/{redacted}/resourcegroups/{redacted}/providers/Microsoft.Network/frontdoors/{redacted}/frontendendpoints/{redacted}",
"type": "Microsoft.Network/frontdoors/frontendendpoints",
"name": "{redacted}",
"properties": {
"resourceState": "Migrated",
"hostName": "{redacted}",
"sessionAffinityEnabledState": "Enabled",
"sessionAffinityTtlSeconds": 0,
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/{redacted}"
},
"customHttpsProvisioningState": "Enabled",
"customHttpsProvisioningSubstate": "CertificateDeployed",
"customHttpsConfiguration": {
"certificateSource": "FrontDoor",
"protocolType": "ServerNameIndication",
"minimumTlsVersion": "1.2",
"keyVaultCertificateSourceParameters": {
"vault": {
"id": null
},
"secretName": null,
"secretVersion": null
},
"frontDoorCertificateSourceParameters": {
"certificateType": "Dedicated",
"certificateTypeAsEnum": "Dedicated"
}
}
}
},
{
"id": "/subscriptions/{redacted}/resourcegroups/{redacted}/providers/Microsoft.Network/frontdoors/{redacted}/frontendendpoints/{redacted}",
"type": "Microsoft.Network/frontdoors/frontendendpoints",
"name": "{redacted}",
"properties": {
"resourceState": "Migrated",
"hostName": "{redacted}",
"sessionAffinityEnabledState": "Enabled",
"sessionAffinityTtlSeconds": 0,
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/{redacted}"
},
"customHttpsProvisioningState": "Enabled",
"customHttpsProvisioningSubstate": "CertificateDeployed",
"customHttpsConfiguration": {
"certificateSource": "FrontDoor",
"protocolType": "ServerNameIndication",
"minimumTlsVersion": "1.2",
"keyVaultCertificateSourceParameters": {
"vault": {
"id": null
},
"secretName": null,
"secretVersion": null
},
"frontDoorCertificateSourceParameters": {
"certificateType": "Dedicated",
"certificateTypeAsEnum": "Dedicated"
}
}
}
},
{
"id": "/subscriptions/{redacted}/resourcegroups/{redacted}/providers/Microsoft.Network/frontdoors/{redacted}/frontendendpoints/{redacted}",
"type": "Microsoft.Network/frontdoors/frontendendpoints",
"name": "{redacted}",
"properties": {
"resourceState": "Migrated",
"hostName": "{redacted}",
"sessionAffinityEnabledState": "Enabled",
"sessionAffinityTtlSeconds": 0,
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/{redacted}"
},
"customHttpsProvisioningState": "Enabled",
"customHttpsProvisioningSubstate": "CertificateDeployed",
"customHttpsConfiguration": {
"certificateSource": "FrontDoor",
"protocolType": "ServerNameIndication",
"minimumTlsVersion": "1.2",
"keyVaultCertificateSourceParameters": {
"vault": {
"id": null
},
"secretName": null,
"secretVersion": null
},
"frontDoorCertificateSourceParameters": {
"certificateType": "Dedicated",
"certificateTypeAsEnum": "Dedicated"
}
}
}
},
{
"id": "/subscriptions/{redacted}/resourcegroups/{redacted}/providers/Microsoft.Network/frontdoors/{redacted}/frontendendpoints/{redacted}-azurefd-net",
"type": "Microsoft.Network/frontdoors/frontendendpoints",
"name": "{redacted}-azurefd-net",
"properties": {
"resourceState": "Migrated",
"hostName": "{redacted}.azurefd.net",
"sessionAffinityEnabledState": "Enabled",
"sessionAffinityTtlSeconds": 0,
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/{redacted}"
},
"customHttpsProvisioningState": "Disabled",
"customHttpsProvisioningSubstate": "None",
"customHttpsConfiguration": null
}
},
{
"id": "/subscriptions/{redacted}/resourcegroups/{redacted}/providers/Microsoft.Network/frontdoors/{redacted}/frontendendpoints/{redacted}",
"type": "Microsoft.Network/frontdoors/frontendendpoints",
"name": "{redacted}",
"properties": {
"resourceState": "Migrated",
"hostName": "{redacted}",
"sessionAffinityEnabledState": "Enabled",
"sessionAffinityTtlSeconds": 0,
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/{redacted}"
},
"customHttpsProvisioningState": "Enabled",
"customHttpsProvisioningSubstate": "CertificateDeployed",
"customHttpsConfiguration": {
"certificateSource": "FrontDoor",
"protocolType": "ServerNameIndication",
"minimumTlsVersion": "1.2",
"keyVaultCertificateSourceParameters": {
"vault": {
"id": null
},
"secretName": null,
"secretVersion": null
},
"frontDoorCertificateSourceParameters": {
"certificateType": "Dedicated",
"certificateTypeAsEnum": "Dedicated"
}
}
}
},
{
"id": "/subscriptions/{redacted}/resourcegroups/{redacted}/providers/Microsoft.Network/frontdoors/{redacted}/frontendendpoints/api-{redacted}",
"type": "Microsoft.Network/frontdoors/frontendendpoints",
"name": "api-{redacted}",
"properties": {
"resourceState": "Migrated",
"hostName": "api.{redacted}",
"sessionAffinityEnabledState": "Enabled",
"sessionAffinityTtlSeconds": 0,
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/{redacted}"
},
"customHttpsProvisioningState": "Enabled",
"customHttpsProvisioningSubstate": "CertificateDeployed",
"customHttpsConfiguration": {
"certificateSource": "FrontDoor",
"protocolType": "ServerNameIndication",
"minimumTlsVersion": "1.2",
"keyVaultCertificateSourceParameters": {
"vault": {
"id": null
},
"secretName": null,
"secretVersion": null
},
"frontDoorCertificateSourceParameters": {
"certificateType": "Dedicated",
"certificateTypeAsEnum": "Dedicated"
}
}
}
}
]
}
DEBUG: ResponseCreated:
DEBUG: BeforeResponseDispatch:
DEBUG: 1:36:31 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: Finally:
DEBUG: CmdletAfterAPICall:
DEBUG: [CmdletProcessRecordAsyncEnd]: Finish HTTP process
DEBUG: CmdletProcessRecordAsyncEnd:
DEBUG: CmdletProcessRecordEnd:
DEBUG: 1:36:31 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:31 PM - GetAzureRMContextCommand begin processing with ParameterSet 'GetSingleContext'.
DEBUG: 1:36:31 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Get-AzContext]. Returning default value [True].
DEBUG: 1:36:31 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:31 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:31 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:36:31 PM - GetAzureRMContextCommand end processing.
DEBUG: [CmdletBeginProcessing]: Starting command
DEBUG: CmdletBeginProcessing:
DEBUG: CmdletProcessRecordStart:
DEBUG: CmdletGetPipeline:
DEBUG: CmdletBeforeAPICall:
DEBUG: URLCreated: /subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Cdn/profiles/{redacted}?api-version=2025-06-01
DEBUG: RequestCreated: /subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Cdn/profiles/{redacted}?api-version=2025-06-01
DEBUG: HeaderParametersAdded:
DEBUG: 1:36:31 PM - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/{redacted}/resourceGroups/{redacted}/providers/Microsoft.Cdn/profiles/{redacted}?api-version=2025-06-01
Headers:
x-ms-unique-id : 4
x-ms-client-request-id : 53768c37-a64c-4781-9ac3-c909a2503f93
CommandName : Az.Cdn.internal\Get-AzCdnProfile
FullCommandName : Get-AzCdnProfile_Get
ParameterSetName : __AllParameterSets
User-Agent : AzurePowershell/v15.4.0,PSVersion/v7.5.4,Az.Cdn/5.0.1
Body:
DEBUG: BeforeCall:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
NotFound
Headers:
Cache-Control : no-cache
Pragma : no-cache
x-ms-failure-cause : gateway
x-ms-request-id : 20c52884-108e-4092-8ecd-82689d3da9d7
x-ms-correlation-request-id : 20c52884-108e-4092-8ecd-82689d3da9d7
x-ms-routing-request-id : EASTUS:20260304T183631Z:20c52884-108e-4092-8ecd-82689d3da9d7
Strict-Transport-Security : max-age=31536000; includeSubDomains
X-Content-Type-Options : nosniff
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: 53FCB31A3BAC4F70983F7D201D410A9A Ref B: BL2AA2010204033 Ref C: 2026-03-04T18:36:31Z
Date : Wed, 04 Mar 2026 18:36:30 GMT
Body:
{
"error": {
"code": "ResourceNotFound",
"message": "The Resource 'Microsoft.Cdn/profiles/{redacted}' under resource group '{redacted}' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
}
}
DEBUG: ResponseCreated:
DEBUG: BeforeResponseDispatch:
DEBUG: CmdletProcessRecordEnd:
DEBUG: Validation of the parameter 'ProfileName' was successful.
DEBUG: WAF linked to the frontdoor:
DEBUG: Key vault name used for the frontdoor:
Exception: PowerShell\Modules\Az.Cdn\6.0.0\Cdn.Autorest\custom\Start-AzFrontDoorCdnProfilePrepareMigration.ps1:239
Line |
239 | throw "MigrationWebApplicationFirewallMapping parameter i …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| MigrationWebApplicationFirewallMapping parameter instance should be equal to the number of WAF policy instance
| in the profile.Environment data
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Module versions
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 5.3.3 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzConte…
Script 6.0.0 Az.Cdn {Add-AzCdnEdgeActionAttachment, Clear-AzCdnEndpoi…
Script 2.1.0 Az.FrontDoor {Disable-AzFrontDoorCustomDomainHttps, Enable-AzFError output
DEBUG: 1:50:01 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:50:01 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 1:50:01 PM - using account id '{redacted}'...
DEBUG: 1:50:01 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [True].
DEBUG: 1:50:01 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
HistoryId: 19
Message : MigrationWebApplicationFirewallMapping parameter instance should be equal to the number of WAF policy
instance in the profile.
StackTrace :
Exception : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line : throw "MigrationWebApplicationFirewallMapping parameter instance should be equal to the
number of WAF policy instance in the profile."
Position : At {redacted}PowerShell\Modules\Az.Cdn\6.0.0\Cdn.Autorest\
custom\Start-AzFrontDoorCdnProfilePrepareMigration.ps1:239 char:13
+ throw "MigrationWebApplicationFirewallMapping parameter i …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 19
DEBUG: 1:50:01 PM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
Message : [ResourceNotFound] : The Resource 'Microsoft.Cdn/profiles/{redacted}' under resource group
'{redacted}' was not found. For more details please go to
https://aka.ms/ARMResourceNotFoundFix
StackTrace :
Exception : System.Exception
InvocationInfo : {Get-AzCdnProfile_Get}
Line : $internalProfiles = Az.Cdn.internal\Get-AzCdnProfile @PSBoundParameters
Position : At {redacted}PowerShell\Modules\Az.Cdn\6.0.0\Cdn.Autorest\
custom\Get-AzFrontDoorCdnProfile.ps1:132 char:9
+ $internalProfiles = Az.Cdn.internal\Get-AzCdnProfile @PSBound …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 19
DEBUG: 1:50:01 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:50:01 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:50:01 PM - No authentication telemetry is found for the current cmdlet with Id 2872bc6c-cb51-4651-97d5-49e3ac9718da.
DEBUG: AzureQoSEvent: Module: Az.Accounts:5.3.3; CommandName: Resolve-AzError; PSVersion: 7.5.4; IsSuccess: True; Duration: 00:00:00.0212025; SanitizeDuration: 00:00:00.0005033
DEBUG: 1:50:01 PM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:50:02 PM - ResolveError end processing.