Scripts repository
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 group type
The scripts are used to check the type of the target group.
Check if a specific permission is granted to entire organization over user calendar
The script checks if a specific permission is granted to the entire organization over user calendar.
Check if account is inactive in Azure AD longer than a period of time
The script returns true if the account is inactive in Azure AD longer than a period of time.
Check if account is inactive in Exchange longer than a period of time
The script returns true if the account is inactive in Exchange longer than a period of time.
Check if approval request exists
The script returns false if there is a pending approval request for the target object created by the same initiator.
Check if Full Access permissions are modified
The script checks whether Full Access permissions are modified for a mailbox.
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 if number of unused Microsoft 365 licenses is below limit
The script returns true if the number of Microsoft 365 licenses is below limit.
Check if the number of direct group members exceeds limit
The script returns true if the number of direct group members equals or exceeds a specific limit.
Check if the property is empty before modification
The script checks the property being modified and returns true if it is currently empty.
Check if user home folder is empty
The script returns True if home folder of a user is empty.
Check mailbox size
The script returns True if mailbox size exceeds a certain size limit.
Check Microsoft 365 license being assigned
The script checks whether the specified Microsoft 365 (Office 365) license is being assigned to a user
Check multi-factor authentication status for a user in Microsoft 365
The script outputs the state of multi-factor authentication for a user in Microsoft 365 (Office 365) into the execution log.
Check number of unused user accounts allowed by Adaxes license
The script can be used to check the number of enabled user accounts that you can create in your managed domains without exceeding the number of users allowed by Adaxes license.
Check the approval request initiator
The script returns true if the specified user or scheduled task is the initiator of the target approval request.
Check whether 'Automatically update e-mail addresses based on e-mail address policy' option is enabled
The script checks whether the Automatically update e-mail addresses based on e-mail address policy option is enabled for an Exchange recipient.
Check whether a certain mailbox feature is enabled
The scripts are used to check whether a certain mailbox feature is enabled. If the featue is disabled, the scripts return false.
Check whether AD object is member of business unit
The script can be used to create a condition that checks whether an AD object on which it is executed is a member of a specific business unit.