How to remove member from dynamic membership group

Abderrazak Agourram 20 Reputation points
2024-11-15T20:41:41.9033333+00:00

Hello,

I want to to know how to remove member from dynamic membership group.

Thank you,

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
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,657 questions
0 comments No comments
{count} votes

Accepted answer
  1. Thameur-BOURBITA 34,371 Reputation points
    2024-11-17T10:37:35.7866667+00:00

    Hi @Abderrazak Agourram

    I think you don't choose the right operator.

    Try to replace -notin by -ne in your rule:

    -ne (user.userPrincipalName -notin ["roneycutt@ppme"])
    

    Please don't forget to accept helpful answer


    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 151K Reputation points MVP
    2024-11-15T20:45:27.63+00:00

    You cant remove them manually, since the dynamic group is based on whatever rules you used to create it. If you want them removed, then that account will have to have properties that dont match the group membership or add a condition in the rule that specifically excludes the account.

    https://zcusa.951200.xyz/en-us/entra/identity/users/groups-dynamic-membership


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.