Disabling the Recoverable Items folder in Microsoft Office 365
When using GFI Archiver with an Microsoft Office 365 mailbox, we recommend disabling Microsoft Office 365 from moving deleted items to the Recoverable Items folder. This prevents your journal mailbox from reaching its maximum capacity of 30 GB. When the maximum capacity is reached, GFI Archiver will not be able to archive emails.
NOTE
The Recoverable Items folder is a hidden folder that contains emails deleted in Microsoft Office 365 for a specific amount of time (default 14 days). Quotas for Recoverable items cannot be increased.
When you disable this functionality emails are automatically deleted from the journal mailbox once GFI Archiver archives the emails.
The following configuration helps you prevent this issue:
NOTE
Procedure for Powershell 7+
1. On a Windows machine, open Terminal or PowerShell.
2. Run the following command: Import-Module -Name ExchangeOnlineManagement
- if the module could not be found, you might want to Install-Module -Name ExchangeOnlineManagement from PSGallery (PowerShell 7.2 and above is recommended)
3. To start your remote session with Exchange Online, run the following command:
Connect-ExchangeOnline -UserPrincipalName {{yourMSLoginEmail}}
- a browser tab should open to authenticate and/or confirm MFA
4. To disable the Recoverable Items folder functionality, run the following command: Set-MailboxA directory or folder used for receipt, filing, and storing messages of emails. –Identity {{journalMailboxEmailOrUsername}} -SingleItemRecoveryEnabled $False -RetainDeletedItemsFor 0
5. To disconnect your session: Disconnect-ExchangeOnline
NOTE
For more information on how to connect to Exchange Online using remote PowerShell, refer to the following: http://go.gfi.com/?pageid=MAR_O365_PowerShellCommands.
See also:
Setting up a Microsoft Office 365 Journaling Mailbox.