Microsoft Entra ID
Standards

Groups Dynamic Rule Advanced

In brief

The page now links to retirement and migration guidance for the earlier MemberOf preview. Existing rules do not need rewriting; moving a group to MemberOf Next requires changing its priority. Rule-builder screenshots and prerequisite links were also added.

What Entra admins need to know

Administrators using the earlier preview should follow the migration guidance and adjust group priority when moving groups to MemberOf Next.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Groups that use MemberOf Next or Transitive Reports To update on a schedule, twice a day. You put a group on this schedule by setting its priority to Standard. Your existing dynamic membership groups aren't affected and keep working the way they do today.

Prerequisites

  • One of the following Microsoft Entra roles. Use the least privileged role that meets your needs.
    • Groups Administrator
    • User Administrator
    • Intune Administrator, for security groups only. This role can't manage Microsoft 365 groups.
    • Global Administrator
  • Microsoft Entra ID Governance licenses in your tenant. See "License requirements."

License requirements

MemberOf Next and Transitive Reports To require Microsoft Entra ID Governance. Microsoft Entra ID Governance is also included in other Microsoft license plans. For the current list, see "Microsoft Entra ID Governance licensing fundamentals

Prerequisites

License requirements

MemberOf Next and Transitive Reports To require Microsoft Entra ID Governance. Microsoft Entra ID Governance is also included in other Microsoft license plans. For the current list, see Microsoft Entra ID Governance licensing fundamentals.

For member users in your tenant, you must have enough licenses that include Microsoft Entra ID Governance to cover:

For example, if these groups contain 1,000 unique member users and two administrators who aren’t included in those groups configure them, your tenant needs at least 1,002 licenses that include Microsoft Entra ID Governance.

Licensing requirements for other dynamic membership groups are unchanged. For more information, see License requirements for dynamic membership groupsLicense requirements for dynamic membership groups.

For licensing prerequisites for advanced dynamic groups capabilities, see "Microsoft Entra ID Governance licensing fundamentals."

If your tenant no longer has Microsoft Entra ID Governance licenses, groups that use these rules stop updating and show a processing error on the group's overview page.

MemberOf Next and Transitive Reports To are built for governance scenarios in large tenants and run on dedicated processing. That's why they're part of Microsoft Entra ID Governance.

For retirement and migration guidance for the earlier preview, see "Configure dynamic membership groups with the memberOf operator."Deprecated memberOf preview for dynamic membership groups.

Rule syntax

device.memberOf -any (group.objectId -in ['', ''])


Replace each placeholder with the object ID of a source group. The syntax is the same as in the earlier memberOf preview. With MemberOf Next, you can also combine the rule with other expressions. See "Combine[Combine MemberOf Next with other expressions"expressions](#combine-memberof-next-with-other-expressions) later in this article.

### Create a group with MemberOf Next

1. Sign in to the Microsoft[Microsoft Entra admin centercenter](https://entra.microsoft.com) as at least a Groups Administrator.[Groups Administrator](~/identity/role-based-access-control/permissions-reference.md#groups-administrator).
1. Browse to **Entra ID** > **Groups** > **All groups**.
1. Select **New group**.
1. For **Group type**, select **Security** or **Microsoft 365**, and then enter a group name.
1. Select **Add dynamic query**.
1. In the rule builder, open the **Operator** list and select **MemberOf**.
1. In **Value**, enter the object IDs of the source groups, separated by commas. The rule appears in the **Rule syntax** box.

    :::image type="content" source="./media/groups-dynamic-rule-advanced/member-of-rule-builder.png" alt-text="Screenshot of the dynamic membership rule builder with the MemberOf operator, a source group object ID, and the generated rule syntax.":::

1. Select **Save rule**, and then select **Create**.

### Combine MemberOf Next with other expressions
You can narrow a MemberOf Next rule with other expressions. For example, this rule includes members of a source group who are located in Redmond:

```text
user.memberOf -any (group.objectId -in [‘['77a8c4ab-f93d-47e7-8dd9-f464b2541342’f464b2541342']) -and user.city -eq "Redmond"

After you select MemberOf in the rule builder, you can't add more expressions there. To add them, edit the rule in the Rule syntax box.

Create a group with Transitive Reports To

  1. Sign in to the Microsoft Entra admin centerMicrosoft Entra admin center as at least a Groups Administrator.Groups Administrator.

  2. Browse to Entra ID > Groups > All groups.

  3. Select New group.

  4. For Group type, select Security or Microsoft 365, and then enter a group name.

  5. Select Add dynamic query.

  6. In the rule builder, open the Operator list and select TransitiveReportsTo.

  7. In Value, enter the manager's object ID. The rule appears in the Rule syntax box.

    :::image type="content" source="./media/groups-dynamic-rule-advanced/transitive-reports-to-rule-builder.png" alt-text="Screenshot of the dynamic membership rule builder with the TransitiveReportsTo operator, a manager object ID, and the generated rule syntax.":::

  8. Select Save rule, and then select Create.

Combine Transitive Reports To with other expressions

Check whether a group is up to date

Open the group's page in the Microsoft Entra admin center to see its processing status and when the membership was last updated. If processing failed, the page shows the error. For more information, see "Check the processing status for a rule."Check the processing status for a rule.

Preview limitations

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…