User Profile Synchronization Using SharePoint 2013

Good Day to everyone, here we will see the user profile synchronization in SharePoint 2013.

Before we begins let's be sure we know why are we using user profile synchronization.

The main purpose of user profile synchronization in SharePoint is to share thoughts, news feeds, social tags and to store personal data.

Before beginning synchronization, create two domain users using active directory:

  1. For user profile administrator.
  2. For replicate active directory changes.

Step 1

Create a delegate control to reflect the directory changes to the SharePoint, so right-click the domain and choose Delegate control.

delegate control

Step 2

Click "Next >" to proceed.

delegate of control Wizard

Step 3

Add a domain user of which the credentials we are going to manage the directory changes with, here I added a domain user and named it replicate_admin.

user or group

Step 4

Enable the radio button to create a custom task to delegate then click "Next >".

create a custom task to delegate

Step 5

Enable this folder, existing object in this folder and create the new objects in this folder then click "Next >".

delegate control of

Step 6

Here select a check box to replicate the directory changes and do the replication synchronization and click "Next >".

set permissions

Then finally click "Finish".

finish delegate of control Wizard

Next, I will create and configure the user profile synchronization so before that I need to check whether the service has been started, by default the user profile synchronization service would be stopped.

To check the service status, go to the Management Shell and type Get-SPServiceInstance then hit Enter (Or).

Go to Central Administration and select System settings -> Manage services on server. Here you can see the following screen that the user profile service is in stopped mode.

user profile syncronization service

Note: Do not click Start until you are finished with the following procedure.

Here the procedure to be followed to start the user profile synchronization is to go to "Run..." and type "services.msc" then click OK.

service msc

Once the services pages are opened search for "Forefront identity services" and "Forefront identity synchronization", by defaults they are disabled.

services

So right-click Forefront Identity then go to Properties then choose log on and provide the credentials like Domain\administrator then change the status to "Automatic with delayed start" then click OK.

Use the preceding method for Forefront Identity synchronization and click OK.

Note: You should not give a start manually.

Then go to Central Administration and select  "System settings" -> "Manage services on server" then locate user profile synchronization click start services then it prompts with the following screen:

select user profile application

Here provide the administrator credentials then click OK. Then the user profile synchronization services will be started.

To check the job status for running user profile synchronization go to Central Administration then select "Monitoring" then check the job status. There you can see the following screen, check with the running jobs.

running job

Once the running status finishes check with services.msc. Both services will be started automatically.

forefront identity manager service

Now check with the SharePoint services, whether the user profile services has started. Go to Central Administration then select "System Settings" -> "Mange services on server" and check that the following highlighted services have started.

user profile service

If it doesn't start the service then just restart the machine and follow the procedure again, if it starts then proceed with the following procedure.

Now we configure the syncronization connection using the following marked option and we create a connection to synchronize the user details from the active directory.

manage profile service

Here we can create the new connection.

synchronizatiuon connection

Below you can see how to connect the configuration for importing the user details from the active directory. Here we provide a connection name and select active directory in type and provide your forest name and provide the administrator account credentials.

add new synchronization connection

Then click populate container. It will generate your Forest OUs and user details, here you can select all the options or you can select users and organizational units alone. Then click OK.

containers

Here configure the connection to active directory so now we will start the synchronization by clicking the following option.

user profile service application

After clickiing Start synchronization it will ask to crawl or synchronization type either full or incremental, click full synchronization and click OK.

start profile syncronization

Once clicking OK on the right side you can see the synchronization status, before synchronization the user profile count will be 1 and once it starts the synchronization status will show synchronizing.

user profile status

Once the synchronization finishes you can see the number of user profiles will be increased like how many users are there in the active directory and you can see the status is idle.

Now user profile synchronization has been configured and synchronized successfully, now create an Enterprise search page and connect the end user with their colleagues.

Up Next
    Ebook Download
    View all
    Learn
    View all