How to Enable Online Archive in Office 365 and Move Mailbox Data
An Online Archive in Microsoft 365 / Exchange Online is a separate archive mailbox that gives users a dedicated location for older or less frequently accessed email. Microsoft documentation may also refer to this feature as an In-Place Archive. The archive is separate from the primary mailbox, and its availability and capacity depend on the Microsoft 365 license and service configuration assigned to the mailbox.
Enabling an Online Archive creates the archive mailbox, but it does not automatically move all existing messages into it. After the archive is available, users can move supported mailbox content manually, administrators can use archive policies to move eligible items automatically, or supported import methods can be used when existing data needs to be placed in the archive.
Note: Before proceeding, verify that the designated user or users have an appropriate Microsoft 365 license or service entitlement that supports archive mailboxes. Auto-expanding archiving is a separate capability and should not be treated as the same thing as simply enabling an archive mailbox. Refer to Microsoft 365 licensing guidance for current requirements.
What Is an Online Archive Mailbox?
An archive mailbox appears as an additional mailbox location in supported Outlook experiences after it is provisioned. Users can access older content there without keeping that content in the primary mailbox. The archive can also work with Exchange Online archive policies so eligible messages are moved according to the policy configured for the mailbox.
The Online Archive should not be confused with the standard Archive folder in Outlook. The Online Archive is a separate mailbox managed by Microsoft 365 / Exchange Online, while the normal Archive folder is a folder within the user's mailbox.
Before Enabling the Online Archive
- Confirm that the mailbox meets the applicable Microsoft 365 licensing and service requirements for archiving.
- Use an account with the required Exchange Online administrative permissions.
- Remember that enabling the archive provisions the archive mailbox; it does not by itself move all existing mailbox data.
- For shared mailboxes, verify the applicable licensing and archive requirements before enabling the feature.
- If the archive is being prepared for migration, enable and verify it before transferring archive data.
How to Enable an Office 365 Online Archive
You can enable an archive mailbox in Exchange Online by using either the Exchange admin center or Exchange Online PowerShell.
- Method 1: Exchange admin center
- Method 2: Exchange Online PowerShell
Method 1: Enable an Archive Mailbox Using the Exchange Admin Center
- Sign in to the Office 365 / Exchange admin center with an account that has the required permissions.
- Navigate to ‘Recipients’ > ‘Mailboxes’ from the left pane.
- Select the user whose archive mailbox you want to enable. In the pane that appears, select the ‘Others’ tab, then click ‘Manage mailbox archive’.
- Switch the archive setting to ‘Enabled’ and click ‘Save’.
- Verify the archive status. Refresh the mailbox list if necessary and confirm that the archive status becomes active. Provisioning can take a short time after you save the change.
Method 2: Enable Archive Mailboxes Using Exchange Online PowerShell
Use Exchange Online PowerShell when you need to enable archives through commands or for multiple users. Run PowerShell with the required administrative permissions and connect to Exchange Online before enabling an archive.
Install the Exchange Online PowerShell module if it is not already installed:
Install-Module -Name ExchangeOnlineManagement
Connect to Exchange Online:
Copy & Paste it on PowerShellConnect-ExchangeOnline
For a single user:
Copy & Paste it on PowerShellEnable-Mailbox -Identity <user UPN> -Archive
Replace <user UPN> with the user's sign-in name or email address.
For all eligible user mailboxes without an enabled or disabled archive:
Before running a bulk command, confirm the intended mailbox scope and licensing, test with a small set of users where appropriate, and verify the archive status after the command completes.
Copy & Paste it on PowerShellGet-Mailbox -Filter {ArchiveGuid -Eq "00000000-0000-0000-0000-000000000000" -AND DisabledArchiveGuid -Eq "00000000-0000-0000-0000-000000000000" -AND RecipientTypeDetails -Eq "UserMailbox"} | Enable-Mailbox -Archive
Note: Shared mailboxes have different licensing and archive requirements. Verify the applicable Microsoft 365 licensing and service limits before enabling an archive for a shared mailbox.
For specific users from a CSV file:
$users = Import-CSV <filepath>
foreach ($user in $users) {
Enable-Mailbox -Identity $user.UPN -Archive
}
Replace <filepath> with the path to a CSV file containing the users you want to update. The example expects the user principal names to be stored in a column named UPN. If your CSV uses a different column header, update the command accordingly.
Verify archive status:
Copy & Paste it on PowerShellGet-Mailbox -Identity <user UPN> | Format-List DisplayName,ArchiveStatus,ArchiveGuid
Confirm that the archive status shows as active after provisioning completes.
Disconnect from Exchange Online when you finish:
Copy & Paste it on PowerShellDisconnect-ExchangeOnline
How to Move Mailbox Data to the Online Archive
After the archive mailbox is enabled and available, choose a data-movement method that matches the task. Enabling the archive alone does not immediately move all existing messages.
Method 1: Move Messages Manually
In supported Outlook or Outlook on the web experiences, users can move messages or folders from the primary mailbox to the Online Archive. Select the required content and move it to the appropriate folder under the Online Archive, or drag supported items to the archive mailbox where that action is available. This approach is useful when users need to archive specific content rather than apply an organization-wide rule.
Method 2: Use Archive Policies for Automatic Movement
Administrators can use Exchange Online Messaging Records Management (MRM) archive policies to move eligible items from the primary mailbox to the archive after the configured retention age is reached. Archive tags use the Move to Archive action, and the Managed Folder Assistant processes mailbox items according to the assigned policy.
Before applying or changing an archive policy, review the tags linked to it and confirm that the configured age and action match your organization's requirements. Policy-based movement is not instantaneous; eligible items move when the mailbox is processed.
Method 3: Import Existing Data When Required
When existing PST or other supported mailbox data needs to be placed in the archive, use an appropriate Microsoft 365 import method or a supported Outlook workflow. Keep the import scoped to the intended archive mailbox and verify the imported folders and items after completion.
Online Archive vs Outlook Archive Folder
| Feature | Online / In-Place Archive | Outlook Archive Folder |
|---|---|---|
| Location | Separate archive mailbox | Folder inside the user's mailbox |
| Managed by | Microsoft 365 / Exchange Online | Mailbox and Outlook behavior |
| Purpose | Long-term storage of older or less frequently accessed mailbox content | Moves messages out of folders such as Inbox without moving them to a separate archive mailbox |
| Automatic movement | Can use Exchange Online archive policies | Does not replace an Online Archive policy |
If users report that they cannot find archived content, first confirm whether they are looking at the separate Online Archive mailbox or the normal Archive folder.
Why Are Emails Not Moving to the Online Archive?
If the archive has been enabled but messages are not moving as expected, check the following:
- The archive mailbox is still provisioning or its status is not active.
- No applicable archive policy is assigned, or the policy does not include a suitable Move to Archive tag.
- The message has not reached the age configured in the archive policy.
- An item or folder has a policy or personal tag that prevents or delays movement.
- The Managed Folder Assistant has not yet processed the mailbox after a policy change.
- The mailbox does not meet the applicable licensing or service requirements.
- The user is checking the standard Outlook Archive folder instead of the Online Archive mailbox.
Preparing an Archive Mailbox for Microsoft 365 Migration
If an archive mailbox is being prepared as part of a Microsoft 365 migration, enable the target archive first and verify that it is active before transferring archive data. For broader mailbox migration planning and transfer options, see the EdbMails Office 365 migration Tool.
If the project includes moving archive mailbox data from Microsoft 365 to an on-premises Exchange destination, follow the office 365 archive mailbox to exchange guide for that specific workload.
If the same migration project also includes Microsoft 365 public folders, use the office 365 public folder migration to office 365 guide rather than treating public-folder data as archive-mailbox content.




