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:

1. On a Microsoft Windows Server machine, open Windows PowerShell.

NOTE

You may need to enable Windows PowerShell script execution to connect to Exchange Online. To enable script execution for signed scripts, run the following command: Set-ExecutionPolicy RemoteSigned

2. Run the following command: $UserCredential = Get-Credential and key in the required credentials.

3. To start your remote session with Exchange Online, run the following command:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $UserCredential -Authentication Basic -AllowRedirection

4. Run the following command: Import-PSSession $Session

5. 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 journal -SingleItemRecoveryEnabled $False -RetainDeletedItemsFor 0

6. To disconnect your session, run the following command: Remove-PSSession $Session

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.

Setting up a 3rd Party Journaling Mailbox

Configuring a new Mail Server to Archive