Script repository
Add / remove object from group upon adding / removing it from another group
The script adds or removes objects from a specific group upon adding or removing them from another group. To execute the script, create a business rule triggering After adding or removing a member from a group. An object will be added to or remove...
Add direct members of groups to Unmanaged Accounts
The script adds users who are members of specific groups to Unmanaged Accounts. When adding users, only direct membership in the groups is taken into account.
Add group members from DN syntax property
The script adds objects stored in a DN syntax property (e.g. See Also) of the target object to the specified group.
Add managers with specific direct reports to a group
The script updates the list of members of the target group with managers that currently have direct reports whose property is set to a specific value.
Add members from parameter to target group
The script adds members selected in a custom command parameter to the target group.
Add members of the target group to the specified one
The script adds users who are members of the target group to the specified one.
Add object to the group with the least number of members
The script adds the target object to the group with the least number of members from the list of predefined groups.
Add user to groups specified in a DN syntax property
The script adds a user to the groups specified in a DN syntax property of the user.
Add users that are not members of groups to Unmanaged Accounts
The script adds users who are not members of specific groups to Unmanaged Accounts. When adding users, only direct membership in the groups is taken into account.
Adjust group membership based on mapping
The script adds/removes user from groups based on the predefined mapping.
Assign/Revoke Microsoft 365 licenses based on user group membership priority
The script assigns a Microsoft 365 (Office 365) license for a user based on which AD group the user is a member of.
Changes in group membership (including changes made by 3rd party tools)
The script sends a report on changes of an AD group membership, no matter whether the changes were made using Adaxes or any 3rd party tools, such as ADUC or Exchange.
Check extra group membership
The script returns true if the target object is a member of any groups except for the predefined ones.
Check group membership in Microsoft 365
The script returns true if the target user is not a member of any of the specified groups in Microsoft 365.
Check if number of direct members exceeds limit
The script can be used to check that the number of members in an AD group does not exceed a certain limit.
Check whether the target object is a member of multiple groups
The scripts check whether an AD object on which the script is executed is a member of multiple groups.
Copy group membership from specified user
The script copies group membership from the user specified to the target user.
Copy group memberships from template based on property values
The script copies group memberships from a template user to the current user. The template is selected based on the value of the specified properties. Original memberships of the user are removed.
Copy user properties and group membership
The script allows copying values of properties and group membership from a user to another user.
Create groups based on departments of users
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.