Azure policy with "Modify" effect not working
I have an Azure policy with a "Modify" effect: { "mode": "All", "policyRule": { "if": { "allOf": [ { "field": "type", "equals": "Microsoft.Web/sites" }, { "field": "Microsoft.Web/sites/publicNetworkAccess", "exists": "false" } ] }, "then": { "effect": "[parameters('effect')]", "details": { "roleDefinitionIds": […