Export (0) Print
Expand All

Enable or disable archive mailboxes in Exchange Online

Exchange Online
 

Applies to: Exchange Online

Topic Last Modified: 2013-02-14

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 and eDiscovery requirements. With archiving enabled, users can store messages in an archive mailbox, also called an In-Place Archive, which is accessbile by using Microsoft Outlook and Outlook Web App.

To learn more, see In-Place Archiving and In-Place eDiscovery.

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 archives for existing users that have a mailbox but aren’t archive-enabled. This is known as enabling an archive for an existing mailbox.

  1. Navigate 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 an existing mailbox, do one of the following:

  • In the EAC, navigate 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*
    

CautionCaution:
When you disable an archive mailbox, the contents of the archive are permanently removed. The archive won't be accessible by the user, and you can't reconnect the archive mailbox to the corresponding primary mailbox.

  1. Navigate 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>

    ArchiveStatus

    None

    ArchiveState

    None

    DisabledArchiveDatabase

    <name of mailbox database>

    DisabledArchiveGuid

    <guid of disabled archive>

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