Creating a dynamic group, excluding members of a group

Pellin, Lisa 20 Reputation points
2024-09-06T19:18:27.19+00:00

Is there a way we can create a dynamic group and exclude members of another group?

Microsoft Intune Grouping
Microsoft Intune Grouping
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Grouping: The arrangement or formation of people or things in a group or groups.
61 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZhoumingDuan-MSFT 14,870 Reputation points Microsoft Vendor
    2024-09-09T05:53:49.93+00:00

    @Pellin, Lisa, Thanks for posting in Q&A.

    From your description, I know you want to create a dynamic group and exclude members of another group

    Based on my research, what you'll want to do is find an attribute that either the included user accounts or device have, and the excluded accounts or devices don't, or an attribute the excluded accounts have but the included user accounts or devices don't. Then you base your filter on this. For example, if some service accounts do not have an office location, but other user accounts do, so you can filter based on this for location specific DLs.

    https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership

    Or you can see whether configure dynamic membership groups with the memberOf attribute in the Azure portal can meet your needs.

    https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-rule-member-of

    Hope it will help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.