Can IMAP Migration Target a Microsoft 365 Online Archive?
Question details
The user wants to know if it is possible to migrate emails via IMAP directly from Zimbra to a Microsoft 365 (Exchange Online) archive mailbox.
- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Migrating emails from an external IMAP server to Microsoft 365.
- Observed behavior
- Currently investigating whether the built-in Microsoft 365 IMAP migration tool supports setting an online archive as the direct target instead of the primary mailbox.
Ensure you have global administrator access to the Microsoft 365 admin center and have verified your source IMAP server details before starting any migration tasks.
Migrate to Primary Mailbox First, Then Move to Online Archive
Since direct migration to an online archive via IMAP is unsupported natively, you must migrate to the primary mailbox first and then use Microsoft 365 archiving features to move the data.
Microsoft's built-in IMAP migration tool does not identify a supported method for targeting an Exchange Online archive mailbox directly. To achieve your goal, use a two-step process to first import the mail and then archive it.
Use the Microsoft 365 admin center or Exchange admin center (EAC) to run an IMAP migration batch, targeting the user's primary mailbox.
Ensure the target Microsoft 365 user has an Online Archive enabled via the Exchange admin center.
Create or apply a custom retention policy with a move-to-archive tag in the compliance center to automatically shift the newly migrated emails from the primary mailbox to the online archive.

Looking for a Lightweight Office Suite After Your Migration?
While you manage your Microsoft 365 email migration, you might need a fast, reliable desktop office suite. WPS Office provides a free, lightweight alternative with high compatibility for all your document needs.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the software: Run the installer and follow the on-screen instructions to set up the lightweight suite on your device in minutes.
- 3. Open and edit files: Launch WPS Office and directly open your existing Microsoft Word, Excel, or PowerPoint files with complete format compatibility.

Frequently Asked Questions
Can third-party tools migrate directly to a Microsoft 365 Online Archive?
Yes, while the native Microsoft 365 IMAP migration tool cannot target the archive directly, many third-party migration services and tools offer specific features to migrate data straight to Exchange Online archives.
What happens if I exceed my primary mailbox limit during IMAP migration?
If your primary mailbox quota is reached, the IMAP migration batch will fail for that specific user. Ensure the source mailbox size is smaller than the Microsoft 365 primary mailbox limit before initiating the migration.
How do I manually move migrated emails to the Online Archive in Outlook?
Once the IMAP migration is complete, open the Outlook desktop client. You can drag and drop folders from your primary mailbox into the 'Online Archive' mailbox displayed in your left navigation pane, or use Outlook's AutoArchive settings.




