Configure dynamic membership with the memberOf operator
Microsoft's edit ·
Microsoft's commit message in MicrosoftDocs/entra-docs · commit f81268f · +4 −4 lines · also on GitHub
⋯ 45 unchanged lines
4646
### Create a memberOf dynamic group
4747
4848
1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) as at least a [User Administrator](~/identity/role-based-access-control/permissions-reference.md#user-administrator).
49
−1. Browse to **Entra ID** > **Groups** > **All groups**.
49
+1. Browse to **Identity** > **Groups** > **All groups**.
5050
1. Select **New group**.
5151
1. Fill in group details. The group type can be **Security** or **Microsoft 365**, and the membership type can be set to **Dynamic User** or **Dynamic Device**.
5252
1. Select **Add dynamic query**.
53
−1. MemberOf isn't yet supported in the rule builder. Select **Edit** to write the rule in the **Rule syntax** box.
54
− 1. Example user rule: `user.memberof -any (group.objectId -in ['groupId', 'groupId'])`
55
− 1. Example device rule: `device.memberof -any (group.objectId -in ['groupId', 'groupId'])`
53
+1. MemberOf isn't yet supported in the rule builder UI. Select **Edit** to write the rule in the **Rule syntax** box.
54
+ 1. Example user rule: `user.memberof -any (group.objectId -in ['groupId'])`
55
+ 1. Example device rule: `device.memberof -any (group.objectId -in ['groupId'])`
5656
1. Select **OK**.
5757
1. Select **Create group**.
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 today 06:21 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.