Exclude user from a dynamic group based on group membership

John Oliveros 26 Reputation points
2022-10-26T10:43:54.927+00:00

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?

254279-dynamic-distro.jpg

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} vote

6 answers

Sort by: Most helpful
  1. David Read 0 Reputation points
    2025-09-25T01:59:53.57+00:00

    and here we are - 3 years later and still can't do something as simple as defining which groups to include and which to exclude from a Dynamic Group!!!

    0 comments No comments

Your answer

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