Hi there,
anybody may have an idea about a timeline of this feature? The combination between memberof and any other rule would be very helpful, or an exclusion of members of another group.
Regards
Stephan
Exclude user from a dynamic group based on group membership
Hi,
I have a dynamic group with few of users that I wanted to exclude based on the group (Membership Type: Assigned) they belong to.
I am playing around this paramater user.memberof -any (group.objectId -in ['value']) but can't get it to work.
First three parameters are working but when I include user.memberof it started to fail.
Any thoughts around this? Is this even feasible?
Microsoft Security Microsoft Entra Microsoft Entra ID
5 answers
Sort by: Most helpful
-
Stephannn 11 Reputation points
2023-01-02T12:17:45.343+00:00 -
Aaron Gill 10 Reputation points
2023-04-06T13:15:21.9966667+00:00 This is definitely Not Possible at this point (see below). You can't exclude based on group membership (only include) because you can't use other operators with it.
Hopefully soon. I know many good uses for it. Preview limitations- Each [ Snipped Preview Limitations for brevity] .... time.
- MemberOf 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 objects specified in the rule can't be administrative units.
-
JimmySalian-2011 42,491 Reputation points
2022-10-26T11:21:34.593+00:00 Hi Darkrai,
I think you will have to use the new preview feature of Dynamic Groups and that should do the trick so follow this page and new filter defined here
Hope this helps.
JS==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well. -
Victor Alberto Castellanos de Leon 0 Reputation points
2024-11-28T00:46:30.9666667+00:00 Hi everyone, I also hope that this feature is enabled soon because I have the same situation, I need to exclude users from a group from my dynamic group but everything I have read online says that this is not possible, you can only filter by name but it does not help if you have an entire population to exclude from said group.
-
Mark Burland 1 Reputation point
2024-12-09T12:35:17.9233333+00:00 Incredible that this is still a PREVIEW feature! I could really make use of it for group based licensing. If we need to license a class for a particular product it would be so straightforward, except the owners of each class are their class teachers, who require different licenses. It's a real pain.