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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I want to to know how to remove member from dynamic membership group.
Thank you,
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
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://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership