Understanding Management Groups and the Azure Resource Hierarchy
This lesson explains management groups, their limits, and the four-level hierarchy of management groups, subscriptions, resource groups and resources, including inheritance.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the purpose and limits of management groups.
- Describe the four levels of the Azure hierarchy in order.
- Explain which settings are inherited down the hierarchy.
Management groups
An organization with many subscriptions needs an efficient way to manage access, policies and compliance for them. Management groups provide a level of scope above subscriptions. Subscriptions are placed in management groups, and the governance conditions applied to a management group, such as Azure Policy assignments and Azure role assignments, are inherited by all of the subscriptions and resources within it, including subscriptions added later. Management groups can be nested, so the hierarchy can reflect the organization's structure.
Important facts about management groups:
- Each directory has a single top-level root management group, and all other management groups and subscriptions fold up to it.
- A directory can contain up to 10,000 management groups.
- The tree can be up to six levels deep, not counting the root level or the subscription level.
- Each management group and subscription can have only one parent, but a management group can have many children.
Management group limits
The four-level hierarchy
Azure's management infrastructure forms a hierarchy of four levels. The following sequence shows each level from the top down and what it is used for.
-
Management groups
Organize subscriptions and apply governance to many subscriptions at once.
-
Subscriptions
Group resource groups and provide billing and access-control boundaries.
-
Resource groups
Group resources that share a lifecycle so that they are managed together.
-
Resources
The individual services: VMs, storage accounts, databases and so on.
Azure Policy assignments, Azure RBAC role assignments and budgets applied at one level flow down to the levels beneath, and so do resource locks, which start at the subscription level because a management group cannot be locked. Tags behave differently: they are not inherited by default, although Azure Policy can apply them to child resources.
The following diagram shows the four levels from the root management group down.

The Azure hierarchy
Using inheritance well
Inheritance lets governance be defined once at the right level. A policy that limits resources to European regions can be assigned to a management group that contains every European subscription, instead of to each subscription. A role that lets the security team read everything can be assigned at the root management group. A team's Contributor role can be assigned at its resource group, so it applies only there.
Because assignments flow downward, a lower level cannot remove an allow permission granted higher up through a role assignment. That is why permissions should be granted at the narrowest level that meets the need, and broad policies placed at the highest level that should share them.
Assign at the right level
Applying governance at scale
A company has 40 subscriptions organized by department and creates new subscriptions every month. It must ensure that resources in every current and future subscription can be created only in two approved regions, with the least administrative effort. Where should the allowed-locations policy be assigned?
Assign the policy to a management group that contains all of the subscriptions, such as the root management group or a top-level group beneath it. Every subscription in the group inherits the assignment, and new subscriptions placed in the group inherit it automatically. Assigning the policy to each subscription would work today but would need repeating for every new subscription, and assigning it to resource groups would need even more assignments.
Are tags applied to a subscription inherited by its resources by default?
Show answer
No. Policies, role assignments and locks are inherited, but tags are not unless Azure Policy applies them.
Exam Tips
Remember for the exam
- Hierarchy from top: management groups, subscriptions, resource groups, resources.
- Policies, role assignments and locks are inherited downward; tags are not inherited by default.
- Up to six levels of management groups below the root; each has one parent.
- Apply governance to many subscriptions at once by assigning it to a management group.