Dynamic membership for administrative units
Microsoft's edit ·
Microsoft's commit message in MicrosoftDocs/entra-docs · commit cabe4f6 · +11 −15 lines · also on GitHub
11
---
2
−title: Manage users or devices for an administrative unit with rules for dynamic membership groups (Preview)
3
−description: Manage users or devices for an administrative unit with rules for dynamic membership groups (Preview) in Microsoft Entra ID
2
+title: Manage users or devices for an administrative unit with rules for dynamic membership groups
3
+description: Manage users or devices for an administrative unit with rules for dynamic membership groups in Microsoft Entra ID
44
55
author: rolyon
66
manager: amycolannino
77
ms.service: entra-id
88
ms.topic: how-to
99
ms.subservice: role-based-access-control
10
−ms.date: 08/25/2024
10
+ms.date: 10/25/2024
1111
ms.author: rolyon
1212
ms.reviewer: anandy
1313
ms.custom: oldportal, it-pro, has-azure-ad-ps-ref, azure-ad-ref-level-one-done
1414
---
1515
16
−# Manage users or devices for an administrative unit with rules for dynamic membership groups (Preview)
17
−
18
−> [!IMPORTANT]
19
−> Dynamic membership rules for administrative units are currently in PREVIEW.
20
−> See the [Product Terms](https://aka.ms/EntraPreviewsTermsOfUse) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
16
+# Manage users or devices for an administrative unit with rules for dynamic membership groups
2117
22
−You can add or remove users or devices for administrative units manually. With this preview, you can add or remove users or devices for administrative units dynamically using rules. This article describes how to create administrative units with rules for dynamic membership groups using the Microsoft Entra admin center, PowerShell, or Microsoft Graph API.
18
+You can add or remove users or devices for administrative units manually. With dynamic membership groups, you can add or remove users or devices for administrative units dynamically using rules. This article describes how to create administrative units with rules for dynamic membership groups using the Microsoft Entra admin center, PowerShell, or Microsoft Graph API.
2319
2420
> [!NOTE]
2521
> Dynamic membership rules for administrative units can be created using the same attributes available for dynamic membership groups. For more information about the specific attributes available and examples on how to use them, see [Manage rules for dynamic membership groups in Microsoft Entra ID](~/identity/users/groups-dynamic-membership.md).
⋯ 83 unchanged lines
109105
110106
1. Create a rule for dynamic membership groups. For more information, see [Dynamic membership rules for groups in Microsoft Entra ID](~/identity/users/groups-dynamic-membership.md).
111107
112
−1. Use the [Create administrativeUnit](/graph/api/directory-post-administrativeunits?view=graph-rest-beta&preserve-view=true) API to create a new administrative unit with a rule for dynamic membership groups.
108
+1. Use the [Create administrativeUnit](/graph/api/directory-post-administrativeunits) API to create a new administrative unit with a rule for dynamic membership groups.
113109
114110
The following shows an example of a rule for dynamic membership groups that applies to Windows devices.
115111
116112
Request
117113
118114
```http
119
− POST https://graph.microsoft.com/beta/administrativeUnits
115
+ POST https://graph.microsoft.com/v1.0/directory/administrativeUnits
120116
```
121117
122118
Body
⋯ 44 unchanged lines
167163
168164
### Microsoft Graph API
169165
170
−Use the [Update administrativeUnit](/graph/api/administrativeunit-update?view=graph-rest-beta&preserve-view=true) API to edit the rule for dynamic membership groups.
166
+Use the [Update administrativeUnit](/graph/api/administrativeunit-update) API to edit the rule for dynamic membership groups.
171167
172168
Request
173169
174170
```http
175
−PATCH https://graph.microsoft.com/beta/administrativeUnits/{id}
171
+PATCH https://graph.microsoft.com/v1.0/directory/administrativeUnits/{id}
176172
```
177173
178174
Body
⋯ 49 unchanged lines
228224
229225
### Microsoft Graph API
230226
231
−Use the [Update administrativeUnit](/graph/api/administrativeunit-update?view=graph-rest-beta&preserve-view=true) API to change the membership type setting.
227
+Use the [Update administrativeUnit](/graph/api/administrativeunit-update) API to change the membership type setting.
232228
233229
Request
234230
235231
```http
236
−PATCH https://graph.microsoft.com/beta/administrativeUnits/{id}
232
+PATCH https://graph.microsoft.com/v1.0/directory/administrativeUnits/{id}
237233
```
238234
239235
Body
⋯ 12 unchanged lines
Microsoft's Markdown source from MicrosoftDocs/entra-docs, © Microsoft Corporation, under MIT. Changed lines with up to 3 unchanged lines around each; ChangeIntel kept this copy 26 Oct 06:37 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.