SharePoint 2013: How to Set Up User Profile Syncronization
This topic is a how to. Please keep it as clear and simple as possible. Avoid speculative discussions as well as a deep dive into underlying mechanisms or related technologies. |
Open SharePoint 2013 Central Administration site, and then click Manage Service Applications section, click** Configure Syncronization Connections under User Profile Service **.
Please note that only one user profile has been imported to SharePoint 2013.
For importing new profiles to SharePoint you have to create a new connection to, in the most times,Active Directory.
So, please click on “Create New Connection”
But you will receive an error that says “Cannot navigate to the requested page because the service is not running”.
This means, that you have to start the service under “Services on Server”.
You have to fill the password. But be aware the user needs “Replicating domain changes”. This is a requirement because without this, you can’t import changes from SP to AD, or AD to SP.
If you don’t know how to do it, please connect to your Domain Controller and click on “Active Directory for Users and Computers”.
Made a right-click on the domain and click to “Delegate Control”.
And give your user who has to replicate domain changes the adequate right.
Then under “Services under Server” please start the User Profile Synchronization Service but be aware, it will take more than 5 minutes before start. So, if it does not start directly do not panic.
Now, you can make a new connection to your Active Directory.
Please provide:
- A connection Name: SpPirate AD
- Type: Active Directory
- Forest name: SpPirate.Net
- Account Name: sppirate\spfarm
- Password: Vision1T
Under populate containers; please choose what exactly you need. In the earlier version of SharePoint (2007) you couldn’t choose your containers and it was a real disillusion, because it took everything Even Service Accounts.
But there is a workaround for this: http://www.gokanozcifci.be/subsite/user-profile-syncronization-importing-different-ou-in-sharepoint-2007.html
And you can now Start a Profile Synchronization.
And you can see that our imported User Profiles has been updated from 1 to 4. Meaning that the users has with their profile has been imported to SharePoint 2013.
You can now made a** search on a specific user **and you will be prompted with that user.
Setting Up MySite
My Site is your personal starting point for viewing and contributing to your organization's intranet through the portal site. It provides a place to save and share your work, a way to find and connect with other people in your organization and see their work, and a way to customize how other people in your organization see your work. To view My Site, click My Site on the navigation bar of the portal site.
When finished with creating your site collection, copy the hyperlink.
Return again to the User Profile Service Application, we have to define our My Site Settings.
Under the My Site Settings click on Setup MySite
We have to fill 4 things to configure our MySite:
- My Site Host: ( our just created site collection )
- Location: myPersonal
- Site naming Format: User Name ( do not resolve conflict )
- And be sure that **all authenticated **users can use MySite.
Everything is completed, so we can surf to our website (MySite) and see if everything is working. On my environment, I got a strange internal (500) error.
I searched on Internet but found nothing.
But my experience on SharePoint says me an “IISRESET” will resolve everything, and it was the case.
Now, you can edit your profile:
- Add a picture
- Add a project
- Add your school
- …
But, you will get a message saying that the process is still busy and that you have to wait to see the changes.
Actually this means that the service is only running per hour, so the possibility is that you can wait “ONE” hour before seeing your changes on your profile.
If you don’t want to wait, you can edit the service or just click on “run now”.
The service name is “Social Data Maintenance Job”
And you can enjoy about your new profile ..