SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

I want to import accounts in specific OU's and not the whole Active Directory. I have created the connection to AD and everything is working well. I'm sure it is possible to import specific accounts in specific OU's using the 'User Filter' and creating new query clauses, here lies my problem. I have no idea on the syntax I should use.

Any help would be great, even a link to a good article/blog.


share|improve this question
up vote 0 down vote accepted

There is some info here along with some additional links on the LDAP filters.

Here is another blog I found helpful:

share|improve this answer

Funnily enough I was listening to a podcast from Todd Klindt yesterday and he was talking about a client which wanted to remove profiles for Conference and Meeting Rooms from the SharePoint User Profile Import Process.

He suggested using the AD Users and Computers MSC and using the AD saved query tool which sits at the top. I do remember using it a few years ago when I was playing around with MS Exchange. Anyway I will leave it to him to take you through it:-


Regards Simon

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.