Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Configure dynamic membership with the memberOf operator

This page's changes and edits · All guidance changes

Microsoft's edit ·

Add MemberOf Next and Transitive Reports To preview documentation (#15009)

Microsoft's commit message in MicrosoftDocs/entra-docs · commit 61ed281 · +31 −84 lines · also on GitHub

Source wording view
11 ---
2 −title: Configure dynamic membership groups with the memberOf operator in the Entra Admin Center (preview)
3 −description: Learn how to create a dynamic membership group that can contain members of other groups in Microsoft Entra ID.
4 −ms.topic: how-to
5 −ms.date: 08/04/2026
2 +title: Deprecated memberOf preview for dynamic membership groups
3 +description: Learn about the deprecated memberOf preview for dynamic membership groups in Microsoft Entra ID and find guidance for moving to MemberOf Next.
4 +ms.topic: concept-article
5 +ms.date: 11/16/2026
66 ms.reviewer: mbhargav
77 ms.custom: it-pro
8 +ai-usage: ai-assisted
9 +# Customer intent: As an IT admin, I want to understand the deprecated memberOf preview and find its replacement, so that I can move existing configurations to MemberOf Next.
810 ---
911
10 −# Configure dynamic membership groups with the memberOf operator in the Entra Admin Center (preview)
11 −
12 −
13 −## Overview
14 −
15 −This feature preview in Microsoft Entra ID enables admins to create dynamic membership groups and administrative units that populate by adding members of other groups using the `memberOf` attribute. Apps that couldn't read group-based membership previously in Microsoft Entra ID can now read the entire membership of these new `memberOf` groups. Not only can these groups be used for apps but they can also be used for licensing assignments.
12 +# Deprecated memberOf preview for dynamic membership groups
1613
1714 > [!IMPORTANT]
18 −> The public preview of the `memberOf` rule operator is ending. After **November 3, 2026**, dynamic membership groups, dynamic administrative units, and entitlement management auto-assignment policies that use the `memberOf` operator stop updating and remain in their last known state. This can lead to stale access and enforcement gaps, including outdated Teams and SharePoint access, Conditional Access targeting, group-based licensing, and access package assignments.
15 +> The earlier `memberOf` preview was deprecated in favor of **MemberOf Next**. The earlier preview ended on **November 3, 2026**. Dynamic membership groups, dynamic administrative units, and entitlement management auto-assignment policies that still used the earlier preview stopped updating and remained in their last known state.
1916 >
20 −> Before November 3, 2026, review all uses of the `memberOf` operator and remove or replace those configurations. See [Migrate before the preview ends](#migrate-before-the-preview-ends). This is a preview feature that isn't intended for production use; review the [Preview limitations](#preview-limitations).
21 −
22 −
23 −The following diagram illustrates how you could create Dynamic-Group-A with members of Security-Group-X and Security-Group-Y. Members of the groups inside Security-Group-X and Security-Group-Y don't become members of Dynamic-Group-A.
17 +> For current capabilities, requirements, and setup instructions, see [Use MemberOf Next and Transitive Reports To in dynamic membership groups (preview)](groups-dynamic-rule-advanced.md). To move existing groups to MemberOf Next, see [Move existing MemberOf groups to MemberOf Next](groups-dynamic-rule-advanced.md#move-existing-memberof-groups-to-memberof-next).
2418
25 −:::image type="content" source="./media/groups-dynamic-rule-member-of/member-of-diagram.png" alt-text="Diagram that shows how the memberOf attribute works.":::
19 +The earlier `memberOf` preview in Microsoft Entra ID enabled admins to create dynamic membership groups and administrative units that populated by adding members of other groups. Apps that couldn't read group-based membership previously could read the flattened membership of these `memberOf` groups. These groups could also be used for licensing assignments.
2620
27 −With this preview, admins can configure dynamic membership groups with the `memberOf` attribute in the Azure portal, Microsoft Graph, and PowerShell. Security groups, Microsoft 365 groups, and groups that are synced from on-premises Active Directory can all be added as members of these dynamic membership groups. They can also all be added to a single group. For example, the dynamic group could be a security group, but you can use Microsoft 365 groups, security groups, and groups that are synced from on-premises to define its membership.
21 +The following diagram illustrates how the earlier preview populated Dynamic-Group-A with direct members of Security-Group-X and Security-Group-Y. Members of nested groups inside Security-Group-X and Security-Group-Y weren't included in Dynamic-Group-A.
2822
29 −## Prerequisites
23 +:::image type="content" source="./media/groups-dynamic-rule-member-of/member-of-diagram.png" alt-text="Diagram that shows how the memberOf attribute worked in the deprecated preview.":::
3024
31 −You must be at least a [User Administrator](/entra/identity/role-based-access-control/permissions-reference#user-administrator) to use the `memberOf` attribute to create a Microsoft Entra dynamic group. You must have a Microsoft Entra ID P1 or P2 license for the Microsoft Entra tenant.
25 +The earlier preview was available through the Azure portal, Microsoft Graph, and PowerShell. Source groups could be security groups, Microsoft 365 groups, or groups synced from on-premises Active Directory.
3226
3327 ## Preview limitations
3428
35 −
36 −- This preview should only be used in test environments as it can affect dynamic group processing in the tenant. These limitations are being addressed, and updates will be provided when they're available.
37 −- Each Microsoft Entra tenant is limited to 500 dynamic groups using the `memberOf` attribute. The `memberOf` groups count toward the total dynamic group quota of 15,000.
38 −- Each dynamic group can have up to 50 member groups.
39 −- When you add members of security groups to `memberOf` dynamic membership groups, only direct members of the security group become members of the dynamic group.
40 −- You can't use one `memberOf` dynamic group to define the membership of another `memberOf` dynamic group. For example, Dynamic Group A, with members of group B and C in it, can't be a member of Dynamic Group D.
41 −- The `memberOf` attribute can't be used with other rules. For example, a rule that states dynamic group A should contain members of group B and also should contain only users located in Redmond will fail.
42 −- The dynamic group rule builder and validate feature can't be used for `memberOf` at this time.
43 −- The `memberOf` attribute can't be used with other operators. For example, you can't create a rule that states "Members Of group A can't be in Dynamic group B."
44 −- Users included in `memberOf` dynamic membership groups might cause a slower processing time for your tenant, if the tenant has a large number of groups or frequent dynamic membership groups updates.
45 −- Membership of a memberOf dynamic group doesn't automatically update when a child group is deleted. The affected users or devices remain members of the memberOf dynamic group until the rule is modified.
46 −
47 −
48 −- Only available in public cloud.
49 −
50 −## Get started
51 −
52 −This feature is available in the Azure portal, Microsoft Graph, and PowerShell. However, the `memberOf` attribute isn’t currently supported in the rule builder UI. To use `memberOf` in the Azure portal, you must define the rule by using the rule editor (advanced syntax).
53 −
54 −### Create a memberOf dynamic group
55 −
56 −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).
57 −1. Browse to **Entra ID** > **Groups** > **All groups**.
58 −1. Select **New group**.
59 −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**.
60 −1. Select **Add dynamic query**.
61 −1. MemberOf isn't yet supported in the rule builder UI. Select **Edit** to write the rule in the **Rule syntax** box.
62 − 1. Example user rule: `user.memberof -any (group.objectId -in ['groupId'])`
63 − 1. Example device rule: `device.memberof -any (group.objectId -in ['groupId'])`
64 −
65 − > [!NOTE]
66 − > Replace `'groupId'` with the **object ID of the source group** whose members you want to include in the dynamic group.
67 − >
68 − > The two examples are alternatives:
69 − >
70 − > - Use the **user** rule when creating a **Dynamic user** group.
71 − > - Use the **device** rule when creating a **Dynamic device** group.
72 − >
73 − > To include multiple source groups, specify multiple group object IDs. For example:
74 − >
75 − > ```text
76 − > user.memberof -any (group.objectId -in ['<groupObjectId1>', '<groupObjectId2>'])
77 − > ```
78 −
79 −1. Select **OK**.
80 −1. Select **Create group**.
81 −
82 −## Migrate before the preview ends
83 −
84 −As Microsoft continues to improve the scale and reliability of dynamic membership processing, the `memberOf` preview is ending. During preview, we observed that using `memberOf` can slow dynamic membership processing for all groups in a tenant. `memberOf` is a preview operator and isn't recommended for production use.
85 −
86 −We recognize the importance of the customer scenarios that `memberOf` addresses, and we're continuing to develop an alternative solution that meets these needs with the right level of scalability and reliability.
87 −In the interim, identify and replace every configuration that uses the `memberOf` operator before November 3, 2026. After that date, configurations that still use `memberOf` stop updating and stay in their last known state, which can leave access stale and enforcement gaps in place.
29 +The following limitations applied to the deprecated preview. For the limitations of its replacement, see [MemberOf Next and Transitive Reports To preview limitations](groups-dynamic-rule-advanced.md#preview-limitations).
8830
89 −**Dynamic membership groups**
31 +- The earlier preview was intended only for test environments because it could affect dynamic group processing across the tenant.
32 +- Each Microsoft Entra tenant was limited to 500 dynamic groups that used the `memberOf` attribute. These groups counted toward the total dynamic group quota of 15,000.
33 +- Each dynamic group could reference up to 50 source groups.
34 +- Only direct members of source groups were included. Members of nested groups weren't included.
35 +- A `memberOf` dynamic group couldn't define the membership of another `memberOf` dynamic group.
36 +- The `memberOf` attribute couldn't be combined with other rules or operators.
37 +- The dynamic group rule builder and rule validation weren't supported for `memberOf`.
38 +- Large numbers of groups or frequent membership updates could slow dynamic membership processing for the tenant.
39 +- Membership didn't automatically update when a source group was deleted. Affected users or devices remained members until the rule was modified.
40 +- The earlier preview was available only in the public cloud.
9041
91 −- Export dynamic membership groups from the Microsoft Entra admin center and identify rules that contain `memberOf`.
92 −- Replace `memberOf` with [supported rule operators](~/identity/users/groups-dynamic-rule-more-efficient.md), or convert the group to assigned membership.
93 −- Validate group membership after making changes. If the group is no longer needed, pause or delete it.
42 +## Move to MemberOf Next
9443
95 −**Dynamic administrative units**
44 +MemberOf Next replaces the earlier preview with separate processing on a twice-daily schedule. It requires Microsoft Entra ID Governance and Standard priority. The name shown in the product and the rule syntax are unchanged.
9645
97 −- Use Microsoft Graph PowerShell to identify [dynamic administrative units](~/identity/role-based-access-control/admin-units-members-dynamic.md) that use `memberOf` rules.
98 −- Replace `memberOf`-based rules with supported logic, or convert the administrative unit to assigned membership.
99 −- Validate both membership and administrative scope. If the administrative unit is no longer needed, delete it.
46 +For migration requirements and instructions, see [Move existing MemberOf groups to MemberOf Next](groups-dynamic-rule-advanced.md#move-existing-memberof-groups-to-memberof-next). For current setup instructions and guidance for dynamic administrative units, see [Use MemberOf Next and Transitive Reports To in dynamic membership groups (preview)](groups-dynamic-rule-advanced.md).
10047
101 −**Entitlement management auto-assignment policies**
48 +## Related content
10249
103 −- Use Microsoft Graph PowerShell to identify [auto-assignment policies](~/id-governance/entitlement-management-access-package-auto-assignment-policy.md) that use `memberOf`.
104 −- Replace `memberOf`-based logic with supported attribute-based operators where possible. If no equivalent rule is available, plan an alternative assignment method before retirement.
105 −- Validate access package assignments after making changes.
50 +- [Use MemberOf Next and Transitive Reports To in dynamic membership groups (preview)](groups-dynamic-rule-advanced.md).
51 +- [Manage rules for dynamic membership groups in Microsoft Entra ID](groups-dynamic-membership.md).
52 +- [Understand and manage dynamic group processing in Microsoft Entra ID](manage-dynamic-group.md).

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 18 Nov 10:22 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 27 Nov 20:50 UTC · 279 of 280 readable · 274 fully read · documentation 469/469 current