Hot answers tagged active-directory
Solution: there've been wrong data in ActiveDirectoryCustomQuery of the picker settings: ActiveDirectoryCustomQuery = "(&(objectCategory=person)(objectClass=user))" => set to null by ActiveDirectoryCustomQuery = $null resolved the problem
Make sure that you are running your code from the server as an administrator. Also replace Localhost with the actual Web Application URL.
Only top voted, non community-wiki answers of a minimum length are eligible