Active Directory
Autom Mate's Active Directory integration enables automated user and group management, policy updates, and LDAP queries, streamlining identity and access tasks.
Introduction
This document provides detailed instructions on integrating Active Directory (AD) with Automate, a powerful workflow automation platform. It outlines the actions available within Automate for seamless interaction with various functionalities offered by Active Directory. It explains how Automate utilizes this integration to automate tasks, streamline processes, and enhance operational efficiency.
What is Active Directory?
Active Directory (AD) is Microsoft's directory service that provides a centralized location for network administration, authentication, and authorization. It serves as a repository for information about users, computers, and other resources within a network.
Key Features of Active Directory
User Management: Allows administrators to create, manage, and authenticate user accounts.
Group Policy: Enables the centralized management of security policies, software deployment, and system configurations.
LDAP Integration: Provides support for Lightweight Directory Access Protocol (LDAP) for accessing and managing directory services.
Autom Mate Integration with Active Directory
Automate offers a set of pre-built actions that empower users to automate tasks within their workflows by leveraging Active Directory's capabilities. These actions enable users to perform various operations, such as user management, group management, and LDAP queries.
Automate integrates seamlessly with Active Directory, enabling users to automate various administrative tasks and user management operations. This integration enhances efficiency and reduces manual efforts in managing Active Directory resources.
Credentials
To use Active Directory actions within Autom Mate, you need to create a credential that connects securely to your Active Directory instance. This credential serves as a secure link, allowing Autom Mate to interact seamlessly with your Active Directory data. You can add your credentials on the Vault page.
Step 1 : Log in to Automate as an administrator.
Step 2 : Go to Vault page at left side of menu.
Step 3 : Navigate to the Custom Credentials settings section.
Step 4 : Enter the required information:
Username
Password
Step 5 : Save the credentials securely.
How to Use Actions
Here are the available actions for integrating Automate with Active Directory, along with explanations:
Add Group
Description and Purpose
The Add Group action in Autom Mate allows users to create new security or distribution groups within Active Directory. This feature enables organized management of users and resources by categorizing them into groups for streamlined access control and permissions management.
Usage Instructions
Enter the Group Name
Specify the name for the group you wish to create. This name will be used as a primary identifier for the group within Active Directory.
Provide the Distinguished Name (DN)
Input a unique Distinguished Name (DN) for the group. This serves as a unique identifier within the Active Directory structure.
Add a Group Description
Enter a brief description of the group, which can help in identifying the groupβs purpose or function.
Select Group Scope
Choose one of the following scopes for the group:
Domain Local: Grants access within a single domain.
Global: Provides access to resources across multiple domains.
Universal: Extends access across multiple domains within a forest.
Specify the Group Type
Choose the type of group:
Security: Used for assigning security-related permissions.
Distribution: Used for email distribution lists.
Inputs
Group Name: The name to assign to the group being added to Active Directory.
Distinguished Name (DN): A unique identifier for the group within the directory.
Description: A short description explaining the purpose of the group.
Group Scope: Defines the groupβs access scope. Options:
Domain Local,
Global,
Universal.
Group Type: Defines the type of group. Options:
Security,
Distribution.
Add Object To Group
Description and Purpose
The Add Object to Group action allows users to add an object, such as a user or another group, to a specified group within Active Directory. This action facilitates organized user and resource management by enabling seamless associations within existing Active Directory groups.
Usage Instructions
Enter LDAP Path
LDAP Path: Provide the LDAP path of the object you wish to add to a group. This path uniquely identifies the object in Active Directory.
Specify Group Name
Group Name: Enter the name of the group within Active Directory to which you want to add the specified object.
Execute the Action
Run the action to add the specified object to the chosen group. This will update Active Directory with the new group membership.
Add User To Group
Description and Purpose
The Add User to Group action allows users to add one or more users to a specified group within Active Directory. This action streamlines user management by ensuring that users are assigned to groups with appropriate access controls and permissions.
Usage Instructions
Provide Usernames
Users: Enter the username(s) of the user(s) you wish to add to the group. This can include multiple usernames if adding multiple users.
Specify Group Name
Group Name: Enter the name of the group within Active Directory to which the user(s) will be added.
Execute the Action
Run the action to add the specified user(s) to the chosen group. This action will update the group's membership to reflect the new additions.
Connect
Description and Purpose
The Connect to Active Directory action establishes a secure connection with the Active Directory environment. This initial connection is essential to allow Autom Mate to perform subsequent actions, enabling interactions with the directory for tasks like user and group management.
Usage Instructions
Select Connection Type
Connection Type: Choose the type of connection you wish to establish, such as secure LDAP.
Enter LDAP Address
Address: Specify the LDAP address for the Active Directory connection, typically in the format ldap.example.com:389
.
Provide Username and Password
User: Enter the username required to authenticate the LDAP connection.
Password: Input the associated password for the specified username.
Specify Base Path
Base Path: Enter the base path for the Active Directory structure. This is often structured as dc=automate,dc=com
.
Execute the Action
Run the action to initiate the connection. Once established, the connection enables all subsequent Active Directory actions in the workflow.
Inputs
Connection Type: The type of connection to Active Directory (e.g., secure LDAP).
Address: The address for the LDAP connection to the Active Directory server.
User: The username used for authentication.
Password: The password for the user account.
Base Path: The base path of the Active Directory environment.
Create Contact
Description and Purpose
The Create Contact action enables users to add new contact information for individuals or entities within Active Directory. This action is designed to streamline the process of creating contact records, ensuring that essential information such as names, email addresses, and department details are captured accurately.
Usage Instructions
Enter Contact's Basic Information
First Name: Input the first name of the contact.
Last Name: Provide the last name of the contact.
Display Name: Specify the display name, which represents how the contact will appear in Active Directory.
Enter Unique Identifier and Email
Distinguished Name (DN): Enter a unique Distinguished Name for the contact, which serves as an identifier within Active Directory.
Email: Provide the contactβs email address.
Add Additional Details
Description: Add a brief description for the contact, if desired.
Department: Specify the department where the contact works.
Title: Enter the job title or position of the contact.
Execute the Action
Run the action to create the contact in Active Directory. Upon successful execution, the contact will be listed in the specified directory.
Inputs
First Name: The contactβs first name.
Last Name: The contactβs last name.
Display Name: The contactβs display name as it will appear in Active Directory.
Distinguished Name (DN): The unique identifier for the contact.
Email: The contactβs email address.
Description: A brief description of the contactβs role or details.
Department: The department where the contact works.
Title: The job title of the contact.
Create Object
Description and Purpose
The Create Object action allows users to add new objects, such as users or groups, to the Active Directory environment. This action is designed to help administrators easily expand their directory structure by adding entities with specific attributes, improving organization and management within Active Directory.
Usage Instructions
Define the Object Type
Object Type: Select the type of object to create within Active Directory (e.g., User, Group).
Specify the LDAP Path
LDAP Path: Enter the LDAP path where the new object will reside in the Active Directory structure.
Add Custom Attributes (Optional)
Custom Attributes: Provide any additional attributes or specifications required for the new object. This field allows for the customization of each object based on organizational needs.
Execute the Action
Run the action to create the object in Active Directory. Upon successful execution, the object will be added at the specified LDAP path with the selected attributes.
Create User
Description and Purpose
The Create User action allows administrators to quickly add new user accounts to Active Directory. This action streamlines the user creation process by gathering essential user details and adding them to the directory with appropriate attributes. It ensures consistency in user data entry and speeds up the provisioning of new accounts.
Usage Instructions
Enter Basic User Details
Username: Specify the username for the new user.
Logon Name: Provide the logon name that the user will use to access Active Directory.
First Name: Enter the userβs first name.
Last Name: Specify the userβs last name.
Define Unique Identifiers
Distinguished Name (DN): Provide a unique identifier (Distinguished Name) for the new user in Active Directory.
Contact Information
Email: Input the email address associated with the new user.
Security and Access
Password: Set an initial password for the new user.
Is Disabled: Check this box if the user account should be disabled upon creation.
Organizational Details
Description: Add a brief description for the user account.
Department: Specify the department to which the user belongs.
Title: Enter the userβs job title.
Execute the Action
Run the action to create the new user in Active Directory with all specified details.
Inputs
Username: The chosen username for the new user.
Logon Name: The logon name the user will use to access their account.
First Name: The userβs first name.
Last Name: The userβs last name.
Distinguished Name (DN): A unique identifier for the new user.
Email: The email address associated with the user.
Password: Initial password for the user account.
Description: A brief summary or description for the account.
Department: The department to which the user belongs.
Title: The userβs job title.
Is Disabled: Whether the user account should initially be disabled.
Delete Computer
Description and Purpose
The Delete Computer action removes a specified computer object from the Active Directory environment. This action is used when decommissioning or retiring a computer, ensuring that outdated or unused computer entries are cleared from Active Directory.
Usage Instructions
Enter Computer Details
Computer CN: Provide the Common Name (CN) of the computer object you want to delete from Active Directory. This unique identifier specifies the computer that will be removed.
Execute the Action
Run the action to delete the specified computer from Active Directory. The computer entry will be permanently removed from the directory.
Delete Object
Description and Purpose
The Delete Object action removes a specified object from the Active Directory structure. This action is valuable for managing directory hygiene, ensuring that obsolete or unnecessary objects, such as users, computers, or groups, are efficiently removed.
Usage Instructions
Specify Object Details
Distinguished Name (DN): Enter the unique Distinguished Name (DN) of the object you wish to delete from Active Directory. The DN serves as a unique identifier, pinpointing the exact object to be removed.
Execute the Action
Run the action to delete the specified object from Active Directory. Upon execution, the selected object will be permanently removed from the directory structure.
Delete User
Description and Purpose
The Delete User action removes a specified user account from the Active Directory environment. This action is essential for maintaining directory accuracy by removing accounts that are no longer needed, ensuring security and compliance within the network.
Usage Instructions
Specify User Details
Username or Logon Name: Enter the unique username or logon name of the user account you wish to delete from Active Directory. This serves as the identifier for the account to be removed.
Execute the Action
Run the action to delete the specified user account. Once executed, the selected user account will be permanently removed from Active Directory.
Disable User
Description and Purpose
The Disable User action deactivates a specified user account within Active Directory. Disabling a user account is a secure way to temporarily restrict access without permanently deleting the account, often used for offboarding or security compliance measures.
Usage Instructions
Specify User Details
Username or Logon Name: Input the username or logon name of the user account that needs to be disabled. This identifier allows Active Directory to locate and disable the correct account.
Execute the Action
Run the action to disable the specified user account. The account will no longer have access until re-enabled.
Disconnect
Description and Purpose
The Disconnect action terminates the active session with the Active Directory environment, effectively closing the connection to the Active Directory server. This is essential for secure session management, ensuring that connections are closed when not in use.
Usage Instructions
Execute the Action
Simply run the action. No additional inputs are required. This action will disconnect the current Active Directory session securely.
Enable User
Description and Purpose
The Enable User action allows administrators to reactivate a previously disabled user account within Active Directory, restoring the user's access and permissions. This action is essential for reinstating user accounts after a temporary deactivation or for troubleshooting access issues.
Usage Instructions
Enter User Details
Username or Logon Name: Input the username or logon name of the user account to enable.
Execute the Action
Run the action to enable the specified user account.
LDAP Query
Description and Purpose
The LDAP Query action enables users to perform custom LDAP (Lightweight Directory Access Protocol) queries within Active Directory. This action is ideal for retrieving specific information from the directory based on defined search criteria, allowing for customized data extraction and reporting.
Usage Instructions
Enter LDAP Query Details
LDAP Query: Input the custom LDAP query to execute within Active Directory.
Attribute: Specify the attribute you want to retrieve from the query results.
Output Variable: Assign an output variable to store the query results for easy access and use in subsequent actions.
Execute the Action
Run the action to perform the LDAP query and retrieve the specified information.
Move Object
Description and Purpose
The Move Object action in Autom Mate's Active Directory integration is designed to facilitate the relocation of an existing object within the Active Directory (AD) structure. This action is beneficial for users managing AD environments where objectsβsuch as users, groups, or computersβneed to be reorganized or transferred between different organizational units (OUs) or other containers. By specifying the current location and the desired destination, this action enables efficient management of AD resources.
Usage Instructions
Specify the Object's Current Location
In the LDAP Path input field, enter the LDAP path of the object you wish to move.
The LDAP path uniquely identifies the current location of the object within the Active Directory hierarchy.
Example LDAP Path format:
CN=John Doe,OU=Users,DC=company,DC=com
Define the Destination Location
In the Move to input field, specify the destination path within Active Directory where you would like to relocate the object.
The destination path should be structured according to ADβs hierarchy to ensure the object is moved to the correct OU or container.
Example Destination format:
OU=Managers,DC=company,DC=com
Execute the Action
Run the action to move the object from its current location to the specified destination.
Ensure that the required permissions are in place to move the object within the AD structure.
Password Reset
Description and Purpose
The Password Reset action in Autom Mateβs Active Directory integration enables administrators to reset the password for a user account within Active Directory. This action is essential for situations requiring a password update or recovery, providing a straightforward way to manage user access and account security.
Usage Instructions
Specify the Username or Logon Name
In the Account's Username or Logon Name input field, enter the username or logon name of the user whose password you want to reset.
Ensure that the username or logon name correctly matches the target user in Active Directory.
Example Username format:
jdoe
orJohn.Doe
Set the Password Change Requirement (Optional)
In the Require Password Change input field, set this flag to indicate whether the user should be prompted to change their password upon their next login.
This option is beneficial for enforcing security policies, ensuring the user updates their password immediately after a reset.
Example values:
True
orFalse
Execute the Action
Run the action to reset the userβs password.
After execution, the specified user will have their password reset and will follow any additional requirements set, such as being prompted to change their password at next login.
Remove Object From Group
Description and Purpose
The Remove Object From Group action in Autom Mateβs Active Directory integration enables administrators to remove a specific object, such as a user or another group, from an existing group within Active Directory. This action is vital for managing group memberships, ensuring that objects are only associated with relevant groups to maintain organized and secure access controls.
Usage Instructions
Enter the Object's LDAP Path
In the LDAP Path input field, specify the LDAP path for the object you want to remove from the group.
This LDAP path uniquely identifies the object in Active Directory and directs the action to the correct entity.
Example format:
CN=John Doe,OU=Users,DC=example,DC=com
Specify the Group Name
In the Group Name input field, enter the name of the group from which you want to remove the object.
Ensure the group name accurately corresponds to the target group in Active Directory.
Example group name:
Marketing Team
Execute the Action
Run the action to remove the specified object from the designated group.
After execution, the object will no longer be associated with the specified group in Active Directory.
Remove User From Group
Description and Purpose
The Remove User From Group action in Autom Mateβs Active Directory integration enables administrators to remove specific user(s) from a designated group within Active Directory. This action is essential for maintaining accurate group memberships, ensuring that only relevant users have access to group-specific resources.
Usage Instructions
Enter the Username(s)
In the Username input field, specify the username(s) of the user(s) you wish to remove from the group.
This field accepts one or multiple usernames, depending on how many users need to be removed from the group.
Example format:
jdoe
or a list likejdoe, asmith
Specify the Group Name
In the Group Name input field, enter the name of the group from which you want to remove the user(s).
Ensure the group name matches the target group in Active Directory accurately.
Example group name:
Sales Team
Execute the Action
Run the action to remove the specified user(s) from the designated group.
Once completed, the specified user(s) will no longer be associated with the group in Active Directory.
Unlock User
Description and Purpose
The Unlock User action within Autom Mateβs Active Directory integration allows administrators to unlock a locked user account, restoring access to the user in Active Directory. This action is useful when a user has been locked out due to multiple failed logins attempts or other security settings.
Usage Instructions
Enter the Username or Logon Name
In the Username or Logon Name input field, provide the exact username or logon name of the user account that needs to be unlocked.
Example:
jdoe
orjohn.doe
Execute the Action
Run the action to initiate the unlocking process.
Once executed, the specified userβs account will be unlocked, and the user will regain access according to their assigned permissions.
Update Contact
Description and Purpose
The Update Contact action allows administrators to modify contact details within Active Directory. This action is essential for maintaining up-to-date information for individuals or entities in the directory, ensuring accuracy in the organizational directory.
Usage Instructions
Enter the Distinguished Name (DN)
In the Distinguished Name (DN) input field, provide the unique identifier for the contact that you wish to update.
Example:
CN=John Doe,OU=Contacts,DC=example,DC=com
Provide Updated Contact Information
Fill in any fields you need to update:
First Name: Input the updated first name of the contact.
Last Name: Input the updated last name of the contact.
Display Name: Provide the updated display name that will appear in Active Directory.
Email: Enter the updated email address for the contact.
Description: Provide an updated description or additional information about the contact.
Department: Specify the updated department to which the contact belongs.
Title: Enter the updated job title of the contact.
Custom Attributes: If there are specific custom attributes relevant to this contact, enter those details here.
Execute the Action
Run the action to apply the updates to the specified contact in Active Directory.
The changes will be saved, and the contactβs details will reflect the new information.
Inputs
Distinguished Name (DN): The unique identifier for the contact to update.
First Name: The updated first name of the contact.
Last Name: The updated last name of the contact.
Display Name: The updated display name of the contact.
Email: The updated email address of the contact.
Description: The updated description for the contact.
Department: The updated department for the contact.
Title: The updated job title of the contact.
Custom Attributes: Any additional custom attributes to modify for the contact.
Update Object
Description and Purpose
The Update Object action allows administrators to modify attributes and properties of an existing object within Active Directory. This action is essential for keeping the directory data accurate and up-to-date, enabling efficient management of various Active Directory entities, such as users, computers, or groups.
Usage Instructions
Enter the LDAP Path of the Object
In the LDAP Path input field, specify the LDAP path of the object you wish to update.
Example:
CN=John Doe,OU=Users,DC=example,DC=com
Specify Attributes to Update
Provide the specific Attributes that need modification. List each attribute with its updated value, ensuring accuracy to reflect the desired changes in Active Directory.
Example:
email: [email protected]
department: Sales
Execute the Action
Run the action to apply the attribute updates to the specified object in Active Directory.
The changes will be saved in Active Directory and can be reviewed in the object's profile.
Inputs
LDAP Path: The unique LDAP path of the object to update in Active Directory.
Attributes: The list of attributes to modify for the object, along with their new values.
Update User
Description and Purpose
The Update User action enables administrators to update a user account's information within Active Directory. This action is essential for maintaining accurate user details, managing account permissions, and ensuring up-to-date contact information for each user.
Usage Instructions
Specify the Username or Logon Name
In the Username or Logon Name input field, provide the unique username or logon name associated with the user account to be updated.
Example:
jdoe
Provide Updated User Information
Enter updated details for the following fields as necessary:
First Name: The updated first name of the user.
Last Name: The updated last name of the user.
Display Name: The name displayed for the user in Active Directory.
Email: The updated email address of the user.
Description: A brief description or additional information about the user.
Department: The department within the organization associated with the user.
Title: The userβs job title within the organization.
Custom Attributes: Any additional custom attributes for the user, as needed.
Execute the Action
Run the action to apply the changes. The updates will be saved in Active Directory, and the userβs profile will reflect the updated information.
Inputs
Username or Logon Name: The unique username or logon name of the user to be updated.
First Name: The updated first name of the user.
Last Name: The updated last name of the user.
Display Name: The name displayed in Active Directory.
Email: The updated email address of the user.
Description: A brief description of the user.
Department: The updated department name.
Title: The job title for the user.
Custom Attributes: Any additional custom attributes for the user.
Additional Tips
Last updated