I am trying to understand how policies can be overridden by other policies further down the assignment tree. It would be really nice if this document could clarify that.
For example, we are looking to assign a resource type whitelist policy at the management group level, and then assign a more permissive policy (allowing more resource types) on a child management group or even directly on subscriptions.
But it's not clear to me from the documentation what happens when multiple policies, which specify conflicting conditions and/or effects, are assigned on different levels of the assignment tree.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@DaRosenberg Hi Daniel, I'm investigating this with the PM team.
FYI @bandersmsft - assigned the issue to you for further correspondence.
Still working on this.
@DaRosenberg Hi Daniel. You need to exclude the child management group or subscription from the management group-level policy assignment. Then, assign the more permissive policy on the child management group or subscription level. Basically, if any policy results in a resource getting denied then the only way to allow the resource is to modify the denying policy.
I'll update the article for this example. Thanks!
@bandersmsft OK, thanks - that's clear in the context of my particular example.
But I'd like to understand more generally the rules of inheritance and possible overriding.
If I extrapolate on what you're saying about my example, would it be correct to say in general terms:
Would that be correct?
Most helpful comment
@bandersmsft OK, thanks - that's clear in the context of my particular example.
But I'd like to understand more generally the rules of inheritance and possible overriding.
If I extrapolate on what you're saying about my example, would it be correct to say in general terms:
Would that be correct?