Skip to the main content.

1 min read

Exchange 2010 Dynamic Distribution Group not working

There is a bug in the creation process for Dynamic Distribution Groups (DDG) in Exchange 2010.  When you use the Exchange Management Shell to create a DDG and specify the Organizational Unit (OU) where the DDG should reside in Active Directory, you must also specify the –RecipientContainer to search for that DDG.  Otherwise the DDG Recipient Container defaults to the OU where the DDG was created.

One of my customers came to me with this question.  Here is a sample DDG that I created in my lab using the same PowerShell cmdlet that they were using.  Apparently, this had worked for them in the past.

New-DynamicDistributionGroup -Name “Abbeville Office” -OrganizationalUnit “servusinc.com/servusinc/groups/DL/hidden” -RecipientFilter {((recipienttype -eq “usermailbox”) -and (office -eq “Abbeville Office”))}

clip_image002

Notice that the Recipient Container matches the OrganizationalUnit where it was created.  You can also see this in the EMC.  This can be changed here or through the Set-DynamicDistributionGroup cmdlet in PowerShell.  You will also notice that Exchange 2010 adds some additional information to your query, for example, to exclude Arbitration Mailboxes, Discovery Mailboxes, etc.

clip_image003

 

You can audit all of the DDGs using the following cmdlet.

Get-DynamicDistributionGroup | select name,RecipientContainer,OrganizationalUnit

image

Here is the new cmdlet you should be using when creating DDGs:

New-DynamicDistributionGroup -Name “Abbeville Office” -OrganizationalUnit “servusinc.com/servusinc/groups/DL/hidden” –RecipientContainer “servusinc.com” -RecipientFilter {((recipienttype -eq “usermailbox”) -and (office -eq “Abbeville Office”))}

This will allow the DDG to search the entire directory for recipients that match your search criteria.

Microsoft Copilot for Security is Generally Available April 1, 2024

Microsoft Copilot for Security is Generally Available April 1, 2024

As a proud Microsoft Solutions Partner, CloudServus is excited to dive into Microsoft Copilot for Security, set to be globally available on April 1,...

Technical Requirements for Copilot for Microsoft 365

Technical Requirements for Copilot for Microsoft 365

Unless you’ve been living under a rock for the past year, you have heard and seen the buzz around Copilot for Microsoft 365. Copilot for Microsoft...

Maximizing Business Potential: The Strategic Advantage of Migrating Enterprise Applications to Microsoft Azure

Maximizing Business Potential: The Strategic Advantage of Migrating Enterprise Applications to Microsoft Azure

Discover the benefits and advantages of migrating enterprise applications to Microsoft Azure and why it is the best decision for your business. With...