Set Up User Profile Service Application in SharePoint

1 Setup user profile Service Application

A. Create User Profile Service Application

1. Verify that the user account that is doing this procedure has the following credentials:

  • The user account that performs this procedure is a Farm Administrator
  • The user account that performs this procedure is a member of the Administrators group on the computer that is running a SharePoint Server.

2. On Central Administration, in the Application Management section, click Manage service applications.

3. On the Manage Service Application page, on the ribbon, click New and then click User Profile Service Application.



4. In the Name section, type the User Profile service application name.



5. In the Application Pool section, select the application pool that the User Profile service application will run in (if it exists), or create a new application pool.

6. Accept the default settings for the profile database, the synchronization database and the social tagging database (unless you want different names) and specify failover servers if you are using them.

7. In the Profile Synchronization Instance section, select the synchronization server.

8. Click Create.

9. When the Create New User Profile Service Application page displays the message Profile Service Application successfully created, click OK.


B. Enable NetBIOS for user profile synchronization

1. Paste in the following code using a text editor like Notepad and save it with a .ps1 extension.

  1. $ServiceApps = Get-SPServiceApplication  
  2. $UserProfileServiceApp = ""  
  3. foreach ($service in $ServiceApps)  
  4. {if ($service.DisplayName -eq "<UPSA Name>")  
  5. {$UserProfileServiceApp = $service}  
  6. }  
  7. $UserProfileServiceApp.NetBIOSDomainNamesEnabled = 1  
  8. $UserProfileServiceApp.Update() 

2. Replace <UPSA Name> with the User profile service application name.

3. Open SharePoint 2013 Management Shell.

4. Run the preceding PowerShell script file.

C. Start User Profile Service

1. Verify that the user account that is performing this procedure has the following credentials:

  • The user account that performs this procedure is a Farm Administrator
  • The user account that performs this procedure is a member of the Administrators group on the computer that is running a SharePoint Server.

2. On Central Administration, in the Application Management section, click Manage services on server.

3. On the Services on Server page, find the User Profile Service. If the value in the Status column is stopped, click Start in the Action column.



4. Once the User profile service has been activated successfully, find the User Profile Synchronization Service. If the value in the Status column is stopped, click Start in the Action column.

5. On the User Profile Synchronization Service page, in the Select the User Profile Application section, select the User Profile service application.

6. In the Service Account Name and Password section, the Farm account is already selected. Enter the password for the Farm account in the Password box and enter it again in the Confirm Password box.

7. Click OK.

Now the User Profile synchronization service has a status of Starting. When you start the User Profile synchronization service, SharePoint Server provisions the Forefront Identity Manager (FIM) to participate in synchronization. This may take around 10 minutes. To check whether the User Profile synchronization service has started, refresh the Services on the Server page.



8. Reset IIS.

9. On Central Administration, in the Application Management section, click Manage service application, then select User Profile Service Application.



10. Now we need to configure the connection to import the data from the directory service. On Central Administration, on the Manage Profile Service page, in the Synchronization section, click Configure Synchronization Connections (shown above).

11. On the Synchronizations Connections page, click Create New Connection. This will redirect you to a page as shown below.



12. On the Add new synchronization connection page, type the synchronization connection name in the Connection Name box.

13. From the Type list, select the type of directory service to which you want to connect, in other words Active Directory.

14. Fill in the Connection Settings section as shown above.

15. In the Account name box, enter the synchronization account, in other words CORP\Administrator.

16. In the Password box, enter the password for the synchronization account.

17. In the Confirm Password box, enter the password for the synchronization account again.

18. In the Port box, enter the connection port or you can use default port.

19. Click on populate container and it will populate the Active Directory connection account.

20. Click OK.

D. Start profile synchronization

1. In Central Administration, on the Manage Profile Service page, in the Synchronization section, click Start Profile Synchronization.



2. In the Start Profile Synchronization page, select Start Full Synchronization if this is the first time that you are synchronizing or if you have added or changed any synchronization connections or property mappings since the last time that you synchronized. Select Start Incremental Synchronization to synchronize only the information that has changed since the last time you synchronized.

3. Click OK.

4. The Manage Profile Service page is displayed. You can wait for some time, it will take some time to complete the synchronization.

5. Once done, you will see on the right hand side the number of user profiles increasing.



6. Looks like the User profile has been set up successfully.

Up Next
    Ebook Download
    View all
    Learn
    View all