Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community
SOLVED

leverage the memberof in Dynamic Groups

Brass Contributor

I am wondering if it is possible to exclude membership to a dynamic group, when the user is member of a group.

Adding a member is following syntax

user.memberof -any "$Groupid"

 

i tried -not, notcontains and notin.

Example and (user.memberof -notcontains "123d12e3-123d-1234-ad56-782b901cff23")

1 Reply
best response confirmed by TherealKillerbe (Brass Contributor)
Solution
No, that's a known limitation currently, as noted in the official documentation: https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-rule-member-of#preview-limitat...
1 best response

Accepted Solutions
best response confirmed by TherealKillerbe (Brass Contributor)