Sep 07 2021
I hope someone can help me get this last piece I have been stuck on. I have created about 6 different Tags. I want to create a policy initiative. I can't seem to get this created via PowerShell.
I am using the set-New-AzPolicySetDefinition cmdlet. The error I am getting New-AzPolicySetDefinition: The provided value for parameter 'PolicyDefinition' is not a valid JSON array.
Please see attached with two examples on what I tried.
Any help will be much appreciated.