When I Copy and Paste this sample policy template into the Azure Portal as a new Policy Definition I get an error message.
Here is the template:
https://github.com/Azure/Azure-Lighthouse-samples/blob/master/templates/policy-add-or-replace-tag/addOrReplaceTag.json
Error Message:
Creating policy definition 'TEST' in 'Training' failed. The request content was invalid and could not be deserialized: 'Required property 'policyRule' expects a value but got null. Path 'properties', line 1, position 168.'.
I've tried a few other sample policies from github and received similar error messages.
Both Sample documents from this Microsoft Document article I'm not able to deploy as well.
https://learn.microsoft.com/en-us/azure/lighthouse/how-to/deploy-policy-remediation#create-a-user-who-can-assign-roles-to-a-managed-identity-in-the-customer-tenant
Please tell me what I missing.
Thank you!