Monday, January 30, 2012

SharePoint 2010: User Profiles configured correctly but people search not working

What?

Is the user profiles service application configured correctly but people search not working?

As you can see in the below screenshot, the user profile service is able to synchronize properly with AD and pull user profiles.


When I searched for a user from a SharePoint site using people search results web part, no profiles were returned. I have also tried the query service web service (/_vti_bin/search.asmx) with no luck.


Why?


I realized that the user profile service application was created after the search service application was created and therefore the SPS3 protocol that SharePoint uses for reading profiles was not included in the content source definition and therefore the user profiles are not crawled.

How?

Navigate to Central Administration > Application Management > Manage Service Applications > Search Service Application

Click "Content Sources" link on the left hand side, and click on "Local SharePoint Sites" content source.
In the Start Addresses section, you will see a box with entries similar to those below:


In the above screenshot, http://WDRP0980 is the web application that was created by default when SharePoint was installed. Add SPS3 entries for all the web applications that you would like Search Service to pick up. Similarly add SPS3S for HTTPS sites.


Run a full crawl and search should be able to pick up all the user profiles as well.

No comments:

Post a Comment