Forum Discussion
jitesh315
Sep 08, 2021Copper Contributor
Unable to assign policy from Azure Powershell
Hi , I am trying to Assign policy using the Azure Powershell to the resource group First Creating RG----------------------- $rg=New-AzResourceGroup -Name "My_New_resource_Group" -Location "East Us...
pazdedav
Sep 16, 2021MVP
It seems your policy definition has a parameter (alllowedLocations) that needs to be populated with some value during the policy assignment. Since there is no built-in policy with a display name you specified, I assume you (or someone else in your org) created a custom policy.
Can you share the JSON representation of that policy definition?
Can you share the JSON representation of that policy definition?