skip to Main Content

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": […

VIEW QUESTION

Get Azure Policy names

Having read the question on the link here , I would like to get a list of all the names of Azure policies assigned to the tenant irrespective of the scope (subscription, management group etc). I ran the snippet Get-AzPolicyAssignment…

VIEW QUESTION

Azure – VM Policy Assignment: NoComplianceReport

I'm looking to Audit VM Security Compliance given a policy definition with the chosen compliance "rules". I currently have a VM with AzureMonitorWindowsAgent and AzurePolicyforWindows extensions installed. I receive the following error message after assigning a custom policy definition derived…

VIEW QUESTION
Back To Top
Search