Step 7: Add a mapping to create AD accounts (tutorial)
In this step, we'll create a mapping for AD account creation.
Add the mapping
- Go to Output > Mappings.
- Click Add.
- Enter the following values: - System: AD - Target: Users - Function: UserCreate - Name: HR500_AD_UserCreate
- Click Save.
Configure the mapping
- For the mapping's Filter, select HR500_AD_User_Create . For the Name Generator, select ng_AD. For the Password Generator, select pg_AD. The columns of these objects are joined together and populated into the Items pane.
- In the Items pane, click the > button to preview the first record.
- To bind these columns to attributes in the AD target system, drag and drop their rows from the Items pane into Value Specification fields. ### Tip Attributes with bolded names are required. For this example, we'll map the following attributes: | Attribute | Item | Note | | --- | --- | --- | | accountPassword | pg_AD | | | cn | ng_cn | | | employeeID | employee_id | | | Enabled | true | You must manually type in
true. | | givenName | first_name | | | path | OU=users,OU=docs,DC=t4edemo,DC=com | You must manually type in the path. | | sAMAccountName | ng_sAMAccountName | | | sn | last_name | | | userPrincipalName | ng_userPrincipalName | | - Click Save.
- Now, we'll manually test a single user create operation. Go to the Run tab. Select one of the rows in the Operation pane and click Run Selected Item.
- Ideally, the user is successfully created in the target AD system.
- Logs are returned in the Item pane. If an error occurred, click its link in the Context column to view more detail:
Next: Step 8: Jobs