Azure Governance: Azure Policy, Resource Locks, Tags and Microsoft Purview

Microsoft Azure Fundamentals AZ 900 50 min min read Updated: Nov 17, 2026 Beginner
Azure Governance: Azure Policy, Resource Locks, Tags and Microsoft Purview
Beginner Topic 1 of 3

Governance in One Line

Governance means setting rules and making sure resources follow them.

Azure Policy

  • Checks resources against rules and can audit, deny or fix them
  • Example rules: only allow regions in India, only allow certain VM sizes, require a tag
  • An initiative is a group of policies working toward one goal (for example a compliance standard)
  • Policies are assigned at a scope and inherited downward
  • Shows a compliance dashboard

Policy Versus RBAC

RBACAzure Policy
FocusWhat a user can doWhat resources are allowed to look like
ExampleRavi can create VMsVMs can only be created in Central India
Applies toPeople and appsResources

Resource Locks

LockEffect
CanNotDeleteUsers can read and change, but not delete
ReadOnlyUsers can only read. No change or delete
  • Locks apply to everyone, even owners, until the lock is removed
  • Applied to a resource, resource group or subscription and inherited by what is inside
bash az lock create --name keep-it --lock-type CanNotDelete --resource-group rg-prod

Tags

  • Name and value labels on resources, for example env=prod, owner=finance
  • Use for cost reports, organization and automation
  • Tags are not inherited by default. Policy can add or require them

Microsoft Purview

A set of services to govern and protect data across your cloud and on-premises: find what data you have (data map and catalog), classify sensitive information, track data lineage and support compliance.

Quick Chooser

GoalUse
Stop resources being created in the wrong regionAzure Policy
Stop an important database being deleted by mistakeResource lock
See the costs for each departmentTags + Cost Management
Control who can restart VMsRBAC
Find and classify sensitive dataMicrosoft Purview

Practice

  1. RBAC or Policy: which limits resource regions?
  2. Does a CanNotDelete lock stop owners from deleting?
  3. Are tags inherited automatically?

Conclusion

Policy enforces rules on resources, RBAC controls people, locks prevent accidents, tags organize and track cost and Purview governs data.

Quick Summary: policy; vs RBAC; locks; tags; Purview; chooser.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators