get-mailbox -SoftDeletedMailbox and legal hold

%3CLINGO-SUB%20id%3D%22lingo-sub-3206711%22%20slang%3D%22en-US%22%3Eget-mailbox%20-SoftDeletedMailbox%20and%20legal%20hold%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3206711%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3Ewhat%20field%20should%20i%20be%20looking%20at%20for%20when%20all%20my%20softdeletedmailbox%20should%20be%20purged%3F%3C%2FP%3E%3CP%3Ei%20have%20over%20200%20account%20from%20just%20running%20get-mailbox%20-SoftDeletedMailbox%20in%20a%20hybrid%20setup.%3C%2FP%3E%3CP%3Ei%20see%26nbsp%3BLitigationHoldDuration%20field%20is%20populated%20at%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eare%20these%20account%20using%20space%3F%20someplace%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3206711%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3207941%22%20slang%3D%22en-US%22%3ERe%3A%20get-mailbox%20-SoftDeletedMailbox%20and%20legal%20hold%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3207941%22%20slang%3D%22en-US%22%3ESoft-deleted%20mailboxes%20are%20generally%20purged%20after%2030%20days.%20If%20the%20mailbox%20is%20on%20any%20type%20of%20hold%20at%20the%20moment%20of%20deletion%2C%20it%20will%20be%20converted%20to%20%22inactive%22%20mailbox%20instead.%20You%20can%20list%20those%20via%20Get-Mailbox%20-InactiveMailboxOnly.%3CBR%20%2F%3E%3CBR%20%2F%3EInactive%20mailboxes%20will%20be%20preserved%20for%20the%20duration%20of%20the%20hold%2C%20this%20includes%20litigation%20hold%2C%20In-place%20hold%2C%20retention%20policies%2C%20etc.%20They%20do%20not%20consume%20licenses.%20More%20details%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Finactive-mailboxes-in-office-365%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Finactive-mailboxes-in-office-365%3Fview%3Do365-worldwide%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello

what field should i be looking at for when all my softdeletedmailbox should be purged?

i have over 200 account from just running get-mailbox -SoftDeletedMailbox in a hybrid setup.

i see LitigationHoldDuration field is populated at 365.

 

are these account using space? someplace?

 

3 Replies
Soft-deleted mailboxes are generally purged after 30 days. If the mailbox is on any type of hold at the moment of deletion, it will be converted to "inactive" mailbox instead. You can list those via Get-Mailbox -InactiveMailboxOnly.

Inactive mailboxes will be preserved for the duration of the hold, this includes litigation hold, In-place hold, retention policies, etc. They do not consume licenses. More details here: https://docs.microsoft.com/en-us/microsoft-365/compliance/inactive-mailboxes-in-office-365?view=o365...

the Get-Mailbox -InactiveMailboxOnly and Get-Mailbox -SoftDeletedMailbox give me the same output of users .
what fields should i be look at to verify stuff is getting cleaned up?
one user looks OLD to me.
WhenSoftDeleted 2/4/2019
LitigationHoldDate 7/20/2018
LitigationHoldDuration 365
The article I linked to above and the references therein explain all that, check them out. https://docs.microsoft.com/en-us/microsoft-365/compliance/change-the-hold-duration-for-an-inactive-m...