Friday, July 10, 2009

Upgrading the Default Email Address Policy

One of the tasks to perform before removing the last Exchange 2003 server in a 2007 migration is upgrading the Default e-mail address Policy.

The method for upgrading the policy is to fire up the Exchange Command Shell and run the following command:
Set-EmailAddressPolicy "Default Policy" -IncludedRecipients AllRecipients

You may recieve the following error: Set-EmailAddressPolicy:The recipient policy "Default Policy" with mailbox manager settings cannot be managed by the current version of Exchange Management Console. Please use a management console with the same version as the object.

This is typically caused by a Mailbox Management Policy being applied to the Default Policy.

To address this: Open Exchange 2003 System Manager, go to Recipients, Recipient Policies and right-click the Default Policy, select Change property pages..., and uncheck Mailbox Manager Settings.

Now run the upgrade script above and get on with removing that last legacy server.

18 comments:

  1. I got this error message but the solution you are posting don't work.

    So I think that i should be able to move all mailboxes anyway. Make a new policy and use that instead. Then do a full removal of 2003 exchange.

    I should be able to update the default policy after that. Have you got any other ideas?

    ReplyDelete
  2. Perhaps try unchecking all the folders managed by the Default Policy.

    Also, I believe there's a mailbox mgmt tab in (E2K3) server properties for running regular maintenance jobs that may need to be turned off.

    And there's also a -forceupgrade switch you can try:
    Set-EmailAddressPolicy “default policy” -forceupgrade -includedRecipients allrecipients

    Hope one of those will help.

    ReplyDelete
  3. The solution works for me but the path to uncheck "Mailbox Manager Settings" is:

    Exchange System Manager -> Recipients -> Recipients Policies -> [Right click] Default Policy -> All Tasks -> Change Property Pages...

    After this you can use the powershell command on your Exchange 2010 to upgrade the policy.

    Hope this solution works for you!

    ReplyDelete
  4. Glad the post was useful.

    And thanks for the path correction, I've updated my post. I'm usually a stickler for detail, but I must have been distracted by something shiny ;)

    ReplyDelete
  5. Alan's suggestion worked for me as well. Thanks for adding to this post!

    ReplyDelete
  6. [...] fix for me, as described here, was to uncheck the Mailbox Management Settings for each Recipient Policy on the Exchange 2003 [...]

    ReplyDelete
  7. Awesome. Thanks so much for your assistance.

    ReplyDelete
  8. Took about 15 seconds to apply and worked no problem.

    Thanks!

    ReplyDelete
  9. Depending on the size of your environment you have to wait AD to replicate or just go ahead and force replication. After that I was able to execute the shell command.

    ReplyDelete
  10. Thanks a lot for your help, it makes me earn time ;)

    ReplyDelete
  11. thank you alot its resolv the problem.

    ReplyDelete
  12. What is you don't have your Exchange 2003 server any more? I have a 2007 server and need to update the default policy. All the above is not working. :(

    ReplyDelete
  13. Off the top of my pointy head I would say go into adsiedit.msc. When opening it, choose Connect to... Configuration, then drill down to: Configuration > CN=Configuration > CN=Services > CN=Microsoft Exchange > CN=%your_org_name% > CN=Recipient Policies, then edit the CN=Default Policy object in the right pane. I'd guess it'd be an entry in the msExchMailboxManager list.

    ReplyDelete
  14. Not sure what to modify. I tried msExchMailboxManagerMode but that didn't help. Any ideas?

    ReplyDelete
  15. The site I'm at had Exchange 2003, but all the msExchMailboxManager entries were blank. Not sure where else this attribute would be set, maybe try msExchMailboxManagerAdminMode. There's info on the values here: http://msdn.microsoft.com/en-us/library/aa563242(v=exchg.80), but it doesn't seem real informative. Also take a look at msExchPolicyOptionList as mentioned in: http://blogs.technet.com/b/exchange/archive/2005/03/21/399807.aspx

    ReplyDelete
  16. RESOLUTION:

    1. From the ADSIEDIT -Configuration-Microsoft Exchange-Recipient Policies-Default Policy- properties

    2. Removed the value for Mailbox manager from the attribute MsExchPolicyOptionList

    Note: (There are normally two values that you will see for this attribute. One will be for E-Mail addresses (0xfc 0x1c 0x49 0x26 0x50 0x9e 0x57 0x48 0x86 0x1b 0x0c 0xb8 0xdf 0x22 0xb5 0xd7) and one will be for Mailbox Manager (0xec 0x13 0x68 0x3b 0x89 0xce 0xba 0x42 0x94 0x42 0xd8 0x7d 0x4a 0xa3 0x0d 0xbc). This attribute will tell you what type of proxies are being applied for that policy. Simply checking or un-checking a value on the property pages will update this attribute )

    3. Ran Set-EmailAddressPolicy "Default Policy" -IncludedRecipients AllRecipients -Yes

    4. Now we were able to edit the default policy

    ReplyDelete