We use cookies to improve your experience. By your continued use of this site you accept such use.
For more details please see our privacy policy and
cookies policy.
I agree
The script creates a distribution list in Microsoft 365 (Office 365) based on an Active Directory group object. It also copies the memberships of the AD group and assigns the group owner in Microsoft 365 (Office 365).
The script creates a dynamic distribution list consisting of users with Exchange mailboxes located in a certain Organizational Unit and belonging to a certain department.
The script can be used to add users to groups by department. It adds a user to a group with the same name as the user's department. If a group with the necessary name does not exist it will be created.
The script creates an LDAP filter that allows finding all subordinates of a user, including direct reports, subordinates of direct reports, and users managed via membership in AD groups.