Forum Discussion
CG-1717
Jun 12, 2019Brass Contributor
Dynamic DL or group based on org hierarchy?
Is there a way to create a dynamic DL or group based on org hierarchy? For example if the Global HR Director wants to communicate to everyone in HR... As of right now because of a recent acquisition...
jerome317
Jun 12, 2019Brass Contributor
You should be able to do an advanced dynamic rule... (condition1) or (condition2) and (accountenabled = true).
Reference: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership
Create a "Direct reports" rule
You can create a group containing all direct reports of a manager. When the manager's direct reports change in the future, the group's membership is adjusted automatically.
The direct reports rule is constructed using the following syntax:
Direct Reports for "{objectID_of_manager}"
Here's an example of a valid rule where "62e19b97-8b3d-4d4a-a106-4ce66896a863" is the objectID of the manager:
Direct Reports for "62e19b97-8b3d-4d4a-a106-4ce66896a863"