Home > Microsoft Exchange Tips > Exchange Server Administration Tips > How to create dynamic distribution groups in Exchange Server 2007
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

How to create dynamic distribution groups in Exchange Server 2007


Brien Posey
05.22.2007
Rating: --- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Prior to Exchange Server 2007, managing email distribution lists was quite tedious (especially in larger organizations), because administrators had to update them manually. Exchange Server 2007 offers a new feature called dynamic distribution groups that greatly simplifies the process.

An Exchange 2007 dynamic distribution group is a distribution list whose membership changes dynamically as the organization changes. These distribution groups are creating through Active Directory queries rather than creating lists of recipients.

Dynamic distribution groups work by querying Active Directory for specific user object attributes. For example, if you wanted to create a dynamic distribution group consisting of all recipients who live in Miami, Fla., you would create a query on the City attribute. If a user object's City attribute contains the word "Miami," then the user is automatically included in the Exchange distribution group.

Because Exchange Server 2007 dynamic distribution groups work by looking at Active Directory attributes, they will only be effective if you have populated the various user object attributes. Due diligence must also be exercised to make sure that your user object attributes remain up to date.

Exchange 2007, Longhorn Server, Windows Vista, and even Office 2007 to some extent, use Active Directory object attributes much more often than Microsoft products have in the past. So make sure you take some time to populate or update your Active Directory user object attributes if necessary.

How to create an Exchange 2007 dynamic distribution group

  1. To create an Exchange 2007 dynamic distribution group, begin by opening the Exchange Management Console and navigating through the console tree to Recipient Configuration -> Distribution Group.

  2. Right click on the Distribution Group container.

    You will now see an option to create a new distribution group. If you choose the New Distribution Group option, you will be creating a static distribution group. Make sure you choose the option to create a new dynamic distribution group instead.

  3. At this point, the Exchange Management Console will launch the New Dynamic Distribution Group wizard. The wizard's first screen simply requires you to enter a name for the new distribution group. Use something descriptive that will help you to remember the distribution group's purpose. As you type the name, the Alias field will be populated automatically.

  4. Click Next, and you will see a screen -- similar to the one that's shown in Figure A
    -- that allows you to filter the recipients included in the distribution group based on mailbox type. By default, all recipients are included in the filter, but you can narrow down the list by choosing to filter based on users with Exchange mailboxes, users with external email addresses, etc.

    Figure A: You have the option of filtering recipients by mailbox ...


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



    RELATED CONTENT
    Microsoft Exchange Server 2007
    Is your Exchange 2007 hub transport server healthy?
    Top 5 Exchange ActiveSync tips
    Two useful tools for documenting an Exchange Server installation
    Controlling spam in Exchange 2007 at the edge transport server level
    Restore Exchange storage groups with DPM 2007
    How a hosted Exchange service can help you
    Email issues after configuring hosted Exchange server on laptop
    Migrating to Exchange 2007 with correct permissions
    Virtualize Exchange Server 2007 -- without losing your job
    How DSAccess service improves Exchange Server 2007 reliability
    Microsoft Exchange Server 2007 Research

    Exchange Server Administration Tips
    Remove Exchange 2003 objects from AD to install Exchange 2010
    Is your Exchange 2007 hub transport server healthy?
    Avoid Outlook 2007 performance issues during repairs
    Developing an Exchange 2007 server role DR plan
    How DSAccess service improves Exchange Server 2007 reliability
    An introduction to the Exchange Remote Connectivity Analyzer tool
    Monitor Exchange 2007 with disk- and RPC-related counters
    DPM 2007 replica inconsistencies in Exchange databases
    Track Exchange 2007 mailbox server health using database counters
    Digging deeper into Exchange Server 2010

    Microsoft Exchange Server Mailbox Management
    Delivering email between Exchange server test and production domains
    Microsoft Outlook error message: 'Mailbox Size Limit exceeded'
    Restoring user accounts and mailbox links in Active Directory
    Problems receiving email from outside a Exchange Server 2003 domain
    Best practices for moving mailboxes in Exchange Server
    Exchange admins: Is it time to rethink your email address policy?
    Exchange Server 2003 collects email from only specific POP3 domains
    Troubleshoot 'System Attendant' error messages in OWA
    Relocating Outlook email messages on a hosted Exchange 2007 server
    Restore contacts from an Exchange public folder

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    bounce e-mail  (SearchExchange.com)
    messaging server  (SearchExchange.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    type.

    [IMAGE]

  5. Click Next and you will be taken to the screen that allows you to create conditions for your dynamic distribution group. To understand how this works, imagine that you wanted to create a distribution group consisting of all of the recipients in South Carolina. To do so, you would select the Recipient in a State or Province checkbox, as shown in Figure B. The Conditions portion of the screen will update to reflect that you want your distribution group to contain recipients from a specific state or province.

    Figure B: Set the conditions for the dynamic distribution group here.
    [IMAGE]

    Notice in the figure that the word Specified is underlined. If you click on this word, you'll be given the opportunity to enter the name of the actual state or province you want included in the condition.

  6. After adding conditions to the dynamic distribution group, click the Next button to view a summary screen detailing the options you've chosen.

  7. To finish, click the New button to create the new dynamic distribution group.

Conclusion

As you can see, Exchange Server 2007 dynamic distribution groups can be a huge timesaver, because they free you from having to manually managing static distribution lists. Keep in mind though that dynamic distribution lists are only as good as the user object attribute data in your Active Directory.

About the author: Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Exchange Server, and has previously received Microsoft's MVP award for Windows Server and Internet Information Server (IIS). Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at http://www.brienposey.com.

MEMBER FEEDBACK TO THIS EXCHANGE SERVER TIP

It is interesting to know that there are dynamic distribution groups in Exchange 2007 and how they can be configured, but it is not true that it is a new feature. The query distribution lists in Exchange 2003 have similar characteristics and functions as those in Exchange 2007.

Besides, a reference to the PowerShell command that performs this operation should be mandatory for all function descriptions in Exchange 2007 reference documents -- or the information that there is no such command should that be the case.
—Carmen A.

******************************************

I just read your tip about creating dynamic distribution groups. The tip is pretty good, except for one thing. This feature is not new; it is also a part of Exchange 2003.
—Kristofer N.

******************************************

I did some checking, and you are right. It did exist in Exchange Server 2003, but in a different form.

In Exchange 2003, the feature was called "Query Based Distribution Groups." The feature was added to the Active Directory Users and Computers (ADUC) console and was not accessible through the Exchange System Manager (ESM).

In Exchange Server 2007, Microsoft designed the dynamic distribution list feature to make it easier to use, and also made the feature accessible through the Exchange Management Console (EMC).

Probably the biggest improvement is that the wizard makes it obvious that you can filter recipients based on Active Directory attributes. You could filter on attributes in the Exchange 2003 version, but that feature was kind of hidden. You had to define a custom filter and really hunt around to find the attribute filtering mechanism.
—Brien Posey, tip author

******************************************

I think Microsoft is missing an even simpler dynamic distribution list. For instance, I work at a college which runs a large database system that stores all student information (as all colleges do). I already query this information to generate Windows logins, so I have their email addresses ready to use. Why can't I just query the information to generate group emails for each course a student is enrolled in? The connection to Exchange Server could just be an ODBC link to a table or query containing the distribution list name and the email addresses of all students on it.

I'm sure there are many other organizations which want to query their own information, not Active Directory data, for distribution lists.
—Peter T.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you have a useful Exchange Server or Microsoft Outlook tip, timesaver or workaround to share? Submit it to SearchExchange.com. If we publish it, we'll send you a thank-you gift only an IT geek could love.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts