logo
search
Exchange Connection Problems

How to Configure and Process Exchange Online Mailbox Archiving

Algirdas JasaitisAlgirdas Jasaitis Oct 23, 2026 868 views

Question details

The user needs to ensure that Exchange Online retention and archive policies correctly process and move older emails.

How to Configure and Process Exchange Online Mailbox Retention and Archiving
Product
Exchange Online
Device & OS
not provided
Scenario
Applying or modifying retention and archive policies for an Exchange mailbox where messages are not processing immediately.
Observed behavior
Older emails remain in the user's primary mailbox because the Exchange retention and archive policies do not process the messages right after creation or modification.
Before you start

Ensure you have the Exchange Online PowerShell module installed and possess the necessary administrative privileges (such as Exchange Administrator) to run management commands.

Solution 1Recommended

Manually Trigger the Managed Folder Assistant

Use Exchange Online PowerShell to force the background assistant to process a specific mailbox immediately.

Exchange Online relies on a background process known as the Managed Folder Assistant to apply retention and archiving policies. By default, this runs on a scheduled cycle, which is why recent changes do not take effect immediately.

1
Connect to Exchange Online

Open PowerShell as an administrator and run the 'Connect-ExchangeOnline' command to authenticate with your administrator credentials.

2
Trigger the Assistant

Execute the command 'Start-ManagedFolderAssistant -Identity "UserAlias"', replacing "UserAlias" with the affected user's actual alias or email address.

3
Verify settings in Purview

Log into the Microsoft Purview compliance portal to double-check that your retention and archive policies are correctly assigned to the mailbox.

Processing Time: Even after manually triggering the assistant, it may take some time for the changes to reflect in the user's mailbox depending on the size of the mailbox and current server load.
Free Microsoft Office alternative

Manage Your Documents Efficiently with WPS Office

While Exchange Online handles your email infrastructure, WPS Office offers a free, lightweight, and robust suite for all your document, spreadsheet, and presentation needs. Enjoy seamless compatibility with Microsoft Office formats without the heavy subscription costs.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation that runs smoothly on Windows, Mac, Linux, and mobile devices.Familiar, tabbed user interface making migration from Microsoft Office effortless.Built-in PDF editing tools for comprehensive document management.
microsoft office alternative - wps office

Frequently Asked Questions

Why are my Exchange archive policies not working immediately?

Exchange Online processes retention and archive policies via a background process called the Managed Folder Assistant. By default, this runs on a 7-day work cycle, meaning it won't instantly process newly applied policies unless manually triggered.

Do I need special permissions to run Start-ManagedFolderAssistant?

Yes, you must be assigned the Mailbox Search or Organization Management roles in Exchange Online to run this cmdlet successfully.

What is Microsoft Purview's role in email archiving?

Microsoft Purview is the compliance portal where administrators can centrally create, manage, and verify data retention policies and archive rules that apply across Microsoft 365, including Exchange Online mailboxes.

Can I run the Managed Folder Assistant for all users at once?

While you can script a loop in PowerShell using 'Get-Mailbox | Start-ManagedFolderAssistant', Microsoft does not recommend doing this for large numbers of users simultaneously as it can throttle your tenant's performance.