You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/roles/admin-units-faq-troubleshoot.yml
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ metadata:
10
10
ms.topic: faq
11
11
ms.subservice: roles
12
12
ms.workload: identity
13
-
ms.date: 06/30/2022
13
+
ms.date: 06/09/2023
14
14
ms.author: rolyon
15
15
ms.reviewer: anandy
16
16
ms.custom: oldportal;it-pro;
@@ -117,6 +117,21 @@ sections:
117
117
answer: |
118
118
No.
119
119
120
+
- name: Restricted management administrative units (Preview)
121
+
questions:
122
+
- question: |
123
+
I am the owner of a group that is a member of a restricted management administrative unit. How are my permissions affected?
124
+
answer: |
125
+
As an owner of a protected group, you won't be able to manage it just based on ownership. Managing protected resources currently require a role to be assigned at the restricted management administrative unit scope of the protected resource.
126
+
- question: |
127
+
How are my Microsoft 365 resources affected by using restricted management administrative units?
128
+
answer: |
129
+
Currently, securing Azure AD resources in restricted management administrative units is supported. Resources managed outside of Azure AD aren't supported.
130
+
- question: |
131
+
I'm unable to modify a member of a restricted management administrative unit.
132
+
answer: |
133
+
The user, group, or device is a member of restricted management administrative unit. Management rights are limited to administrators scoped to that administrative unit.
> Restricted management administrative units are currently in PREVIEW.
23
+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
24
+
21
25
Administrative units let you subdivide your organization into any unit that you want, and then assign specific administrators that can manage only the members of that unit. For example, you could use administrative units to delegate permissions to administrators of each school at a large university, so they could control access, manage users, and set policies only in the School of Engineering.
22
26
23
27
This article describes how to create or delete administrative units to restrict the scope of role permissions in Azure Active Directory (Azure AD).
@@ -26,8 +30,10 @@ This article describes how to create or delete administrative units to restrict
26
30
27
31
- Azure AD Premium P1 or P2 license for each administrative unit administrator
28
32
- Azure AD Free licenses for administrative unit members
29
-
- Privileged Role Administrator or Global Administrator
33
+
- Privileged Role Administrator role
34
+
- Microsoft.Graph module when using [Microsoft Graph PowerShell](/powershell/microsoftgraph/installation)
30
35
- AzureAD module when using PowerShell
36
+
- AzureADPreview module when using PowerShell and restricted management administrative units
31
37
- Admin consent when using Graph explorer for Microsoft Graph API
32
38
33
39
For more information, see [Prerequisites to use PowerShell or Graph Explorer](prerequisites.md).
@@ -48,6 +54,8 @@ You can create a new administrative unit by using either the Azure portal, Power
48
54
49
55
1. In the **Name** box, enter the name of the administrative unit. Optionally, add a description of the administrative unit.
50
56
57
+
1. If you don't want tenant-level administrators to be able to access this administrative unit, set the **Restricted management administrative unit** toggle to **Yes**. For more information, see [Restricted management administrative units](admin-units-restricted-management.md).
58
+
51
59

