There's a built-in condition for that "Direct Reports for". Details are here: https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership#create-a-direct-reports-rule
How to create a dynamic group which add/remove from group when somebody joined under A manager
vikrant yadav
0
Reputation points
How to create a dynamic group which add/remove from a dynamic group when somebody joined under A manager