0
0
Azurecloud~10 mins

Subscriptions and management groups in Azure - Step-by-Step Execution

Choose your learning style9 modes available
Process Flow - Subscriptions and management groups
Start: Create Management Groups
Assign Subscriptions to Groups
Apply Policies and Access Controls
Inheritance of Settings
Manage Billing and Resources
End
This flow shows how management groups organize subscriptions, apply policies, and manage access and billing.
Execution Sample
Azure
Create MG 'Corp'
Assign Sub1 to 'Corp'
Assign Sub2 to 'Corp'
Apply Policy to 'Corp'
Check Sub1 Policy
Check Sub2 Policy
This example creates a management group, assigns two subscriptions, applies a policy, and checks policy inheritance.
Process Table
StepActionTargetResultNotes
1Create Management GroupCorpManagement group 'Corp' createdReady to organize subscriptions
2Assign SubscriptionSub1 to CorpSub1 assigned to 'Corp'Sub1 inherits Corp policies
3Assign SubscriptionSub2 to CorpSub2 assigned to 'Corp'Sub2 inherits Corp policies
4Apply PolicyCorpPolicy applied to 'Corp'Policy affects all child subscriptions
5Check PolicySub1Sub1 has policy from 'Corp'Inheritance confirmed
6Check PolicySub2Sub2 has policy from 'Corp'Inheritance confirmed
7End-Execution completeAll subscriptions managed under 'Corp'
💡 All subscriptions assigned and policies applied via management group
Status Tracker
VariableStartAfter Step 1After Step 2After Step 3After Step 4After Step 5After Step 6Final
Management Groups{}{'Corp': {}}{'Corp': {'Sub1'}}{'Corp': {'Sub1', 'Sub2'}}{'Corp': {'Sub1', 'Sub2'}, 'Policy': 'Applied'}{'Corp': {'Sub1', 'Sub2'}, 'Policy': 'Applied'}{'Corp': {'Sub1', 'Sub2'}, 'Policy': 'Applied'}{'Corp': {'Sub1', 'Sub2'}, 'Policy': 'Applied'}
Subscriptions{}{}{'Sub1': 'Corp'}{'Sub1': 'Corp', 'Sub2': 'Corp'}{'Sub1': 'Corp', 'Sub2': 'Corp'}{'Sub1': 'Corp', 'Sub2': 'Corp'}{'Sub1': 'Corp', 'Sub2': 'Corp'}{'Sub1': 'Corp', 'Sub2': 'Corp'}
PoliciesNoneNoneNoneNonePolicy on 'Corp'Policy on 'Corp'Policy on 'Corp'Policy on 'Corp'
Key Moments - 3 Insights
Why do subscriptions inherit policies from management groups?
Because policies applied to a management group automatically apply to all subscriptions assigned to it, as shown in steps 4 to 6 in the execution table.
Can a subscription belong to more than one management group?
No, each subscription can only be assigned to one management group at a time, as shown in steps 2 and 3 where Sub1 and Sub2 are assigned individually.
What happens if a policy is applied directly to a subscription and also to its management group?
The subscription will have both policies applied, but management group policies provide a baseline that applies to all child subscriptions, ensuring consistent governance.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution table, at which step is the policy first applied to the management group?
AStep 2
BStep 4
CStep 5
DStep 6
💡 Hint
Check the 'Action' column for when 'Apply Policy' occurs.
According to the variable tracker, what is the state of 'Subscriptions' after Step 3?
A{'Sub1': 'Corp', 'Sub2': 'Corp'}
B{'Sub1': 'Corp'}
C{}
D{'Sub2': 'Corp'}
💡 Hint
Look at the 'Subscriptions' row under 'After Step 3' in the variable tracker.
If a new subscription Sub3 is assigned to 'Corp' after Step 6, what will happen to its policies?
ASub3 will have a different policy
BSub3 will not have any policies
CSub3 will inherit the policy applied to 'Corp'
DSub3 must be assigned a policy manually
💡 Hint
Refer to the concept that policies on management groups apply to all assigned subscriptions.
Concept Snapshot
Subscriptions and Management Groups in Azure:
- Management groups organize subscriptions hierarchically.
- Policies and access controls applied to groups affect all child subscriptions.
- Each subscription belongs to one management group.
- This structure helps manage governance and billing efficiently.
- Changes at group level propagate automatically to subscriptions.
Full Transcript
This visual execution shows how Azure management groups organize subscriptions. First, a management group named 'Corp' is created. Then, two subscriptions, Sub1 and Sub2, are assigned to 'Corp'. A policy is applied to the 'Corp' group, which automatically applies to both subscriptions. The variable tracker confirms the state changes after each step, showing subscriptions assigned and policies applied. Key moments clarify inheritance of policies and subscription assignment rules. The quiz tests understanding of when policies apply and how subscriptions relate to management groups.