Loading

Exchange 2007 Migration Updating Address Policies

When editing upgraded E-mail Address Policies you recieve the following error

E-mail address policies created with legacy versions of Exchange must be upgraded using the ‘Set-EmailAddressPolicy’ task, with the Exchange 2007 Recipient Filter specified.”:

Old Exchange Email Address Policies must be upgraded to Exchange 2007

To Complete this you will need to use a couple PowerShell comands

— this will find each email address policies required to be upgraded
Get-EmailAddressPolicy | where { $_.RecipientFilterType -eq “Legacy” }

–For each found policy run the following
Set-EmailAddressPolicy “Address Policy Name” -IncludedRecipients AllRecipients

Confirm that you want to upgrade this policy
Now run the following for the AddressList

Set-AddressList “All Users” -IncludedRecipients MailboxUsers
Set-AddressList “All Groups” -IncludedRecipients MailGroups
Set-AddressList “All Contacts” -IncludedRecipients MailContacts
Set-AddressList “Public Folders” -RecipientFilter { RecipientType -eq ‘PublicFolder’ }
Set-GlobalAddressList “Default Global Address List” -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq ‘user’ -or ObjectClass -eq ‘contact’ -or ObjectClass -eq ‘msExchSystemMailbox’ -or ObjectClass -eq ‘msExchDynamicDistributionList’ -or ObjectClass -eq ‘group’ -or ObjectClass -eq ‘publicFolder’))}

Confirm that they have been upgraded to version 8

Get-AddressList | Format-List Name,*RecipientFilter*,ExchangeVersion
Get-GlobalAddressList | Format-List Name,*RecipientFilter*,ExchangeVersion

For more information please see Evan Dodds Blog http://msexchangeteam.com/archive/2007/01/11/432158.aspx

Leave a Reply

Your email address will not be published. Required fields are marked *