Enable or Disable Archive Mailbox in Office 365

How to Disable / Enable In-Place Archive in Exchange Online Using PowerShell & Exchange Admin Center (EAC)

In-Place Archiving or Archive Mailbox in Office 365 provides additional mailbox storage space to its users. It is used as an alternate storage location to store historical messaging data. In order to use this archive mailbox in Exchange Online, a user first need to enable this feature. But the question is how to enable archive or in-place archive mailbox for the user account. Thus, this blog covers different ways to enable In-place archive or enable archive mailbox in Office 365 using Powershell & Exchange Admin Center (EAC). If you want to export Archive Mailbox to Outlook, you can enable this feature & use SysTools Office 365 Extractor .

Enable Archive Mailbox in Exchange Online / Office 365

STEP 1

To Enable Archive Mailbox via Exchange Admin Center (EAC). First of all, you need to sign in to MS Office 365 using either your business or school account. After that, from the top-left corner, click on the App Launcher icon. Then, click on the Admin


STEP 2

Now, move to the bottom left corner of the Office 365 admin center. And, click on the Admin center >> Exchange option


STEP 3

Next, navigate to Recipients >> Mailboxes option in the Exchange Admin Center


STEP 4

Now, choose the desired mailbox. After that, go to the details pane and click on the Enable option under the In-Place Archive to enable archive mailbox in Office 365

Note : In order to enable archives in bulk, you can choose multiple mailboxes using Ctrl + A. After that, go to More options in the detail pane. Then, click on the Enable option under Archive to enable archive mailbox in Exchange Online


Disable Archive Mailbox in Office 365 / Exchange Online

STEP 1

First of all, sign in to Office 365 via your school or business account. After that, click on the App Launcher icon from the top-left corner. Click on the Admin. Then, in the Office 365 Admin Center, click on the Admin Center >> Exchange option


STEP 2

A Window will be prompted to confirm whether you want to enable archive for all Recepients at once, Select OK to continue


STEP 3

Now, navigate to Recipients >> Mailboxes in Exchange Admin Center. Choose the desired mailbox.


STEP 4

Then, click on the Disable option under the In-Place Archive in the detail pane to disable archive mailbox in Office 365

Note :In order to disable archive mailboxes in bulk, choose the mailboxes by clicking on Ctrl + Select Mailbox or Ctrl + A. Then, go to the detail pane and click on the More option. Click on the Disable option under Archive

A user can disable the archive mailbox also because of compliance related reasons. A user is allowed to reconnect to archive mailbox within 30 days after disabling it. And, after 30 days, the data stored in the archive mailbox get deleted permanently. Thus, if a user enables archive mailbox after 30 days, a new archive mailbox is created.


Enable Archive Mailbox in Exchange Online / Office 365

Step 1: Connect to Exchange Online organization via Windows PowerShell

You can quickly enable archive mailbox in Office 365 using PowerShell , for each employee in your organization . Now, follow the steps mentioned below:


To start the process, open Windows PowerShell on your local machine

Note: Make sure you Launch Windows PowerShell as "Run as Administator"

Now Execute the command as shown below:

$UserCredential = Get-Credential

Now, in the Windows PowerShell Credential Request dialog box, enter the user name and password of an Office 365 admin account. Click on the OK button

After that, you need to run the command mentioned below:

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

Then, execute the command given below:

Import-PSSession $Session

Note : If the following error is displayed , execute the command given below:

set-executionpolicy remotesigned

Now, to make sure that you are connected with Exchange Online organization or not, execute the command below. It will display the list of all mailboxes in the organization.

Get-Mailbox


Step 1: Enable In-place Archive mailboxes


In order to enable archive mailbox in Exchange Online , run the command mentioned below:

Enable-Mailbox "ravi" -Archive

Note: In order to enable archive for all user mailboxes, run the following command:

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

Disable Archive Mailbox in Office 365 / Exchange Online

STEP 1

The very first step is to connect with Exchange Online organization via Windows PowerShell. Follow the same steps mentioned above in the enable archive mailbox via PowerShell command section. After that, in order to disable the archive for abc mailbox, run the command:

Disable-Mailbox -Identity "ravi" -Archive

To verify that you have disabled archive mailbox successfully, run the command

Get-Mailbox -Identity "ravi" | Format-List *Archive*

If the archive mailbox is disabled , following values are returned :


Free Download Office 365 Export Software Download Now