17. March 2013 · Comments Off on How to enable archive mailboxes in Office 365 GUI/portal & PowerShell · Categories: Office365 · Tags: , ,

Configure/Enable Archive Mailbox with Office 365 GUI (Single-User)

  1. Select “Manage My Organization” > “Users & Groups” > “Mailboxes”.
  2. Select the mailbox you want to enable the archive mailbox for and click Details.
  3. Under Mailbox Features, select Archive and click Enable.
  4. In the Archive Mailbox window, accept the default archive name (Archive Mailbox – ) or type a new name.
  5. Click Save.
  6. Note that the status for Archive is now Enabled.

NOTE: = The display name of the user as it is listed within Office 365, thus if the user’s name is Jane Doe, the default name will be Archive Mailbox – Jane Doe.

Configure/Enable Archive Mailbox with PowerShell (Single-User)

Enable-Mailbox -Identity user@domain.com -Archive

This PowerShell script will accomplish the same thing as the above six steps performed within the GUI.

Configure/Enable Archive Mailbox with PowerShell (All Users in Organization)

There two ways to do this. This first way will configure the archived mailboxes for all users and simply assign them all the default name of “Online Archive -”

Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq ‘UserMailbox’)} | Enable-Mailbox -Archive

Now, if you want to configure a different name of the Archive mailboxes for everyone, for example “My Archive -” or “CompanyWideChosenName –

$users = Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq ‘UserMailbox’)}
ForEach ($a in $users) {$a.ArchiveName.Add(“CompanyWideChosenName – $a”)}
$users | %{Enable-Mailbox $_.Identity -Archive -ArchiveName $_.ArchiveName}

NOTE: The “CompanyWideChosenName” is arbitrary and can be something else per the organization’s preference.


Comments closed.