Skip to main content

NIM

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

    2023-07-07_13-18-21.jpg
  4. Click Save.

    2023-07-07_13-21-09.jpg
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.

    2023-07-07_13-35-43.jpg
  2. In the Items pane, click the > button to preview the first record.

    2023-07-07_13-47-32.jpg
  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:

    2023-07-07_14-33-50.jpg

    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.

    2023-07-07_14-42-05.jpg
  6. Ideally, the user is successfully created in the target AD system.

    2023-07-07_14-42-43.jpg
  7. Logs are returned in the Item pane. If an error occurred, click its link in the Context column to view more detail:

    2023-07-07_14-47-11.jpg
    2023-07-07_14-48-37.jpg

Next: Step 8: Jobs