Views:

Archiving in Office 365 (also called In-Place Archiving) provides users with additional mailbox storage space. After you turn on archive mailboxes, users can access and store messages in their archive mailboxes by using Microsoft Outlook and Outlook on the web (formerly known as Outlook Web App). Users can also move or copy messages between their primary mailbox and their archive mailbox.

(Note: To perform this steps Exchange Admin Privileges are required)

1. Enable office 365 mailbox archival

  • Go to https://protection.office.com.

  • Sign in to Office 365 using your work or school account.

  • In the left pane of the Security & Compliance Center, click Data governance > Archive.

    The Archive page is displayed. The Archive mailbox column indicates whether an archive mailbox is enabled or disabled for each user.

  • In the list of mailboxes, select the user that you want to enable the archive mailbox for.

  • In the details pane for the selected user, click Enable.

  • Click Yes to enable the archive mailbox.

2. Disable Office 365 mailbox archival

  • Go to https://protection.office.com.

  • Sign in to Office 365 using your work or school account.

  • In the left pane of the Security & Compliance Center, click Data governance > Archive.

    The Archive page is displayed. The Archive mailbox column indicates whether an archive mailbox is enabled or disabled for each user.

  • In the list of mailboxes, select the user that you want to disable the archive mailbox for.

  • In the details pane, click Disable.

  • Click Yes to disable the archive mailbox.

3. Enable/Disable Office 365 mailbox Archival using PowerShell

The first step is to connect to Exchange Online PowerShell. For instructions, see Connect to Exchange Online PowerShell.

Enable archive mailboxes

Run this command to enable the archive mailbox for a single user

     Enable-Mailbox -Identity <username> -Archive

Run this command to enable the archive mailbox for all users in your organization

    Get-Mailbox -Filter {ArchiveStatus -Eq "None" -AND RecipientTypeDetails -eq "UserMailbox"} | Enable-Mailbox -Archive

Disable archive mailboxes

Run this command to disable the archive mailbox for a single user   

    Disable-Mailbox -Identity <username> -Archive

Run this command to disable the archive mailbox for all users in your organization

   Get-Mailbox -Filter {ArchiveStatus -Eq "Active" -AND RecipientTypeDetails -eq "UserMailbox"} | Disable-Mailbox -Archive

4. Start mailbox archival forcefully using PowerShell – use bellow script

$UserCredential = Get-Credential

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

Import-PSSession $Session

Start-ManagedFolderAssistant -Identity personname@companyname.com