Create Address list from OU

Posted on 2005-05-16
Medium Priority
Last Modified: 2012-06-21
The goal is to create and address list that contains all of the contacts contained within and AD OU object.

We have seggregated our AD environment so that contacts are in their own OU. I have now recognized that i cannot create an address list from an OU by pointing to it. Even though the ldap query returns the OU in its search, it does not grab the contents.

From my research, i gather that this is because the OU is not a property of the contact.  so, i thought i may try to do a search using the distinguished name property of the contact:


from the ado and other queries i have written, this should be a <distinguishedName> ends with search. However it does not like this operator.

I can do a search with the full OU (and get the OU object back), or do a search with just the * (as in exists), but cannot use the ends with syntax.

The one work around that has been proposed is to create a group and make each of these contacts a member of that group. Fine idea, but i have 76,000 contacts and add more every day.

Is there no simpler way to accomplish this?
Question by:athelu
LVL 24

Accepted Solution

flyguybob earned 2000 total points
ID: 14013060
Unfortunately, no.  
The only other thing that you may be able to do is utilize the custom attribute field and build an address list off of it.

Expert Comment

ID: 14014479
i have my address lists setup by the department field in the activ directory, under recipent stuff, you can add queries to new address lists to collect the correct user names, i will have a look what i did in the morning and post you back if you want

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month17 days, 9 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question