Provide samples for understanding managed service solutions
286
stars
289
forks
source link
Create-AzDiagPolicy.ps1 fails for resourceType Microsoft.NetApp/netAppAccounts/capacityPools/volumes (and potentially others) #132
Open
wozneyr opened 8 months ago
Description
In the
Parse-ResourceType
function found in the Create-AzDiagPolicy.ps1 script there are currently checks for 1 or 2/
characters, but not 3.Block in question:
Command Ran
.\Create-AzDiagPolicy.ps1 -ExportLA -ValidateJSON -ManagementGroup -ManagementGroupID <management_group_id> -ExportAll -ExportDir policies -AllRegions
Error
Expected Behavior
Diagnostic Policy JSON is generated for Microsoft.NetApp/netAppAccounts/capacityPools/volumes