Designing Management Group Hierarchies

Watch the video to deepen your understanding.
SubscribeComplete the full lesson to earn 25 points — 50 with Pro
Work through each section, then tap “Mark as Complete” on the last one.
✦ Skip the page breaks, the wait, and see fewer ads — read each lesson on a single page with Pro
Designing Management Group Hierarchies
Introduction: The Foundation of Cloud Governance
In enterprise cloud environments, managing individual subscriptions is unsustainable. As organizations scale, they require a way to apply policies, access controls, and compliance standards across hundreds or thousands of subscriptions simultaneously.
Management Groups serve as the top-level containers in Azure that provide a governance scope for multiple subscriptions. By designing a robust Management Group hierarchy, you establish a "tree" structure that allows for the inheritance of governance settings—meaning a policy applied at the root level automatically cascades down to every child subscription, resource group, and resource.
Why does hierarchy design matter?
- Centralized Control: Apply compliance standards (e.g., "All resources must have a cost-center tag") once at the top level.
- Delegated Administration: Grant specific teams (e.g., Security, Networking) permissions at a specific node in the tree without granting them global access.
- Cost Visibility: Aggregated reporting allows leadership to track spending by business unit, environment, or geography.
Designing the Hierarchy: Practical Approaches
A well-architected hierarchy typically reflects your organization’s operating model. While there is no "one-size-fits-all" solution, most successful enterprises follow one of three common patterns.
1. The Environment-Based Model
This model organizes resources based on the lifecycle stage. It is ideal for companies that need strict separation between Production and Non-Production environments.
- Root Management Group
- Production: Strict policies, restricted access, high availability requirements.
- Non-Production: More flexibility, lower cost, developer access.
- Sandbox: Highly restricted environments for experimentation.
2. The Business Unit (BU) Model
This model organizes resources based on organizational structure. This is preferred by large conglomerates where different business units operate independently.
- Root Management Group
- BU: Finance
- BU: Retail
- BU: Manufacturing
3. The Hybrid (Recommended) Model
Most mature organizations use a hybrid approach that combines business units with environment stages.
Example Hierarchy:
- Root Management Group
- Platform (Shared Services): Connectivity, Logging, Identity.
- Landing Zones:
- BU: Retail
- Retail-Prod
- Retail-NonProd
- BU: Finance
- Finance-Prod
- Finance-NonProd
- BU: Retail
Implementing with Infrastructure as Code (IaC)
Using Terraform or Bicep to define your hierarchy ensures that your governance structure is version-controlled and repeatable. Below is a simplified example using Terraform to define a Management Group structure.
# Define the Root/Parent Management Group
resource "azurerm_management_group" "parent" {
name = "corp-root"
display_name = "Corporate Root MG"
}
# Define a child Management Group for Production
resource "azurerm_management_group" "prod" {
name = "prod-mg"
display_name = "Production Environment"
parent_management_group_id = azurerm_management_group.parent.id
}
# Assign a Subscription to the Production Management Group
resource "azurerm_management_group_subscription_association" "example" {
management_group_id = azurerm_management_group.prod.id
subscription_id = "/subscriptions/00000000-0000-0000-0000-000000000000"
}
Note: Always utilize the
parent_management_group_idparameter to explicitly define the tree structure, ensuring that policies inherit correctly from the top down.
Best Practices
- Keep it Shallow: Do not exceed 6 levels of depth. Deep hierarchies become difficult to visualize, manage, and troubleshoot. A 3-4 level depth is usually sufficient.
- Use Policy Inheritance Wisely: Apply "Guardrail" policies (e.g., Allowed Regions) at the highest possible level. Apply "Specific" policies (e.g., VM SKU restrictions) as close to the subscription as necessary.
- Governance by Exception: If a specific subscription requires an exemption from a policy, use Azure Policy Exemptions rather than moving the subscription to a less-governed Management Group.
- Naming Conventions: Implement a strict naming convention for your Management Groups (e.g.,
mg-prod-retail-001). This makes it easier to identify the purpose of the group via CLI or Azure Portal.
Common Pitfalls to Avoid
- The "Root" Trap: Do not assign resources or policies directly to the "Tenant Root Group" unless absolutely necessary. This is the top-level container for the entire directory; cluttering it can lead to accidental policy enforcement across the entire organization.
- Over-Engineering: Avoid creating a Management Group for every single team or project. This leads to "Management Group Sprawl," where managing the hierarchy becomes more complex than managing the resources themselves.
- Ignoring RBAC: Do not assign "Owner" or "Contributor" permissions at the root level. Use the principle of least privilege, assigning roles at the lowest level of the hierarchy required for the task.
⚠️ Critical Warning: The Root Group
By default, the Tenant Root Group exists for every Azure AD tenant. You should create a custom "Root" Management Group under the Tenant Root Group. This allows you to manage the entire hierarchy without risking unintended global impacts on your Azure AD tenant.
Key Takeaways
- Management Groups provide the scope for governance, allowing you to manage compliance and access at scale.
- The hierarchy should reflect your business—whether that is by environment, business unit, or a combination of both.
- Use Infrastructure as Code (IaC) to deploy your hierarchy. This ensures consistency and auditability of your governance structure.
- Inheritance is your greatest tool. By placing policies at the appropriate level, you ensure that all current and future subscriptions automatically inherit the necessary guardrails.
- Complexity is the enemy. Design a hierarchy that is simple enough to be understood by your team at a glance, and avoid over-nesting.
Reach the last section to complete this lesson and earn points — you're on section 1 of 4.
- Introduction to Azure Monitor
- Azure Monitor Architecture and Data Sources
- Configuring Log Analytics Workspaces
- Designing Log Routing Solutions
- Configuring Diagnostic Settings
- Application Insights for Solution Architects
- Network Watcher and Network Monitoring
- Azure Monitor Alerts and Action Groups
- Workbooks and Custom Dashboards
- Designing a Comprehensive Monitoring Strategy
- Logging and Monitoring Quiz5q
- Microsoft Entra ID for Solution Architects
- Designing Identity Solutions: B2B Collaboration
- Designing Identity Solutions: B2C Scenarios
- Conditional Access Policy Design
- Designing for Multi-Factor Authentication
- Managed Identities for Azure Resources
- Service Principals and App Registrations
- Role-Based Access Control Design
- Privileged Identity Management
- Microsoft Entra ID Protection
- Zero Trust Architecture with Microsoft Entra
- Authentication and Authorization Quiz5q
- Introduction to Azure Governance
- Designing Management Group Hierarchies
- Subscription Strategy Design
- Resource Group Organization Patterns
- Azure Policy Design and Assignment
- Custom Policy Definitions and Initiatives
- Resource Locks and Tagging Strategies
- Azure Blueprints and Landing Zones
- Cost Management and Budget Design
- Cloud Adoption Framework for Governance
- Governance Solutions Quiz5q
- Introduction to Azure Storage
- Storage Account Types and Replication
- Blob Storage Tiers and Lifecycle Management
- Azure Files and Azure NetApp Files
- Azure Managed Disks Design
- Azure Data Lake Storage Gen2
- Cosmos DB Consistency Models
- Cosmos DB Partitioning and Throughput Design
- Cosmos DB API Selection Guide
- Table Storage and Queue Storage Design
- Storage Security and Encryption
- Non-Relational Storage Quiz5q
- Azure SQL Database Service Tiers
- Azure SQL Managed Instance Design
- Azure Database for MySQL and PostgreSQL
- Database Scaling: Vertical and Horizontal
- Read Replicas and Geo-Replication
- Database Security and Auditing Design
- Transparent Data Encryption and Always Encrypted
- Caching with Azure Cache for Redis
- Azure SQL Elastic Pools Design
- Relational Storage Quiz5q
- Azure Data Factory Design Patterns
- Data Integration Pipeline Architecture
- Azure Synapse Analytics Design
- Azure Databricks Integration Patterns
- Azure Stream Analytics for Real-Time Data
- Azure Event Hubs for Data Ingestion
- Data Migration Strategies and Tools
- Azure Purview for Data Governance
- Data Integration Quiz5q
- Introduction to High Availability in Azure
- Availability Zones and Availability Sets
- Azure Load Balancer Design
- Application Gateway and WAF Design
- Azure Front Door and Global Load Balancing
- Azure Traffic Manager Routing Methods
- Multi-Region Architecture Design
- SLA Design and Composite SLAs
- Health Probes and Failover Configuration
- Azure Service Fabric for Stateful HA
- High Availability Quiz5q
- Azure Backup Architecture and Vaults
- Backup Policies for VMs and Databases
- Azure Site Recovery Design
- RTO and RPO Planning Strategies
- Geo-Redundant and Cross-Region Recovery
- Hybrid and On-Premises Backup Solutions
- Resiliency Patterns and Chaos Engineering
- Disaster Recovery Testing and Drills
- Azure Immutable Backup and Soft Delete
- Backup and Disaster Recovery Quiz5q
- Introduction to Azure Compute Options
- Virtual Machine Design and Sizing
- VM Scale Sets and Autoscaling Strategies
- Azure Batch for Large-Scale Workloads
- Azure App Service Plans and Design
- App Service Environments and Isolation
- Azure Container Instances
- Azure Kubernetes Service Architecture
- AKS Networking and Storage Design
- Azure Functions and Serverless Design
- Durable Functions and Orchestration
- Compute Decision Framework
- Azure Virtual Desktop Design
- Compute Solutions Quiz5q
- Microservices Architecture Patterns
- Azure API Management Design
- Azure Service Bus Messaging Design
- Azure Event Grid and Event-Driven Architecture
- Azure Event Hubs for Streaming
- Azure Logic Apps and Integration Workflows
- Azure SignalR and Web PubSub
- Caching Strategies and Azure CDN
- App Configuration and Feature Flags
- Designing for Scalability and Performance
- Azure Container Apps Design
- Application Architecture Quiz5q
- Virtual Network Design and Address Planning
- Subnet Design and Network Segmentation
- Hub-Spoke Network Topology
- Azure Virtual WAN Design
- VPN Gateway Design and Configuration
- ExpressRoute Circuit Design
- Network Security Groups Design
- Azure Firewall and Firewall Manager
- Azure DDoS Protection Design
- Private Endpoints and Private Link
- Azure DNS and DNS Architecture
- Network Performance and Traffic Routing
- Azure Bastion and Secure Access
- Network Solutions Quiz5q
- Azure Migrate Overview and Assessment
- Migration Assessment and Discovery
- Azure Cloud Adoption Framework for Migration
- VM Migration with Azure Migrate
- Database Migration with Azure DMS
- Application Migration to App Service
- Containerizing Applications for Migration
- Migration Cost Planning and Optimization
- Data Box and Offline Migration Methods
- Migrations Quiz5q
Enjoying the courses?
Everything stays free. Pro shows fewer ads, doubles the points you earn on every lesson and quiz so you progress twice as fast, unlocks half of every practice exam — plus full case studies — with the Learn & Exam study modes, and lets you read each lesson on one page.
- ✓ Fewer advertisements
- ✓ 2× points per lesson & quiz
- ✓ 50% of every exam unlocked
- ✓ Learn & Exam modes
- ✓ Distraction-free lessons