logo
search
Exchange Connection Problems

How to Force Exchange Online Archive Processing with PowerShell

Natalie TaylorNatalie Taylor Sep 25, 2026 872 views

Question details

The user wants to manually trigger Exchange Online to process a mailbox so that messages move to an In-Place Archive immediately.

How to Force Exchange Online Archive Processing with PowerShell
Product
Exchange Online
Device & OS
not provided
Scenario
A retention policy has been enabled, but the user needs messages to be archived immediately instead of waiting for the automated schedule.
Observed behavior
Messages do not move to the In-Place Archive immediately after a policy is enabled because the Managed Folder Assistant processes mailboxes on a delayed schedule.
Before you start

Ensure you have the Exchange Online PowerShell module installed and that your account has the necessary administrative permissions to manage mailbox policies.

Solution 1Recommended

Use the Start-ManagedFolderAssistant Cmdlet

Run a PowerShell command to manually trigger the Managed Folder Assistant for a specific mailbox, forcing retention policies to process immediately.

By default, the Managed Folder Assistant processes Exchange Online mailboxes automatically on a schedule (typically up to 7 days). You can bypass this wait time by manually initiating the assistant via Exchange Online PowerShell.

1
Connect to Exchange Online PowerShell

Open PowerShell on your computer and run the 'Connect-ExchangeOnline' command to log in with your administrator credentials.

2
Run the Assistant Command

Execute the command 'Start-ManagedFolderAssistant -Identity user@contoso.com', replacing 'user@contoso.com' with the actual identity or email address of the target mailbox.

3
Wait for Processing

Allow some time for the processing to complete. The archiving process is initiated immediately, but larger mailboxes may take a few hours or even days to fully complete moving the messages.

Use the Start-ManagedFolderAssistant Cmdlet
Policy Conditions Must Be Met: Even when forced manually, messages will only be moved to the archive if they meet the specific conditions defined in your retention policy.
Free Microsoft Office alternative

A Lightweight Alternative for Your Daily Office Tasks

While server administration like Exchange requires specialized Microsoft tools, your day-to-day document creation doesn't need heavy, expensive software. WPS Office is a free, lightweight, and highly compatible alternative for all your productivity needs.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package.
  2. 2. Install the Application: Run the installer and follow the fast, on-screen instructions to set up WPS Office on your device.
  3. 3. Open Your Documents: Launch WPS Office and easily open, edit, or save your existing Microsoft Office files.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsFree to use for essential daily document processing and viewingLightweight installation that runs smoothly on most devicesFamiliar user interface for seamless migration from Microsoft OfficeBuilt-in PDF reader and editor for complete document management
microsoft office alternative - wps office

Frequently Asked Questions

Why don't messages move to the archive immediately after setting a retention policy?

Retention policies rely on the Managed Folder Assistant, an automated background process in Exchange Online. Because it runs on a regular schedule rather than continuously, there is a natural delay before mailboxes are processed and messages are archived.

What if messages still do not move to the archive mailbox after running the PowerShell command?

First, verify that the messages strictly meet the conditions (such as age limits) specified in your retention policy. If the automated process is still delayed, users also have the option to manually move the required messages into their In-Place Archive.

Do I need special permissions to use Start-ManagedFolderAssistant?

Yes, you must be assigned appropriate administrator roles, such as Mailbox Management or Organization Management, in Exchange Online to successfully execute this cmdlet.