Forum Discussion

Off2w0rk's avatar
Off2w0rk
Brass Contributor
Dec 03, 2019
Solved

Inactive mailboxes

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

  • Off2w0rk 

    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.