Setting Default OU For Distribution Groups In Exchange 2010…

As an Exchange administrator, you can set the default OU in which you want all newly created distribution groups to be stored. This may not be appealing for bigger companies, as they tend to have a complex OU structure and there will be more than one OU that holds the distribution groups.

For a smaller organization, this setting might come in handy as all groups will be stored in the correct OU, which keeps the OU structure tidy as well. By default, while creating a distribution group, you are given the option as to where the group has to be stored.

Create distribution group in EMC

We can set the default OU globally by running Set-OrganizationConfig –DistributionGroupDefaultOU “DN of OU”. In my case, I have set to store all groups in an OU called “Groups”, in hew.local/howexchangeworks/groups.

Set default OU for DGs

Next time you create a distribution group, the OU is not filled by default. You are presented with the same wizard as before. Just go ahead and create the group and it will be stored in the right place. As an example, I created a “Test Group”. I didn’t make any OU selection.

Test group creation

After the group was created, I checked my OU and my group was there. All works then!

DG created in default Ou in AD

Setting the default OU didn’t succeed when I issued the command with the name of the group or the full OU path (with and without “”).

Error with other commands

Anyone knows why? I checked the help in PowerShell to see what type of values the “DistributionGroupDefaultOU” takes, but there was no mention of it.

PS Help

SUBSCRIBE FOR DAILY ARTICLE UPDATES VIA EMAIL
Get the published articles delivered straight to your inbox. Your details will not be passed to any third party company.

Exchange Architect, Blogger, Husband & Dad. I have been in IT for the last 11 years, with Exchange Server becoming the prime area in the last few years. I am active on TechNet forums & Experts Exchange.

View all contributions by

3 comments… add one

  • GoodThings2Life May 17, 2011 at 12:07 pm

    Any way to do this as part of a specific role? I have a few users with permission to create contacts and modify their respective distribution lists (as part of a role I created for them), but the contact user accounts end up in the Users OU, and I'd like to change that.

    Reply edit
  • Rajith Jose Enchiparambil May 17, 2011 at 4:46 pm

    Hi,

    This option only sets the default OU for distribution groups, not for contacts.

    Reply edit
  • Remo Baumann January 6, 2012 at 9:19 am

    @GoodThings2Life

    I have the same issue with the contacts. I’d like to change the default OU for contacts creating with OWA. I browsed the config files on the CAS but was not able to find a text line for this yet. I’ll try to find it but would appreciate if anyone has a hint in this case.
    Thanks :)

    Reply edit

Speak Your Mind…

Website Hits