Upgrade Exchange 2013 Distribution Groups from Exchange 2007

Upgrading Distribution groups from Exchange 2007 to Exchange 2013 has 3 steps:  Distribution groups must be upgraded, distribution group owners must be set, and the homeMTA property needs to be cleared.  The powershell code below shows how this is done:

#Forces Upgrade of all distribution groups
Get-DistributionGroup –resultsize unlimited | Set-DistributionGroup –ForceUpgrade
#Set All Distribution Group Owners  (Required for Exchange 2010/2013 if missing causes errors)
#Change the owners to the desired domain accounts replace USER@DOMAIN.COM
Get-DistributionGroup -ResultSize Unlimited | Set-DistributionGroup -BypassSecurityGroupManagerCheck -ManagedBy 'USER@DOMAIN.COM’,’USER2@DOMAIN.COM’

#Clear homeMTA property for a single distribution group (If any distribution groups have this property set it can force a specific server to send distribution group messages)
Get-DistributionGroup -ResultSize Unlimited | Set-ADGroup $_.samAccountName -Clear homeMTA


One thought on “Upgrade Exchange 2013 Distribution Groups from Exchange 2007

  1. Pingback: Exchange 2016 Migration – Finishing Touches – Post Migration Tasks – blog – Alexander Ollischer | Citrix | Microsoft

Leave a Reply

%d bloggers like this: