Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPostgreSQL not working #24839
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
needs-team-attention
This issue needs attention from Azure service team or SDK team
Description
I am trying to execute below command as part of my script but it fails.
Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPostgreSQL
51Get-AzDataProtectionPolicyTemplate: /home/runner/work/_temp/ff25746d-1e43-4e99-b56a-7db060b5bcb1.ps1:12
52Line |
53 12 | Get-AzDataProtectionPolicyTemplate
54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | Cannot process command because of one or more missing mandatory
56 | parameters: DatasourceType.
NOTE : I am able to run this on Azure CLoudShell and PowerShell, hence doesnt seems to be cmdlet issue but platform.
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: