Knowledge Base

How to sync changes from SharePoint list to Active Directory?

After you sync user, contact or computer information from Active Directory to SharePoint list, and maintain those information in the list. There is one question comes, how to update the changes back to Active Directory if the information is modified in the SharePoint list.

In this article, we will describe how to use AD Information Sync to sync the changes back from SharePoint list to Active Directory.

WHAT YOU'LL GET

The optionSync from list to ADenables you to sync changes back from SharePoint list to Active Directory.

WHAT YOU'LL NEED

The sample data we use for this case

And there are 7 users in the Active Directory as following.

Sync changes from a SharePoint list to Active Directory

  1. Download the trial version of AD Information Sync and install it to your SharePoint server.

  2. Navigate to the site in which the Staff list is located.

  3. In the upper right corner, click Settings and then click Site Settings.

  4. On the Site Settings page, click AD Information Sync settings under BoostSolutions Software section in the bottom right corner of the page.

  5. On the AD Information Sync Settings page, click Create Profile to create a new profile, specify a unique name for it.

  6. In the List section, select the SharePoint list to which we will synchronize the information from Active Directory. Select Staff list from the dropdown list.

  7. In the Active Directory section, specify a domain server and user credentials to connect to the domain server (Ensure the user account you specify has the appropriate permissions to access the domain server). Then click Connect. If everything goes right, it will show Connection attempt successful under the Connect button. If things went wrong, please check the user account you specified, make sure it has the permissions required.

    Note:

    Note that because we need to sync the changes back from SharePoint list to Active Directory, the user account we specify here must be a member of Domain Admins group; otherwise the Update changes and decide what to do when list items or AD objects are modified option in Sync Options section will be disabled.

  8. In the Filter section, specify the information you want to synchronize. Specify the object type as User.

  9. In the Column Mapping section, map the AD attributes to the list columns as following.

  10. In the Sync Operations section, select all the three options as following.

    Create list items when AD items are created: whenever an AD object is created, a new item will be created in the SharePoint list accordingly after the synchronization.

    You must select this checkbox when you create a new profile. Otherwise the list will not be populated with items from AD.

    Delete list items when AD items are deleted: whenever an AD item is deleted, the corresponding item in the SharePoint list will be deleted after the synchronization. Or if the AD item(s) is removed from the sync scope, the corresponding item(s) will be deleted too.

    After select Update changes and decide what to do when list items or AD objects are modified option, select Sync from list to AD option, which means always sync the changes from the SharePoint list to Active Directory.

    Note:

    Note that if you find that the Update changes and decide what to do when list items or AD objects are modified option is disabled as following, please check the Active Directory section and make sure the specified user account must be a member of Domain Admins group.

  11. Keep other settings as default and click OK to save the settings for the profile.

  12. On the AD Information Sync Settings page, click Sync Now for the profile we created.

  13. A confirmation message will appear to remind you that the synchronization will modify data in Active Directory or the SharePoint list of this profile. Click OK to start the synchronization.

  14. Wait for a few seconds for the synchronization to be completed.

    Navigate to the Staff list and you will find that all 7 users in the Active Directory have been synced to the SharePoint list as following.

  15. Select user Bush and modify his properties. Fill in the telephone as 0431 111 333; change his job title from Manager to Director.

  16. On the AD Information Sync Settings page, click Sync Now for above profile.

    Wait for a few seconds for the synchronization to be completed.

    In Active Directory, select user Victor Bush to check his Telephone and Job Title properties.

    The telephone number has been updated to the same as that in the Staff list.

    And the Job title has been updated to the same as that in the Staff list as well.

Login