In a Sandbox, Installed and configured SharePoint. Everything works great, except the People Picker. Problem is: People picker didn’t show any user from active directory, However it showed me the users from my local sandbox. Verified whether the Sandbox is joined to the domain. Yes, It is.
By default, the People picker should show accounts from AD where the server belongs to. It also will get the users from Two-way-Trusted domains. (And of course, from the site collection’s “User Information List” as well.) Additional configurations are needed in the case of Configure People Picker in One-way-trusted domains.
But here, Application Pool account is the culprit: The application pool account is the one which pulls users from AD to People Picker and in my case, the application pool account was a local account, not a member in AD. App pool id must be a Domain user!
Well, After changing the application pool account from local account to the domain account, able to get the active directory users in People Picker. Other things to check: Alternate access mappings and check if any custom people picker properties are set.
BTW, If you want to restrict people picker to get users ONLY within the site collection, You can set the property peoplepicker-onlysearchwithinsitecollection !
stsadm -o setproperty –url <web-app-URL> –pn peoplepicker-onlysearchwithinsitecollection –pv yes
To Check whether It’s applied or not: stsadm -o getproperty –url <web-app-URL> –pn peoplepicker-onlysearchwithinsitecollection
Is sharePoint 2010 people picker not showing all users? Check any filters applied to people picker: Apply Filters to People Picker – E.g. Don’t show me Accounts without E-mails