Skill 2.1.7

Describe the hierarchy of resource groups, subscriptions, and management groups

Key Concepts

From the top down, the hierarchy is management groups, subscriptions, resource groups and resources. Management groups organize subscriptions; subscriptions contain resource groups and set billing; resource groups contain resources that share a lifecycle; resources are the services themselves.

Azure Policy assignments and Azure RBAC role assignments set at one level apply to every level below. Resource locks behave the same way from the subscription level down; a management group cannot be locked. For example, a Reader role assigned at a subscription lets the user read every resource group and resource in it, and a policy assigned at a management group applies to every subscription under it. Tags are different: they are not inherited by default, although Azure Policy can add or inherit them. Designing the hierarchy well lets governance be set once at the right level instead of repeatedly at lower levels.