use the memberOf attribute and create an exception for being a member of that group:
Dynamic Group for all user with excluding one security Group
I would like to create dynamic group for all users with exclusion of members in one Security Group.
For example, I would like to add users in the tenant to the dynamic group except users that are in Contoso Security Group.
Is it possible ?
Thank you in advance !
5 answers
Sort by: Most helpful
-
-
Andy David - MVP 155K Reputation points MVP
2023-08-16T11:20:01.7266667+00:00 You can use these docs to create, it should be avail now
https://blog.apps4.pro/how-to-add-group-membership-in-a-dynamic-group
https://office365itpros.com/2022/06/08/dynamic-azure-ad-group-members/
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more