52
60
53
61
1. Optionally, on the **Assign roles** tab, select a role and then select the users to assign the role to with this administrative unit scope.
@@ -60,29 +68,59 @@ You can create a new administrative unit by using either the Azure portal, Power
60
68
61
69
### PowerShell
62
70
63
-
Use the [New-AzureADMSAdministrativeUnit](/powershell/module/azuread/new-azureadmsadministrativeunit) command to create a new administrative unit.
Use the [Connect-MgGraph](/powershell/microsoftgraph/authentication-commands?branch=main#using-connect-mggraph) command to sign in to your tenant and consent to the required permissions.
Use the [New-MgDirectoryAdministrativeUnit](/powershell/module/microsoft.graph.identity.directorymanagement/new-mgdirectoryadministrativeunit?branch=main) command to create a new administrative unit.
70
80
71
-
Use the [New-MgDirectoryAdministrativeUnit](/powershell/module/microsoft.graph.identity.directorymanagement/new-mgdirectoryadministrativeunit) command to create a new administrative unit.
81
+
```powershell
82
+
$params = @{
83
+
DisplayName = "Seattle District Technical Schools"
84
+
Description = "Seattle district technical schools administration"
Use the [New-MgDirectoryAdministrativeUnit (beta)](/powershell/module/microsoft.graph.identity.directorymanagement/new-mgdirectoryadministrativeunit?view=graph-powershell-beta&preserve-view=true&branch=main) command to create a new restricted management administrative unit. Set the `IsMemberManagementRestricted` property to `$true`.
[!INCLUDE [Azure AD PowerShell migration](../includes/aad-powershell-migration-include.md)]
106
+
107
+
Use the [New-AzureADMSAdministrativeUnit](/powershell/module/azuread/new-azureadmsadministrativeunit?branch=main) command to create a new administrative unit.
Use the [New-AzureADMSAdministrativeUnit (preview)](/powershell/module/azuread/new-azureadmsadministrativeunit?view=azureadps-2.0-preview&preserve-view=true&branch=main) command to create a new restricted management administrative unit. Set the `IsMemberManagementRestricted` parameter to `$true`.
Use the [Create administrativeUnit](/graph/api/administrativeunit-post-administrativeunits) API to create a new administrative unit.
123
+
Use the [Create administrativeUnit](/graph/api/administrativeunit-post-administrativeunits?branch=main) API to create a new administrative unit.
86
124
87
125
Request
88
126
@@ -99,6 +137,24 @@ Body
99
137
}
100
138
```
101
139
140
+
Use the [Create administrativeUnit (beta)](/graph/api/directory-post-administrativeunits?view=graph-rest-beta&preserve-view=true&branch=main) API to create a new restricted management administrative unit. Set the `isMemberManagementRestricted` property to `true`.
141
+
142
+
Request
143
+
144
+
```http
145
+
POST https://graph.microsoft.com/beta/administrativeUnits
146
+
```
147
+
148
+
Body
149
+
150
+
```http
151
+
{
152
+
"displayName": "Contoso Executive Division",
153
+
"description": "This administrative unit contains executive accounts of Contoso Corp.",
154
+
"isMemberManagementRestricted": true
155
+
}
156
+
```
157
+
102
158
## Delete an administrative unit
103
159
104
160
In Azure AD, you can delete an administrative unit that you no longer need as a unit of scope for administrative roles. Before you delete the administrative unit, you should remove any role assignments with that administrative unit scope.
@@ -125,13 +181,28 @@ In Azure AD, you can delete an administrative unit that you no longer need as a
125
181
126
182
### PowerShell
127
183
128
-
Use the [Remove-AzureADMSAdministrativeUnit](/powershell/module/azuread/remove-azureadmsadministrativeunit) command to delete an administrative unit.
Use the [Remove-MgDirectoryAdministrativeUnit](/powershell/module/microsoft.graph.identity.directorymanagement/remove-mgdirectoryadministrativeunit?branch=main) command to delete an administrative unit.
187
+
188
+
```powershell
189
+
$adminUnitObj = Get-MgDirectoryAdministrativeUnit -Filter "DisplayName eq 'Seattle District Technical Schools'"
[!INCLUDE [Azure AD PowerShell migration](../includes/aad-powershell-migration-include.md)]
196
+
197
+
Use the [Remove-AzureADMSAdministrativeUnit](/powershell/module/azuread/remove-azureadmsadministrativeunit?branch=main) command to delete an administrative unit.
# Add users, groups, or devices to an administrative unit
20
20
21
-
In Azure Active Directory (Azure AD), you can add users, groups, or devices to an administrative unit to restrict the scope of role permissions. Adding a group to an administrative unit brings the group itself into the management scope of the administrative unit, but **not** the members of the group. For additional details on what scoped administrators can do, see [Administrative units in Azure Active Directory](administrative-units.md).
21
+
In Azure Active Directory (Azure AD), you can add users, groups, or devices to an administrative unit to limit the scope of role permissions. Adding a group to an administrative unit brings the group itself into the management scope of the administrative unit, but **not** the members of the group. For additional details on what scoped administrators can do, see [Administrative units in Azure Active Directory](administrative-units.md).
22
22
23
23
This article describes how to add users, groups, or devices to administrative units manually. For information about how to add users or devices to administrative units dynamically using rules, see [Manage users or devices for an administrative unit with dynamic membership rules](admin-units-members-dynamic.md).
Copy file name to clipboardExpand all lines: articles/active-directory/roles/admin-units-members-list.md
+38-9Lines changed: 38 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.service: active-directory
9
9
ms.topic: how-to
10
10
ms.subservice: roles
11
11
ms.workload: identity
12
-
ms.date: 06/01/2022
12
+
ms.date: 06/09/2023
13
13
ms.author: rolyon
14
14
ms.reviewer: anandy
15
15
ms.custom: oldportal;it-pro;
@@ -82,6 +82,20 @@ You can list the users, groups, or devices in administrative units using the Azu
82
82
83
83

84
84
85
+
### List the restricted management administrative units for a single user or group
86
+
87
+
1. Sign in to the [Azure portal](https://portal.azure.com).
88
+
89
+
1. Select **Azure Active Directory**.
90
+
91
+
1. Select **Users** or **Groups** and then select the user or group you want to list their restricted management administrative units.
92
+
93
+
1. Select **Administrative units** to list all the administrative units where the user or group is a member.
94
+
95
+
1. In the **Restricted management** column, look for administrative units that are set to **Yes**.
96
+
97
+

98
+
85
99
## PowerShell
86
100
87
101
Use the [Get-AzureADMSAdministrativeUnit](/powershell/module/azuread/get-azureadmsadministrativeunit) and [Get-AzureADMSAdministrativeUnitMember](/powershell/module/azuread/get-azureadmsadministrativeunitmember) commands to list users or groups for an administrative unit.
@@ -146,40 +160,55 @@ foreach ($member in (Get-AzureADMSAdministrativeUnitMember -Id $adminUnitObj.Id)
146
160
147
161
## Microsoft Graph API
148
162
149
-
Use the [List members](/graph/api/administrativeunit-list-members) API to list users or groups for an administrative unit.
150
-
151
-
Use the [List members (Beta)](/graph/api/administrativeunit-list-members?view=graph-rest-beta&preserve-view=true) API to list devices for an administrative unit.
152
-
153
163
### List the administrative units for a user
154
164
165
+
Use the user [List memberOf](/graph/api/user-list-memberof) API to list the administrative units a user is a direct member of.
166
+
155
167
```http
156
168
GET https://graph.microsoft.com/v1.0/users/{user-id}/memberOf/$/Microsoft.Graph.AdministrativeUnit
157
169
```
158
170
159
171
### List the administrative units for a group
160
172
173
+
Use the group [List memberOf](/graph/api/group-list-memberof) API to list the administrative units a group is a direct member of.
174
+
161
175
```http
162
176
GET https://graph.microsoft.com/v1.0/groups/{group-id}/memberOf/$/Microsoft.Graph.AdministrativeUnit
163
177
```
164
178
165
179
### List the administrative units for a device
166
180
181
+
Use the [List device memberships](/graph/api/device-list-memberof) API to list the administrative units a device is a direct member of.
182
+
167
183
```http
168
-
GET https://graph.microsoft.com/beta/devices/{device-id}/memberOf/$/Microsoft.Graph.AdministrativeUnit
184
+
GET https://graph.microsoft.com/v1.0/devices/{device-id}/memberOf/$/Microsoft.Graph.AdministrativeUnit
169
185
```
170
186
171
-
### List the groups for an administrative unit
187
+
### List the users, groups, or devices for an administrative unit
188
+
189
+
Use the [List members](/graph/api/administrativeunit-list-members) API to list the users, groups, or devices for an administrative unit. For member type, specify `microsoft.graph.user`, `microsoft.graph.group`, or `microsoft.graph.device`.
172
190
173
191
```http
174
192
GET https://graph.microsoft.com/v1.0/directory/administrativeUnits/{admin-unit-id}/members/$/microsoft.graph.group
175
193
```
176
194
177
-
### List the devices for an administrative unit
195
+
### List whether a single user is in a restricted management administrative unit
196
+
197
+
Use the [Get a user (beta)](/graph/api/user-get?view=graph-rest-beta&preserve-view=true) API to determine whether a user is in a restricted management administrative unit. Look at the value of the `isManagementRestricted` property. If the property is `true`, it is in a restricted management administrative unit. If the property is `false`, empty, or null, it is not in a restricted management administrative unit.
178
198
179
199
```http
180
-
GET https://graph.microsoft.com/beta/administrativeUnits/{admin-unit-id}/members/$/microsoft.graph.device
200
+
GET https://graph.microsoft.com/beta/users/{user-id}
Use the [Remove a member](/graph/api/administrativeunit-delete-members) API to remove usersor groups from an administrative unit.
131
+
Use the [Remove a member](/graph/api/administrativeunit-delete-members) API to remove users, groups, or devices from an administrative unit. For `{member-id}`, specify the user, group, or device ID.
132
132
133
-
Use the [Remove a member (Beta)](/graph/api/administrativeunit-delete-members?view=graph-rest-beta&preserve-view=true) API to remove devices from an administrative unit.
0 commit comments