AD Information Sync provides logging feature to record and monitor the synchronization activities when sync information between Active Directory and SharePoint list, after you enable this feature, you can get details of what actions performed on which objects at what time, and the results.
In this article, we will demonstrate how to enable the logging feature in a profile.
The log files in a sync profile, showing what actions have been performed when syncing information between Active Directory and SharePoint list.
Create a list named as Active Users from the custom list template with following columns and items on a SharePoint site.
Download the trial version of AD Information Sync and install it to your SharePoint server.
Navigate to the site in which the Active Users list is located.
In the upper right corner, click Settings and then click Site Settings.
On the Site Settings page, click AD Information Sync settings under BoostSolutions Software section in the bottom right corner of the page.
On the AD Information Sync Settings page, click Create Profile to create a new profile, specify a unique name for it.
In the List section, select the SharePoint list to which we will synchronize the information from Active Directory. Select Active Users from the dropdown list.
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.
In the Filter section, specify the information you want to synchronize. Specify the object type as User.
In the Column Mapping section, map the AD attributes to the list columns as following.
In the Log section, check the checkbox of Enable logging option.
To keep the log file for a long-term, you can fill a large number in Delete log files from the server after days section, such as 180, which means that the log files will be deleted after 180 days since its creation.
Keep other settings as default and click OK to save the settings for the profile.
On the AD Information Sync Settings page, click Sync Now for the profile we created.
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.
Wait for a few seconds for the synchronization to be completed.
A message will show up, indicating the synchronization status, and you can click View Logs to check this synchronization activities.
Note that if you did not enable the Log feature in the sync profile, you can also check the synchronization details by click the Views Logs link after each synchronization, but the logs are not stored in the log system, unless you enable the Log feature.
Click View Logs, then you will see the synchronization details as following.
The details will tell you what actions happened on which objects (user, contact or computer) at what time, and the results.
If you performed multiple sync operations, and want to check the previous log files, click the corresponding profile name to enter the Edit Profile page.
In the Log section, click View Log.
And then you will see the previous log files as following.
Click the file name and then you will see the details as following.