Skip to content

Added limitation clarity#1903

Open
Yebbenbe wants to merge 1 commit intoMicrosoftDocs:mainfrom
Yebbenbe:patch-8
Open

Added limitation clarity#1903
Yebbenbe wants to merge 1 commit intoMicrosoftDocs:mainfrom
Yebbenbe:patch-8

Conversation

@Yebbenbe
Copy link
Copy Markdown
Contributor

Clarify that the memberOf attribute cannot be used with other rules and operators, and add details about processing time and membership updates.

Clarify that the `memberOf` attribute cannot be used with other rules and operators, and add details about processing time and membership updates.
@prmerger-automator
Copy link
Copy Markdown
Contributor

@Yebbenbe : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit e75bc4e:

✅ Validation status: passed

File Status Preview URL Details
docs/identity/users/groups-dynamic-rule-member-of.md ✅Succeeded

For more details, please refer to the build report.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Microsoft Learn documentation to clarify limitations of using the memberOf attribute in dynamic group rules, including constraints around operators and membership processing behavior.

Changes:

  • Clarifies that memberOf can’t be combined with other dynamic membership rules.
  • Adds a new limitation describing constraints on changing operators in the preview query.
  • Retains/extends guidance about processing time impacts and membership update behavior.

- 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.
- 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.
- 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.
- 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.
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line has a trailing whitespace at the end of the sentence; please remove it to avoid markdown lint/formatting noise in future diffs.

Copilot uses AI. Check for mistakes.
- 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.
- The dynamic group rule builder and validate feature can't be used for `memberOf` at this time.
- 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."
- The operators given in the 'approved' preview query cannot be changed. That is, you cannot create a query for 'not members of X', via wrapping in -not or changing the existing operators (for example, the -in to -notIn)
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new limitation is hard to interpret because "approved preview query" isn’t defined elsewhere in the article, and the operators/examples aren’t formatted consistently. Consider rephrasing to remove the unexplained quoted term, use contractions consistent with the surrounding bullets ("can’t"), and format operators as code (for example, -not, -in, -notIn) with a clear example sentence ending in a period.

Copilot uses AI. Check for mistakes.
@ttorble
Copy link
Copy Markdown
Contributor

ttorble commented Feb 25, 2026

@barclayn

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants