What is Azure Policy and what effects can a policy have?
BeginnerConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer
Azure Policy evaluates resource properties against rules at create/update time and continuously for compliance. Effects:
- Deny: block the request.
- Audit / AuditIfNotExists: mark non-compliant.
- Append / Modify: add or change properties (tags, settings) during the request; Modify also supports remediation.
- DeployIfNotExists: deploy a related resource (diagnostic setting, Defender, private DNS record) through a managed identity.
- DenyAction: block specific actions like delete.
- Disabled, and Manual for attestation.
Policies are grouped into initiatives and assigned at management group, subscription or RG scope with parameters and exclusions.
More on Policy, Cost, AWS Mapping and Rapid-fire
Azure Policy vs RBAC: what is the difference?BeginnerShow an Azure Policy definition that denies public IPs on NICs.AdvancedHow do remediation tasks and policy exemptions work?AdvancedWhat is Microsoft Defender for Cloud?IntermediateWhat tools does Azure offer for cost management?BeginnerReservations vs Savings Plans vs Spot vs Azure Hybrid Benefit.Intermediate