Export (0) Print
Expand All

Enable or disable an archive mailbox in Exchange Online

Exchange Online
 

Applies to: Exchange Online, Office 365

Topic Last Modified: 2015-08-03

In-Place Archiving helps you regain control of your organization’s messaging data by eliminating the need for personal store (.pst) files and allowing you to meet your organization’s message retention, eDiscovery, and legal hold requirements. Archive mailboxes also provide users with additional email storage. After you create an archive mailbox, users can store messages in their archive mailbox (also called an In-Place Archive) and access those messages in the archive mailbox by using Microsoft Outlook and Outlook Web App.

To learn more, see Archive mailboxes in Exchange Online.

TipTip:
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

You can create an archive mailbox for existing users that already have a mailbox. This is known as enabling an archive for an existing mailbox.

  1. Go to Recipients  > Mailboxes.

  2. Select a mailbox.

  3. In the details pane, under In-Place Archive, click Enable.

    TipTip:
    You can also bulk-enable archives by selecting multiple mailboxes (use the Shift or Ctrl keys). After selecting multiple mailboxes, in the details pane, click More options. Then, under Archive click Enable.

This example enables the archive for Tony Smith's mailbox.

Enable-Mailbox "Tony Smith" -Archive

This example enables an archive for all user mailboxes in your organization.

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

When you run this command, the archive mailbox name is set to "Personal Archive – <display name>" by default. For example, the archive mailbox name for Paul Singh is Personal Archive – Paul Sing. The archive mailbox is displayed in the folder list of the Navigation Pane in Outlook or Outlook Web App.

You can also configure a different archive name when you use Windows PowerShell to enable archive mailboxes. For example, to name archive mailboxes "In-Place Archive - <display name>" when you enable archive mailboxes for all users in your organization, run the following commands:

$users = Get-Mailbox -ResultSize unlimited -Filter { ArchiveStatus -Eq "None" -AND RecipientTypeDetails -eq 'UserMailbox'}

ForEach ($a in $users) {$a.ArchiveName.Add("In-Place Archive - $a")}

$users | %{Enable-Mailbox $_.Identity -Archive -ArchiveName $_.ArchiveName}

For detailed syntax and parameter information, see Enable-Mailbox and Get-Mailbox.

To verify that you’ve successfully enabled an archive for a mailbox, do one of the following:

  • In the EAC, go to Recipients  > Mailboxes, and then select the mailbox from the list. In the details pane, under In-Place Archive, confirm that it is set to Enabled. Click View details to view information such as archive status, usage, and quotas

  • In the Shell, run the following command to display information about the new archive.

    Get-Mailbox <Name> | FL Name,*Archive*
    

You might want to disable a user's archive mailbox for compliance-related reasons. If you disable a user's archive mailbox, you can reconnect it to the user's primary mailbox within 30 days of disabling it. In this case, the original contents of the archive mailbox are restored. After 30 days, the contents of the original archive mailbox are permanently deleted and can't be recovered. So if you re-enable the archive more than 30 days after disabling it, a new archive mailbox is created.

  1. Go to Recipients  > Mailboxes.

  2. Select a mailbox.

  3. In the details pane, under In-Place Archive, click Disable.

    TipTip:
    You can also bulk-disable archives by selecting multiple mailboxes (use the Shift or Ctrl keys). After selecting multiple mailboxes, in the details pane, click More options. Then, under Archive click Disable.

This example disables the archive for Chris Ashton's mailbox. It doesn't disable the mailbox.

Disable-Mailbox -Identity "Chris Ashton" -Archive

For detailed syntax and parameter information, see Disable-Mailbox.

To verify that you have successfully disabled an archive, do one of the following:

  • In the EAC, select the mailbox. Then, in the details pane check its archive status under In-Place Archive.

  • In the Shell, run the following command to check the archive properties for the mailbox user.

    Get-Mailbox -Identity "Chris Ashton" | Format-List *Archive*
    

    If the archive is disabled, the following values are returned for archive-related properties.

     

    Property Value

    ArchiveDatabase

    <blank>

    ArchiveGuid

    <GUID of archive mailbox>

    ArchiveStatus

    None

    ArchiveState

    None

    DisabledArchiveDatabase

    <name of mailbox database>

    DisabledArchiveGuid

    <GUID of disabled archive mailbox>

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft