Information
This policy setting specifies how long deleted messages are retained before they are permanently removed from the database.
Rationale:
Defining a reasonable retention period facilitates recovering accidentally deleted messages while controlling the volume of storage that retained messages require.
Impact:
None - This is the default behavior.
Solution
To implement the recommended state, execute the following PowerShell cmdlet:
Set-MailboxDatabase 'Mailbox Database' -DeletedItemRetention 14
OR
Perform the following actions:
Launch the EAC (Exchange Administrative Center).
Go to 'Servers' on the left and click on the 'Databases' tab.
Double-click the database and go to the 'Limits' settings.
Change Keep deleted items for (days): to 14 and click Save.
Default Value:
14