I am currently working on an Exchange 2003 to Exchange 2010 migration. During the migration I had an issue which caused that the old mailboxes were not cleaned up correctly and the user was not converted to a mail user. The first issue can happen even if everything is configured correctly. The only solution at this moment is to run the cleanup agent which can be found in the Exchange System Manager__.

In this case the problem was caused by something else. During the move request a log will be generated and when looking the the log I found the following error:

_Warning: Unable to update AD information for the source mailbox at the end of the move.  Error details: An error occurred while updating a user object after the move operation. –> The LdapRecipientFilter “(&(&(&(& (mailnickname=*) ( (&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)( (homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder)(objectCategory=msExchDynamicDistributionList) )))(objectCategory=user)(vasco-Locked<=sdfasdfsdfasdfasdfasdf)))” on Address List or Email Address Policy “domain.com” is invalid. Additional information: The decimal number ‘sdfasdfsdfasdfasdfasdf’ is invalid or out-of-range. –> The decimal number ‘sdfasdfsdfasdfasdfasdf’ is invalid or out-of-range.</p>

Failed to cleanup the source mailbox after the move.

Error details: MapiExceptionNotFound: Unable to delete mailbox. (hr=0x8004010f, ec=-2147221233)</em>

As you can see it has some problems updating the AD information for a specific user and to be more specific the problem is caused by the Email Address Policy which has the name domain.com. As the error already tells you there is an issue caused by an invalid value which is configured in the policy.  This policy was created quickly by one of the admins before the migration which was planned in the weekend. Because he don’t want the policy to be applied to the users he provided an invalid value so there would be no match on any user.

So ensure before starting the migration that the Email Address Policies are working correctly and don’t make changes before the migration unless really necessary. In this case we needed to perform two actions to solve the issue:

  • remove the mailbox from the specific user
  • user must be mail enabled with the correct mail-addresses so it still works in thge co-existence fase

Besides this the policy needs to be corrected or it will need to be removed if it is not necessary anymore.


Johan Veldhuis