Import Contacts into Active Directory

How to Import Contacts into Active Directory and Export Data

Step 1: Prepare the AD Contacts OU

In this Example we have created a new OU called 'Contacts' that we will Synchronise our Contact Data into. Contacts

Step 2: Connect Data Source A to a Source of Contacts

We have created some sample data and connected it to Data Source A to synchronise with Active Directory. In this example we use the UserCode column as our Unique Key and we will store this value in the EmployeeId attribute in Active Directory to maintain the link between records.
Source A

Step 3: Connect Data Source B to your active directory Contacts OU

We need to specify a correctly formed LDAP Connection for this, such as the one below:

  • LDAP://OU=Contacts,DC=corp,DC=simego,DC=com

We also need to modify the LDAPFilter property to return objects of Type 'Contact' for example:

  • (&(objectCategory=contact))

Connect to Datasource

Step 5: Adjust the Active Directory Properties

Next we need to adjust a few properties on the Active Directory provider to enable the creation of new records in your AD. Set the following properties:

  • SchemaClassName to 'Contact'
  • SchemaItemFormat to '$FirstName$ $Surname$'
  • EnableAdd to 'True'
  • EnableDelete to 'True' (Optional)


Step 6: Map the schemas and compare the Source and Synchronise the AD Contacts OU

Then set-up your Schema Map to Map your Source Columns to Active Directory and in this case using the EmployeeID to Store an Identifier to the Contact record.
Schema Map

Now when you Compare and Synchronise the records are created in your AD.
Contacts in Active Directory

Contact Details

Can't find the answers you're looking for? Contact our support team and we'll personally get back to you as quickly as we can.