All Groups address list and Query-Based Distribution Groups

by Bharat Suneja on December 27, 2005

You create new Query-Based Distribution Groups but they don’t show up in the All Groups address list in Outlook clients – cached mode or not.

QBDGs are not really groups, as far as Active Directory goes. They’re instantiated from a new class – msExchDynamicDistributionList.

The default ldap filter for All Groups address list, stored in the address list’s purportedSearch attribute – is:

(& (mailnickname=*) (| (objectCategory=group) ))

No wonder it doesn’t pick up the QBDGs.

To make QBDGs show up in the All Groups address list, you will need to edit the purportedSearch attribute of All Groups.

- Fire up ADSIEdit and expand Configuration | Services | Microsoft Exchange | YourExchangeOrgName | Address Lists Container | All Address Lists.
- Right-click All Groups container | properties
- Scroll down and locate the purportedSearch attribute | click Edit
- after (objectCategory=Group), insert: (objectClass=msExchDynamicDistributionList)

so it looks like:

(& (mailnickname=*) (| (objectCategory=group) (objectClass=msExchDynamicDistributionList) ))

Now go ahead and check the All Groups address list in Outlook. If you’re in Outlook 2003 Cached Mode you may need to download entire Address Book (uncheck “Download Changes since last update… “).

{ 12 comments… read them below or add one }

Leave a Comment

Previous post:

Next post: