Scripts repository
Remove actions with empty groups from custom commands, business rules and scheduled tasks
The script removes all the Add to group and Remove from group actions that do not have a group specified from all custom commands, business rules and scheduled tasks.
Execute custom command with name specified in user property
The script executes a custom command for a user. The name of the command is taken from a property of the user.
Check if Full Access permissions are modified
The script checks whether Full Access permissions are modified for a mailbox.
Update report drop-down parameter with Microsoft 365 licenses
The script updates the specified drop-down list parameter with display names and SKU Part Numbers of Microsoft 365 licenses in all the registered tenants.
Remove all trustees from Full Access list
The script removes all the trustees from the Full Access list of a mailbox.
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.
Check whether Password never expires account option is updated
The script returns true if the Password never expires account option is being updated for the user.
Add users to unmanaged list based on criteria or LDAP filter
The script adds all users matching the specified criteria or LDAP filter to the unmanaged list.
Generate a unique 6-digit value for AD property
The script generates a unique 6-digit value for the specified Active Directory property.
Adjust group membership based on mapping
The script adds/removes user from groups based on the predefined mapping.
Disabled managers with enabled direct reports
The script can be used to generate a report that will include disabled user accounts that are managers of enabled user accounts.
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.
Validate properties against each other
The script validates 2 properties against each other. For example, using the script, you can check whether a city and a country specified for a particular user can be used together.
Assigned Microsoft 365 licenses and services per OU
The script generates a report containing OUs directly located in a domain with the number of Microsoft 365 licenses and services assigned to users in the OUs.
Add value to drop-down list parameter
The script adds a new value to a specific drop-down list parameter of a report.
Save last activity date in Exchange Online to custom attribute
The script saves last activity date of the target user in Exchange Online to custom attribute date attribute.
Search and replace text in Adaxes email notifications
The script finds and replaces the specified text in the notifications sent by the Send email notification action in business rules, custom commands and scheduled tasks.
Activate license key
The script activates the license key for Adaxes.
Suspend user in Google Workspace and revoke all licenses
The script suspends the Google Workspace account of a user and revokes all their Google Workspace licenses. You can execute this script in a Run a program or PowerShell action in a business rule, custom command, or scheduled task configured for th...
Grant permissions over a mailbox to members of a group
The script grants Full Access and send As permissions to members of the target group over a specific mailbox.