This KB will show you how to detect, repair and monitor corrupted mailboxes In Exchange 2010, 2013 and 2016.
Get Started
To detect and fix corrupted mailbox we need to use the cmdlet:
New-MailboxRepairRequest.
To detect Corrupted mailboxes on a database, use the cmdlet below:
New-MailboxRepairRequest -Database MBX01 –CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview -detectonly
To view the results Open event Viewer on the active Mailbox server and create the filter below In the application section.
Event Source – MSExchangeIS Mailbox Store
IDs – 10044,10045,01146,10047,10048,10049,10050,10051,10059,10062.
To fix all the mailboxes In the Database run the cmdlet below (same as above without the –detectonly)
New-MailboxRepairRequest -Database MBX01 –CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview
To run the fix on a single mailbox use:
New-MailboxRepairRequest -Mailbox USERID -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview