Pcornel
Browse topics
Options
Recent
Favorites
Cloud · Technical reference

Azure Governance

Direct answer

Azure governance is the set of controls that keep a growing Azure estate secure, compliant and manageable: a management group hierarchy, Azure RBAC for who can do what, Azure Policy for what may be deployed and how, tags for ownership and cost, and locks against accidental deletion.

When to use this

Use it when setting up subscriptions (landing zones), granting access, enforcing standards such as allowed regions or required tags, and when a deployment is denied or access fails.

First 30 seconds

1. At which scope is the role or policy assigned?

2. Is the action blocked by RBAC (AuthorizationFailed), policy (RequestDisallowedByPolicy) or a lock (ScopeLocked)?

3. Is the resource compliant and who owns it (tags)?

Operational verification

management group → subscription → resource group → resource; at each scope: RBAC role assignments, policy/initiative assignments (effects), locks; inheritance downward; compliance evaluation and remediation

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Microsoft Azure governance services; az CLI.
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

PlatformMicrosoft Azure governance services; az CLI.
Key commandaz lock list --resource-group rg-app --output table
Scope / prerequisiteUse it when setting up subscriptions (landing zones), granting access, enforcing standards such as allowed regions or r…
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Read-only Verification Verify boundary
# What can a principal do, and where?
az role assignment list --assignee anna@example.com --all --query "[].{role:roleDefinitionName, scope:scope}" --output table

# Policies assigned at a subscription and compliance summary for a resource group
az policy assignment list --scope /subscriptions/<sub-id> --query "[].{name:displayName, enforcement:enforcementMode}" --output table
az policy state summarize --resource-group rg-app --query "results.{nonCompliantResources:nonCompliantResources, nonCompliantPolicies:nonCompliantPolicies}"

# Non-compliant resources and the policy that flags them
az policy state list --resource-group rg-app --filter "complianceState eq 'NonCompliant'" \
  --query "[].{resource:resourceId, policy:policyDefinitionName}" --output table

# Locks and tags
az lock list --resource-group rg-app --output table
az group show --name rg-app --query tags
Step 2 Common mistakes Narrow the fault
  • Owner role for everyone "to get things done".
  • Assigning roles to individual users on individual resources.
  • Policies only in audit mode forever.
  • ReadOnly locks that break normal operations.
  • No owner/environment tags, making cost and incident ownership unclear.
Step 3 Troubleshooting Narrow the fault

AuthorizationFailed. No role grants the action at that scope; check inherited assignments with --all. Remember role assignments can take minutes to propagate and tokens may need a refresh.

RequestDisallowedByPolicy. The error names the policy assignment; fix the deployment (region, SKU, tags) or request an exemption.

ScopeLocked. A lock on the resource, resource group or subscription blocks the operation; remove it deliberately for maintenance and re-apply.

Policy shows non-compliant after deployment. Evaluation runs periodically; existing resources need remediation tasks for deployIfNotExists/modify.

Key points

Assign RBAC and policy at the highest sensible scope; they inherit downward. Azure RBAC (resources) is separate from Entra roles (directory). Policy effects: deny blocks, audit reports, modify/append change, deployIfNotExists remediates. Locks (CanNotDelete, ReadOnly) override permissions.

Key checks
  • az role assignment list --assignee <principal> --all -o table — what a principal can do and where.
  • az policy assignment list --scope <scope> -o table — assigned policies.
  • az policy state summarize --resource-group <rg> — compliance summary.
  • az lock list -g <rg> -o table — locks.
  • az tag list / az resource list --tag owner=<x> — tags.
ReferenceWhat it is2 sections · depth on demand

Direct Answer

Azure governance combines four controls that all inherit down the hierarchy (management groups → subscriptions → resource groups → resources). Azure RBAC assigns roles (Owner, Contributor, Reader, or specific roles) to users, groups and managed identities at a scope. Azure Policy evaluates resources against rules and can deny, audit, modify or deploy missing settings. Tags record owner, environment and cost centre. Resource locks (CanNotDelete, ReadOnly) protect critical resources even from people with permissions. A landing zone packages these into a ready-made subscription design.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Azure RBAC

Built-in roleCan
OwnerEverything, including granting access
ContributorCreate and manage resources, not grant access
ReaderView
User Access AdministratorManage role assignments
Service-specific rolese.g. Virtual Machine Contributor, Storage Blob Data Reader

An assignment = principal + role + scope. Assign to groups, use custom roles sparingly, and put privileged roles behind PIM. Azure RBAC is separate from Entra ID directory roles (Global Administrator etc.), although a Global Administrator can elevate to manage all subscriptions.

Azure Policy

A policy definition is a rule (if conditions → effect); an initiative groups definitions (for example a regulatory baseline). Assignments apply them at a scope, with exclusions and parameters.

EffectBehaviour
denyBlock create/update that matches
denyActionBlock specific actions such as delete
audit / auditIfNotExistsReport non-compliance
append / modifyAdd or change properties (e.g. tags) at deployment
deployIfNotExistsDeploy a missing related resource (e.g. diagnostic settings); needs a managed identity and remediation for existing resources
disabledTurn off
manualAttestation-based compliance

Typical baseline: allowed regions, required tags, no public IPs on NICs in certain subscriptions, diagnostic settings to Log Analytics, storage without public blob access.

Tags and locks

Tags (key/value) are not inherited automatically — use policy (modify/append) to inherit from resource groups or require them. Locks: CanNotDelete allows changes but not deletion; ReadOnly blocks changes too (and can break operations that use POST, such as listing storage keys).

Landing zones

Microsoft's Cloud Adoption Framework landing zones define management groups (platform, landing zones, sandbox, decommissioned), platform subscriptions (identity, management, connectivity), and policies/RBAC applied at each level, so new workloads start compliant.

Other providers

AzureAWSGoogle Cloud
Management groupsOrganizations OUsFolders
SubscriptionAccountProject
Azure RBACIAM policies and rolesIAM roles and bindings
Azure Policy (deny)Service control policies (SCPs)Organization policies
Azure Policy (audit)AWS Config rulesSecurity Command Center / policy analyzer
TagsTagsLabels and tags
Activity LogCloudTrailCloud Audit Logs
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
azure policyazure rbaccloud governanceresource managementresource locklanding zonetaggingdefender for cloud
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Policy compliance (az policy state summarize) reports non-compliant resources per assignment; a sudden jump usually follows a new assignment or a policy definition change, not new resources.

Policy effect in errors: RequestDisallowedByPolicy names the assignment and definition — the deny happened before the resource was created.

Role assignments (az role assignment list --all): look for Owner/Contributor at subscription or management group scope held by users rather than groups, and for assignments to deleted principals (principalName empty).

Locks (az lock list): CanNotDelete or ReadOnly explains why a delete or even a configuration change fails for an otherwise authorized user.

Design & tradeoffs

Design decisions

Guardrails before workloads: a management group hierarchy, baseline policies (allowed regions, required tags, diagnostic settings, no public IPs where not needed) and RBAC by group form a landing zone.

Audit, then deny: start new policies with Audit to measure impact, then move to Deny or DeployIfNotExists once exceptions are handled.

Privileged access: use Privileged Identity Management for Owner/Contributor and keep standing assignments minimal.

Cost governance: budgets with alerts per subscription and tags for cost allocation.

Confirmation

Confirm action

Continue?