Microsoft Entra ID
General

Groups Dynamic Rule Advanced

In brief

The MemberOf rule example now uses a different group object ID, and the TransitiveReportsTo rule-builder screenshot was removed.

What Entra admins need to know

Administrators following the example should use the group object ID appropriate to their environment.

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.

  1. In the rule builder, open the Operator list and select MemberOf.

  2. 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.":::

  3. 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:

user.memberOf -any (group.objectId -in ['77a8c4ab-f93d-47e7-8dd9-f464b2541342aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb']) -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.

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

  2. 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.":::

  3. Select Save rule, and then select Create.

Combine Transitive Reports To with other expressions

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…