SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have several SharePoint only accounts that don't correspond to any users in our Active Directory. How can I exclude these accounts from People search?

share|improve this question
up vote 7 down vote accepted

I think you were looking for a way to remove the accounts from the search results? If so, you can create a crawl rule to remove them from the results. You can create a managed property for the account name and exclude it from the results.

See this thread:

share|improve this answer
Exactly what I was looking for, thanks. – EHorodyski May 1 '12 at 18:16

In the User Profile Service Application, change the permissions on who can use the profile features (Manage User Permissions). Instead of the all users groups, change it to a group that includes only the users who should be using the profile features and such. Then re-run your search crawls.

share|improve this answer

You can also exclude the non-people accounts by creating the import connection so it only pulls from an OU with people. (Provided AD is set up with People in one OU and Service Accounts in a seperate OU.) If not you can add bitwise filters to eliminate the extra profiles.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.