January 7, 2014

Exchange 2010 Dynamic Distribution Groups not showing in GAL

By Geekphreek

I’m not sure why Microsoft do it, but they seem to go out of their way to make life just that little bit more difficult than it needs to be.  Maybe it’s so that it keeps people like me in work?  Any way, today’s fun one was that DDGs were not showing up in Mail Groups.

Okay, not the end of the world… unless your company thrives on them for their mail delivery.  Post migration, I wish I had seen their earlier to save some ranting and raving.

On your exchange box, drop to a shell.  Doing a “Get-AddressList “All Groups” will give you the recipient filter of “((Alias -ne $null) -and (ObjectCategory -like ‘group’))”.  No No Exchange, we wants ALL GROUPS!  Rung the following:

Set-AddressList “All Groups” -IncludedRecipients MailGroups
Update-addresslist “All Groups”

Now, let’s try that again:  “Get-AddressList “All Groups”

((RecipientType -eq ‘MailUniversalDistributionGroup’) -or (RecipientType -eq ‘MailUniversalSecurityGroup’) -or (RecipientType -eq ‘Mai…

Much better!