In some migrations, migrating data to a mailbox might result in that mailbox getting filled up to the maximum allowed by the quota.
A few steps can be implemented to remove this problem in a migration
For any Leaver mailbox that has reached the quota:
PS C:\ get-mailbox someone@domain.com | fl *hold*
LitigationHoldEnabled : False
RetentionHoldEnabled : False
EndDateForRetentionHold :
StartDateForRetentionHold :
LitigationHoldDate :
LitigationHoldOwner :
ComplianceTagHoldApplied : False
DelayHoldApplied : False
DelayReleaseHoldApplied : False
LitigationHoldDuration : Unlimited
SCLDeleteThreshold :
SCLRejectThreshold :
SCLQuarantineThreshold :
SCLJunkThreshold :
InPlaceHolds : {}
if (($mbx.RetentionHoldEnabled -eq $true) -and ($mbx.LitigationHoldEnabled -eq $true))
{
write-host "Both LitigationHold and RetentionHold are enabled, disabling retention holds for $smtp"
set-mailbox $smtp -LitigationHoldEnabled $true -RetentionHoldEnabled $false
}
PS C:\> Start-ManagedFolderAssistant someonel@domain.com
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center