I ran into an interesting issue on my SharePoint development environment recently where my people picker was returning no results when searching for users by name, or browsing all users:
The warning message is:
No results were found to match your search item. Please enter a new term or less specific term.
By default the SharePoint people picker uses the farm account to query Active Directory to retrieve this information. If your farm account does not have permission to query AD then your people picker will return no results. As it happened my dev environment was using a local account and hence was failing. To fix run the following stsadm commands:
- stsadm -o setapppassword -password password
- stsadm -o setproperty -pn peoplepicker-searchadforests -pv "domain:domaintosearch.com,username,password" -url http://centraladminurl
Run this for each web application that is seeing the problem, and you should see the following result:
- Peoplepicker: Stsadm properties (Office SharePoint Server) http://technet.microsoft.com/en-us/library/cc263318.aspx
Note from TechnetIf Password is used, you need to run stsadm –o setapppassword -password
This behavior typically happens when the account that is running the application pool for the site you are running, is not a domain account. It is good practice to use domain accounts for SharePoint services, but this is not always practical for development environments.