Table of Contents

Azure Policy

Examples of Using Policy

Policy Evaluation

Times or events when policies are evaluated:

Evaluation Response

Options for responding to compliance issues:

Effect Order Of Evaulation

There is an order of precedence for the possible policy effects.

Deny effect applies to all actions (create, update, delete), while DenyAction effect only applies to deletion actions.
  • Use Deny effect when you want to block all unauthorized actions (create, update, delete) on a resource that does not support tags and locations.
  • Use DenyAction effect when you want to specifically prevent the deletion of resources that support tags and locations, such as virtual networks or storage accounts.