Script repository
Check if account is inactive in Microsoft Entra ID 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 Adaxes license is close to violation
The script calculates the difference between the current number of enabled and not expired user accounts and that allowed by Adaxes license. If the difference is less than the specified threshold, the script returns true.
Check if approval request exists
The script returns true 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 object in specific property is member of business unit
The script returns true if the object stored in the specified property is a member of the specified business unit.
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 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 automatic replies are enabled
The script checks whether an Exchange mailbox is configured to send automatic replies (OOF messages).
Check whether email and username are unique
The script checks whether the email address and username specified for a new user are unique.
Check whether Employee ID is present in SQL Database
This script checks whether an Employee ID specified for a new user in Active Directory is present in the user's record from an SQL HR database.
Check whether Microsoft 365 user account is blocked
The script check whether a user is blocked from signing in to Microsoft 365 (Office 365).
Check whether object is moved to specific OU
The script returns true if an object is moved to the specified Organizational Unit or container.
Check whether one of the Boolean properties is set to true
Check whether one of the Boolean properties is set to true.