How to Assign Active Directory Attributes based on Departments using Rules?
Last updated on:Objective
Create a custom template to automatically populate Active Directory user account attributes based on the departments chosen.
Steps
- Navigate to Management > User Management > User Template > User Creation Templates.
- Click + Create New Template.
- Enter a suitable Name and Description for the new template.
- Select the Domain where the template would be used.
- Enter the suitable details (example - logon naming format) to be auto populated for a user, when this template is used during AD user creation.
- Click on the Creation Rules tab.
- Click Add Rule. Under Conditions, configure 'Department is Sales'. Under Assign Values, set Manager to 'Atkins' and add another rule to set Office to 'Brooklyn'. Similarly add more conditions and set corresponding values for different departments.
- Click Save Template to finish.
- If you want to create a new user with the Manager and Office attribute values populated based on the department, navigate to Management > User Management> Single User Creation. In the Template field, choose the template created now.
Learn more about creating users through user creation templates here.