Forum Discussion
gopakumar sivaraman
Mar 31, 2017Copper Contributor
SP 2013 People Search Exclude Farm Service Accounts
Environment : SP2013 with SP1 With CU of Jan 2017 We have sync the OU's for people search but not all OU's in AD..Our farm service accounts are not in Sync OU's ,but still people search showing t...
JaredMatfess
Apr 03, 2017Iron Contributor
The solution that I'm working on for a client involves the following.
1. Create a custom attribute in User Profile Service called "HideFromPeopleSearch"
2. Set this value to true for a few of the service accounts
3. Create new Managed Property to map that new property to.
3a. Make sure to follow Mikael Svenson's advice on this new property:
http://www.techmikael.com/2014/11/how-to-make-sure-user-profile.html
4. On your People Search page, set a filter to HideFromPeopleSearch=no or something like that to indicate it should only return users who don't have that attribute set