Instantiate a situation when you are migrating mailboxes from Exchange Server 2010 to another version, say Exchange Server 2013. At times, when a couple of mailboxes are migrated there are chances that some of them will display Failed status. When we go deeper into the details of the transaction, the following error message is encountered:
The above mentioned error disrupts the migration process and puts a halt to other mailboxes from getting migrated. As clear from the error message, Exchange server allows migration of a predefined number of mailboxes and exceeding this limit may lead to occurrence of this error.
There are a number of possible methods which can be taken into consideration so as to resolve error-This mailbox exceeded the maximum number of corrupted items that were specified”.
You can resolve this error by increasing the limit of corrupted mailbox by making changes with Power shell commands.
The above statement will get all the mailboxes that have failed to migrate.
It is to be noted that you will need AcceptLargeDataLoss switch if you are setting the limit of BadItems anywhere close to 50.
Drawback: This solution may corrupt mailboxes if the changes with the Power Shell commands are not done in a correct manner.
The error can also be removed by removing the mailbox from quarantine state. This can be done by following steps:
Run the following command to get GUID of the mailbox.
Get-mailbox-statistics-identity and press F1 key.
HKLM\SYSTEM\CurrentControlSet\Services\MSExchangeIS\Private-<db-guid>\Quarantinemailboxes\ <the mailbox guid>
Iisreset
Drawback: This method should be considered as a last resort as it will disable the quarantine feature that prevents migration of corrupted and virus containing mailboxes. These mailboxes render performance issues in entire Exchange server.
The command line utility of Exchange server, Eseutil can be employed in order to repair the EDB files. This may remove the above discussed error.