SOLVED

Inactive mailboxes

%3CLINGO-SUB%20id%3D%22lingo-sub-1044705%22%20slang%3D%22en-US%22%3EInactive%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1044705%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3Ewhen%20a%20mailbox%20have%20been%20soft%20deleted%20and%20is%20listed%20under%20disconnected%20mailboxes%20it%20will%20be%20retained%20for%2030%20days%20by%20default.%20I%20remember%20it%20was%20possible%20to%20change%20this%20value%20to%20more%20or%20unlimited.%3C%2FP%3E%3CP%3EDoes%20anyone%20remember%20the%20correct%20command%20so%20it%20affect%20all%20current%20and%20future%20inactive%2Fdisconnected%20mailboxes%3F%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1044705%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1045246%22%20slang%3D%22en-US%22%3ERe%3A%20Inactive%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1045246%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22393%22%20target%3D%22_blank%22%3E%40leng%204ever%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20100%25%20sure%20this%20applies%20to%20Exchange%20Online%20but%20in%20on-prem%20this%20is%20set%20in%20the%20database%20properties%20as%20in%20the%20following%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet-MailboxDatabase%20%3CDATABASENAME%3E%20-MailboxRetention%20%3CTIMESPAN%3E%3C%2FTIMESPAN%3E%3C%2FDATABASENAME%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMS%20Described%20the%20Mailbox%20retention%20as%20follows%3A%3C%2FP%3E%3CP%3EThe%20MailboxRetention%20parameter%20specifies%20the%20length%20of%20time%20to%20keep%20deleted%20mailboxes%20before%20they%20are%20permanently%20deleted%20or%20purged.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1045711%22%20slang%3D%22en-US%22%3ERe%3A%20Inactive%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1045711%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F152438%22%20target%3D%22_blank%22%3E%40William%20Perry%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22393%22%20target%3D%22_blank%22%3E%40leng%204ever%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20retention%20of%20an%20deleted%20mailbox%20on%20Exchange%20online%20is%20only%2030%20day%20by%20design.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20do%20not%20have%20the%20option%20to%20change%20it%20and%20you%20do%20not%20have%20access%20to%20databases.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%2C%20you%20have%20the%20option%20to%26nbsp%3BPut%20an%20In-Place%20Hold%20on%20a%20soft-deleted%20mailbox%20in%20Exchange%20Online%2C%20please%20read%20more%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fput-an-in-place-hold-on-a-soft-deleted-mailbox%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fcompliance%2Fput-an-in-place-hold-on-a-soft-deleted-mailbox%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ENuno%20%C3%81rias%20Silva%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hi all,

when a mailbox have been soft deleted and is listed under disconnected mailboxes it will be retained for 30 days by default. I remember it was possible to change this value to more or unlimited.

Does anyone remember the correct command so it affect all current and future inactive/disconnected mailboxes?

Thanks!

2 Replies
Highlighted

@leng 4ever 

Not 100% sure this applies to Exchange Online but in on-prem this is set in the database properties as in the following

 

Set-MailboxDatabase <DatabaseName> -MailboxRetention <TimeSpan>

 

MS Described the Mailbox retention as follows:

The MailboxRetention parameter specifies the length of time to keep deleted mailboxes before they are permanently deleted or purged.

Highlighted
Best Response confirmed by leng 4ever (Contributor)
Solution

Hi @William Perry and @leng 4ever,

 

The retention of an deleted mailbox on Exchange online is only 30 day by design.

 

You do not have the option to change it and you do not have access to databases.

 

But, you have the option to Put an In-Place Hold on a soft-deleted mailbox in Exchange Online, please read more here https://docs.microsoft.com/en-us/microsoft-365/compliance/put-an-in-place-hold-on-a-soft-deleted-mai...

 

Best regards,

Nuno Árias Silva