Weird issue with Mailbox size and Migration

Fink, Nathan 1 Reputation point
2022-12-19T07:03:20.957+00:00

I have a mailbox that when you look at the size of the mailbox in outlook and in shell, it shows the mailbox to be 24gb in size. It was larger, but I had the user delete a ton of email in preparation for migration to O365 So now it shows to be roughly 24gb.

When I migrate the mailbox to a new database to compress all the whitespace, the migration size is over 40gb...even though outlook and exchange was saying the mailbox was only 24gb...AND after the migration, when you run something like Get-MailboxStatistics -Server Mail | Select DisplayName, ItemCount, TotalItemSize, TotalDeletedItems, Database | Sort-Object TotalItemSize -Descending

It shows the mailbox to be in the new database...but also in the old database...but only in shell. In ECP, it only shows the mailbox to be in the new database. So I migrated it again and it was showing to be in THREE databases. I thought this was an on prem issue, so I went ahead and migrated the mailbox to O365 and it's currently sitting at 32gb and still growing after 4.5 hours migrating even though its only 24gb in size

Even BitTitan was showing the mailbox to only be 24gb.

I'm at a bit of a loss here. I did check and verify the "TotalDeletedItems" was empty, so it's not the dumpster for the mailbox

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Exchange Exchange Server Management
{count} votes

2 answers

Sort by: Most helpful
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2022-12-20T06:00:56.22+00:00

    Hi @Fink, Nathan ,

    Deleted items are first retained in the database and then permanently deleted after the retention period.
    You could clean up or delete items from the Recoverable Items folder to trim the mailbox size before doing a migration to EOL.

    In addition, when a mailbox is moved to a different mailbox database, Exchange doesn't fully delete the mailbox from the source mailbox database when the move is complete. Instead, the mailbox in the source mailbox database is switched to a soft-deleted state.

    Disconnected mailboxes | Microsoft Learn

    272392-2022-12-20-1.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Amit Singh 5,306 Reputation points
    2022-12-20T10:53:06.227+00:00

    Try to resume the migration batch. If you cannot resume the batch, you can remove it and start over. Maybe due to cert expiration, you cant resume now.

    Helpful links - https://learn.microsoft.com/en-us/exchange/mailbox-migration/manage-migration-batches

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.