How to: Set up People Search in SharePoint 2013

Posted Thursday, January 3, 2013 4:30 PM by CoreyRoth

Looking back at my analytics, I found that my People Search in SharePoint 2010 was quite popular.  I thought I would update that post for SharePoint 2013.  The process is similar but there are a few things to be aware of.  People Search requires you to have the User Profile Service Application up and running as well as My Sites.  If you don’t have either of those configured, People Search will not work and you will likely see an error like the following in your crawl log.

Error in the Microsoft SharePoint People Protocol Handler. (Invalid URI: The URI is empty.)

SearchCrawlLogPeopleSearchError

User Profile Synchronization Application

Let’s start with configuring the User Profile Service Application.  We need this to retrieve user profiles from Active Directory so that search can use them.  If you already have your profiles imported, you can skip this section and proceed to My Sites.  The nice thing about SharePoint 2013 is that you can set it up the easy way now with the new (well old from 2007) synchronization option called Use SharePoint Active Directory Import.  You can still using the full sync if you want, but for those of you that don’t want to mess with the pain you had with UPS in the past, give this a try.  You can always change it later.  If you already have profile synchronization working, there is no reason to mess with this setting.  To get to this setting, go to your User Profile Service Application –> Synchronization Settings.  Choose the option Use SharePoint Active Directory Import and click ok.  You’ll get a warning mentioning it’s limitations after that. 

UPSSynchornizationSettingsUseADImport

Once you are done here, go to Configure Synchronization Connections and Create New Connection.  Again, you don’t need to do this if you already have synchronization up and running.  Enter the name of your domain, provide an account that has credentials.  This account does not need to be a domain admin (nor should it be).  Click Populate Containers and select the OUs that you want to import and then save the connection.  Back on the UPSA page, go to Start Profile Synchronization and select Start Full Synchronization and click OK.

My Sites

We now need to configure My Sites.  Typically this is hosted on a new web application but it doesn’t have to be.  Now, you need to create a My Site Host.  To do this, create a new site collection on the root path (/).  Choose the My Site Host template and create the site collection.

MySiteHostNewSiteCollection

Once you have created this web application and set up it’s site collection, you will need to create some managed paths for it.  To do this, select the web application that host My Sites and click Managed Paths in the ribbon.

UPSWebApplicationsManagedPaths

On this screen, remove the existing Sites managed path.  Then add a wildcard inclusion for personal and a explicit inclusion for my

MySitesDefinedManagedPaths

Now, we need to enable Self Service Site Creation.  Return to the Web Applications page and click the Self-Service Site Creation.  From here, select On and click Ok.

MySitesSelfServiceSiteCreation

Search

At this point, you may be good to go.  However, there are a few settings that you should verify.  First, go to the Service Applications page.  Select your User Profile Service Application but do not click on the link.  Instead click on the Administrators button.  Typically, what you will find here is that when the Search Service Application was created, it adds the Search service account to this list.  However, if you change the default content access account (as you should), it will not get updated here automatically.  Therefore, you need to add your crawl account to this list and choose the Retrieve People Data for Search Crawlers permission.

UPSPeopleSearchAdministrators

Now, we are probably ready to crawl, but it’s worth checking the content source to be sure.  Go to your Search Application –> Content Sources.  Edit your default content source (typically Local SharePoint sites).  Ensure that there is an entry with the sps3 protocol handler (i.e.: sps3://myserver) in the start addresses.  You only need one sps3 entry and typically it is just the URL of the first web application you happened to create.  It does not have to be the URL of the My Site Host.

PeopleSearchContentSource

Once you have confirmed these URLs are correct, you can start an incremental crawl.  When it finishes, you can go to you will be able to go to your search center and search for people in your organization.  If it doesn’t work, return to your Search Service Application and view your crawl log.  There usually is something there to help indicate what the problem is.

Comments

# My SharePoint links January 5, 2013 | Jeremy Thake's musingsJeremy Thake's musings

Pingback from  My SharePoint links January 5, 2013 | Jeremy Thake's musingsJeremy Thake's musings

# SharePoint Daily » Blog Archive » Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365

Pingback from  SharePoint Daily  » Blog Archive   » Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365

# Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365

Friday, February 22, 2013 8:26 AM by SharePoint Daily

Hey Facebook! I don't want to be in my 40's anymore. Can you introduce a bug that makes me a

# re: How to: Set up People Search in SharePoint 2013

Friday, March 15, 2013 7:52 PM by MC

Have you been able to map the thumbnailPhoto to the Picture attribute when using the Active Directory Import method?  I don't see the people photos in search or on the profiles after mapping and doing a full import.

# re: How to: Set up People Search in SharePoint 2013

Thursday, April 11, 2013 10:17 PM by CoreyRoth

@MC I haven't tried.

# re: How to: Set up People Search in SharePoint 2013

Monday, June 30, 2014 10:18 AM by Mostafa

I configured people search in SP 2013, and i am able to search for example people by name or title. I want to search for relevant people which means: i search for SharePoint, it should shows me any relevant people who authored documents in the portal even this keyword is not in their profile.

Any ideas how to do this ?

-- Ping me on twitter: @MostafaElzoghbi

# Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365 – Bamboo Solutions

Pingback from  Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365 – Bamboo Solutions

# Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365 – Bamboo Solutions

Pingback from  Preparing for SharePoint 2013; Cloud Collaboration, Social & Docs; Make the Switch to Office 365 – Bamboo Solutions

# re: How to: Set up People Search in SharePoint 2013

Thursday, March 30, 2017 2:55 PM by DML

I'm looking for some guidance in determining/ troubleshooting why search would return multiple hits of the same user. Has anyone encounter this, what are your thoughts? We are not talking about 2 users with the same name for example but rather having a known single user A and a search is done and more than one user A is returned. Thanks in advance.

Leave a Comment

(required)
(required)
(optional)
(required)