Configuring automation
ADManager Plus provides a simple built-in template that helps you configure automations for repetitive AD and Microsoft 365 tasks. Follow the steps provided below to automate a task in ADManager Plus.
- Log in to ADManager Plus
- Go to the Automation tab.
- From the left pane, select Automation.
- A page with the display of all existing automations and their details will appear. To create a new automation, click Create New Automation in the top-right corner.
- On the page that appears, fill in the fields with appropriate values.
- Automation Name: Enter a name for the automation process.
- Description: Add a note that describes the automation process.
- Automation Category: Choose the AD management category under which the task will be carried out.
- Select Domain: Choose the domain and OUs where the task should be run. You can also exclude child OUs from the selected OUs.
- Automation Task/Policy: Choose a task that needs to be executed from the options given.
- Computer Automation: Under this category, you will be able to:
- Create Computers
- Disable computers
- Enable computers
- Delete computers
- Move computers
- Move computers
- Add computers to group
- Remove computers from group
- Set custom script.
- Group Automation: Under this category, you will be able to carry out the following group management activities:
AD Tasks:
- Create Groups
- Move Groups
- Add Groups to Group
- Remove Groups from Group
- Delete Groups
Microsoft 365 Tasks:
- Add Groups to Microsoft 365 Groups
- Delete Microsoft 365 Groups
- Contact Automation: In this category you will be able to:
- Create contacts
- Delete contacts
- Move contacts
- Add contacts to group
- Remove contacts from group.
- Select Domain: choose the domain and OUs where the task should be run.You can also exclude child OUs from the selected OUs.
- Automation Task/Policy: Under the section Tasks to automate, choose a management task or automation policy from the drop-down list.
- Implement Business Workflow: Choosing this option will associate a workflow to this automation and make it semi-automatic, i.e., the tasks configured will be propelled through the configured workflow.
Note: Controlled-Automation - For crucial routine tasks that require supervision to a certain extent, a business workflow can be implemented. Say you want to automate the task of disabling user accounts, but disabling accounts seems to increase your help desk calls and requires your HR manager's approval. Now, all you have to do is configure a workflow with the HR manager as the approver and implement it in the automation. Then, every time the automation tries to disable a user account, it seeks approval from the HR manager.
Under the section Select objects, there are two options: From Reports and Location of CSV. These will be considered as data sources for the automation to run.
- From Reports: Use this option to select the category and type of object reports, and to set them as a data source for the automation to run. You can preview the selected report by using the Generate Report option and filter the results of the report by clicking Add Conditions.
Note: To avoid making the same modification or performing the same management operation on an object multiple times, check the Exclude objects modified by the previous execution of this automation box.
- Location of CSV: Use the CSV files stored in your system to import data. Click the Location of CSV that appears when you click the Select More option and specify the location of the CSV file from where the data should be fetched. If you have trouble adding the CSV files, refer to the troubleshooting tips for CSV files available here.
- Data from external applications: The applications integrated with ADManager Plus will appear as data source options in the Location of CSV drop-down list. Use this option to import object data from the external applications after you have configured them in Application Integrations.
Note: When enabled, the Select only the appended objects from the file option selects only the new file or only the appended objects from the specified file.
- Run at: Select the frequency and timing for this automation. You can set the automation to run on an hourly, daily, weekly, or monthly basis, or schedule it to run only at a specific time as needed.
- Notification: Turn on the Enable Notification button to activate email and SMS alerts for informing users and stakeholders about the automation. Click to choose the Automation Execution Notification template to send notifications after the automation runs. You can also create a new template using the Create New Template option if a different one is needed. To avoid receiving multiple notification emails for each task in an policy-based automation, check the Send only Consolidated Report box while creating a new notification template.
Note: If notifications are turned on, the templates set up in the automation notification profile will be used instead of the templates in the workflow notification profile (either the execution or approval notification templates).
- Now, click Save if you have scheduled the automation to run at a particular time, or click Save & Run if you want to run it right away.
Note
- Click the Back button in the top-right corner of the automation creation or modification page to view all existing automations.
- There is also an option to enforce or delete a successive task before the duration mentioned in the automation. To do this, the workflow technician can click the run or delete option beside the task while approving or reviewing its workflow.
- You can also run an automation anytime you want by clicking the Run Now option in the list of configured automations.