Skip to main content

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
  1. Go to Output > Mappings.
  2. Click Add.
  3. Enter the following values: - System: AD - Target: Users - Function: UserCreate - Name: HR500_AD_UserCreate
  4. Click Save.
Configure the mapping
  1. 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.
  2. In the Items pane, click the > button to preview the first record.
  3. 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 | |
  4. Click Save.
  5. 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.
  6. Ideally, the user is successfully created in the target AD system.
  7. 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