How to solve Exception:QuotaExceededException

If you get an undeliverable message back when you send calendar invites and get the error below:

Diagnostic information for administrators:

Generating server: xxxxxxxxxxxxxxxx.PROD.OUTLOOK.COM

User’s email address
Remote Server returned ‘554 5.2.0 STOREDRV.Deliver.Exception:QuotaExceededException.MapiExceptionShutoffQuotaExceeded; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Move/Copy messages failed………..

All you need to do is to free the user’s email storage space. So how to delete the Recoverable items to free the space? Try this:

Access EAC > Roles > Admin Roles > Discovery Management

https://admin.exchange.microsoft.com/#/adminRoles

Under Permissions, check “Mailbox Import Export”

Under Assigned, add the Admin account and Save

Then Run the below PowerShell commands, strictly one by one  

Set-Mailbox user@domain.com -LitigationHoldenabled $False -SingleItemRecoveryenabled $False -RetainDeletedItemsFor 0  

Set-Mailbox user@domain.com -RetentionHoldEnabled $False  

Set-Mailbox user@domain.com -ElcProcessingDisabled $False  

Set-Mailbox user@domain.com -RemoveDelayHoldApplied  

Set-Mailbox user@domain.com -RemoveDelayReleaseHoldApplied  

#Check and ensure no hold is applied. Also ElcProcessingDisabled should be False (Take screenshot of the below and attach it to this email)  

Get-Mailbox user@domain.com| fl *hold*,elcprocessingdisabled,Retentionpolicy  

#Once confirmed then run the below commandlet  

Start-ManagedFolderAssistant user@domain.com -HoldCleanup  

Allow a couple of hours for the changes to take effect  

Re-run the below if required.  

Start-ManagedFolderAssistant user@domain.com -HoldCleanup

To get the statistics of Recoverable Items

Get-MailboxFolderStatistics user@domain.com -FolderScope RecoverableItems | fl Identity,FolderSize,FolderandSubfoldersize