Skip to content

Commit 8a7287f

Browse files
authored
Merge pull request #111058 from DCtheGeek/dmc-mg-images
Full review, reflow, and platform adjustments
2 parents 41e8253 + b5a9c12 commit 8a7287f

File tree

3 files changed

+306
-166
lines changed

3 files changed

+306
-166
lines changed
Lines changed: 49 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
---
22
title: Create management groups to organize resources - Azure Governance
33
description: Learn how to create Azure management groups to manage multiple resources using the portal, Azure PowerShell, and Azure CLI.
4-
ms.date: 12/18/2019
4+
ms.date: 04/15/2020
55
ms.topic: conceptual
66
---
77
# Create management groups for resource organization and management
88

9-
Management groups are containers that help you manage access, policy, and compliance across
10-
multiple subscriptions. Create these containers to build an effective and efficient hierarchy that
11-
can be used with [Azure Policy](../policy/overview.md) and [Azure Role Based
12-
Access Controls](../../role-based-access-control/overview.md). For more information on management
13-
groups, see [Organize your resources with Azure management groups](overview.md).
9+
Management groups are containers that help you manage access, policy, and compliance across multiple
10+
subscriptions. Create these containers to build an effective and efficient hierarchy that can be
11+
used with [Azure Policy](../policy/overview.md) and [Azure Role Based Access
12+
Controls](../../role-based-access-control/overview.md). For more information on management groups,
13+
see [Organize your resources with Azure management groups](overview.md).
1414

1515
The first management group created in the directory could take up to 15 minutes to complete. There
1616
are processes that run the first time to set up the management groups service within Azure for your
17-
directory. You receive a notification when the process is complete. For more information, see [initial setup of management groups](./overview.md#initial-setup-of-management-groups).
17+
directory. You receive a notification when the process is complete. For more information, see
18+
[initial setup of management groups](./overview.md#initial-setup-of-management-groups).
1819

1920
## Create a management group
2021

21-
Any Azure AD user in the tenant can create a management group without the management group write permission assigned to that user. This new management group will be a child of the Root Management Group and the creator will be given an "Owner" role assignment. Management group service allows this ability so that role assignments are not needed at the root level. No users have access to the Root Management Group when it is created. To avoid the hurdle of finding the Azure AD Global Admins to start using management groups, we allow the creation of the initial management groups at the root level.
22+
Any Azure AD user in the tenant can create a management group without the management group write
23+
permission assigned to that user. This new management group will be a child of the Root Management
24+
Group and the creator will be given an "Owner" role assignment. Management group service allows this
25+
ability so that role assignments are not needed at the root level. No users have access to the Root
26+
Management Group when it is created. To avoid the hurdle of finding the Azure AD Global Admins to
27+
start using management groups, we allow the creation of the initial management groups at the root
28+
level.
2229

2330
You can create the management group by using the portal, a
2431
[Resource Manager template](../../azure-resource-manager/templates/deploy-to-tenant.md#create-management-group),
@@ -36,34 +43,47 @@ PowerShell, or Azure CLI.
3643

3744
1. Select **+ Add management group**.
3845

39-
![Page for working with management groups](./media/main.png)
46+
:::image type="content" source="./media/main.png" alt-text="Page for working with management groups" border="false":::
4047

4148
1. Fill in the management group ID field.
4249

43-
- The **Management Group ID** is the directory unique identifier that is used to submit commands on this management group. This identifier isn't editable after creation as it is used throughout the Azure system to identify this group. The [root management group](overview.md#root-management-group-for-each-directory) is automatically created with an ID that is the Azure Active Directory ID. For all other management groups, assign a unique ID.
44-
- The display name field is the name that is displayed within the Azure portal. A separate display name is an optional field when creating the management group and can be changed at any time.
50+
- The **Management Group ID** is the directory unique identifier that is used to submit commands
51+
on this management group. This identifier isn't editable after creation as it is used
52+
throughout the Azure system to identify this group. The
53+
[root management group](overview.md#root-management-group-for-each-directory) is automatically
54+
created with an ID that is the Azure Active Directory ID. For all other management groups,
55+
assign a unique ID.
56+
- The display name field is the name that is displayed within the Azure portal. A separate
57+
display name is an optional field when creating the management group and can be changed at any
58+
time.
4559

46-
![Options pane for creating a new management group](./media/create_context_menu.png)
60+
:::image type="content" source="./media/create_context_menu.png" alt-text="Options pane for creating a new management group" border="false":::
4761

4862
1. Select **Save**.
4963

5064
### Create in PowerShell
5165

52-
For PowerShell, use the [New-AzManagementGroup](/powershell/module/az.resources/new-azmanagementgroup) cmdlet to create a new management group.
66+
For PowerShell, use the
67+
[New-AzManagementGroup](/powershell/module/az.resources/new-azmanagementgroup) cmdlet to create a
68+
new management group.
5369

5470
```azurepowershell-interactive
5571
New-AzManagementGroup -GroupName 'Contoso'
5672
```
5773

58-
The **GroupName** is a unique identifier being created. This ID is used by other commands to reference this group and it can't be changed later.
74+
The **GroupName** is a unique identifier being created. This ID is used by other commands to
75+
reference this group and it can't be changed later.
5976

60-
If you want the management group to show a different name within the Azure portal, add the **DisplayName** parameter. For example, to create a management group with the GroupName of Contoso and the display name of "Contoso Group", use the following cmdlet:
77+
If you want the management group to show a different name within the Azure portal, add the
78+
**DisplayName** parameter. For example, to create a management group with the GroupName of Contoso
79+
and the display name of "Contoso Group", use the following cmdlet:
6180

6281
```azurepowershell-interactive
6382
New-AzManagementGroup -GroupName 'Contoso' -DisplayName 'Contoso Group'
6483
```
6584

66-
In the preceding examples, the new management group is created under the root management group. To specify a different management group as the parent, use the **ParentId** parameter.
85+
In the preceding examples, the new management group is created under the root management group. To
86+
specify a different management group as the parent, use the **ParentId** parameter.
6787

6888
```azurepowershell-interactive
6989
$parentGroup = Get-AzManagementGroup -GroupName Contoso
@@ -72,21 +92,28 @@ New-AzManagementGroup -GroupName 'ContosoSubGroup' -ParentId $parentGroup.id
7292

7393
### Create in Azure CLI
7494

75-
For Azure CLI, use the [az account management-group create](/cli/azure/account/management-group?view=azure-cli-latest#az-account-management-group-create) command to create a new management group.
95+
For Azure CLI, use the
96+
[az account management-group create](/cli/azure/account/management-group?view=azure-cli-latest#az-account-management-group-create)
97+
command to create a new management group.
7698

7799
```azurecli-interactive
78100
az account management-group create --name Contoso
79101
```
80102

81-
The **name** is a unique identifier being created. This ID is used by other commands to reference this group and it can't be changed later.
103+
The **name** is a unique identifier being created. This ID is used by other commands to reference
104+
this group and it can't be changed later.
82105

83-
If you want the management group to show a different name within the Azure portal, add the **display-name** parameter. For example, to create a management group with the GroupName of Contoso and the display name of "Contoso Group", use the following command:
106+
If you want the management group to show a different name within the Azure portal, add the
107+
**display-name** parameter. For example, to create a management group with the GroupName of Contoso
108+
and the display name of "Contoso Group", use the following command:
84109

85110
```azurecli-interactive
86111
az account management-group create --name Contoso --display-name 'Contoso Group'
87112
```
88113

89-
In the preceding examples, the new management group is created under the root management group. To specify a different management group as the parent, use the **parent** parameter and provide the name of the parent group.
114+
In the preceding examples, the new management group is created under the root management group. To
115+
specify a different management group as the parent, use the **parent** parameter and provide the
116+
name of the parent group.
90117

91118
```azurecli-interactive
92119
az account management-group create --name ContosoSubGroup --parent Contoso
@@ -96,8 +123,8 @@ az account management-group create --name ContosoSubGroup --parent Contoso
96123

97124
To learn more about management groups, see:
98125

99-
- [Create management groups to organize Azure resources](create.md)
100-
- [How to change, delete, or manage your management groups](manage.md)
126+
- [Create management groups to organize Azure resources](./create.md)
127+
- [How to change, delete, or manage your management groups](./manage.md)
101128
- [Review management groups in Azure PowerShell Resources Module](/powershell/module/az.resources#resources)
102129
- [Review management groups in REST API](/rest/api/resources/managementgroups)
103130
- [Review management groups in Azure CLI](/cli/azure/account/management-group)

0 commit comments

Comments
 (0)