How to Migrate IMAP Mailboxes to Exchange Online Public Folders
Question details
Administrators need to migrate multiple IMAP mailboxes and their subfolders directly into Microsoft Exchange Online public folders.

- Product
- Microsoft Exchange Online
- Device & OS
- not provided
- Scenario
- Migrating email data from external IMAP servers to designated public folders within a Microsoft 365 environment.
- Observed behavior
- Setting up the proper mapping and user requirements for migrating IMAP mailboxes to Exchange Online public folders to ensure successful data transfer.
Ensure you have Exchange Administrator access in Microsoft 365 and have defined the appropriate target user accounts and target mailboxes before initiating the migration batch.
Prepare User Accounts and Configure the IMAP Migration Batch
IMAP migration requires that every source mailbox has a corresponding target Microsoft 365 user account and mailbox setup before moving data to public folders.
Before migrating IMAP mailboxes to Exchange Online, you cannot migrate data into a target environment without established user accounts. You must first create the users in Microsoft 365 or Office 365.
Once the users are created and fully licensed, you can map the source IMAP mailboxes to the appropriate Microsoft 365 target mailboxes, enabling you to specify public folder targets based on your organizational requirements.
Log in to the Microsoft 365 admin center as an administrator. Navigate to 'Users' > 'Active users' and ensure all required users have corresponding Microsoft 365 target mailboxes created.
Create a CSV mapping file that lists the source IMAP mailboxes alongside their respective Microsoft 365 target mailboxes. Use this file to define the correct target for each user's data.
Open the Exchange admin center and navigate to the 'Migration' tab located under the 'Sync' or 'Mailboxes' section.
Click 'Add' (the plus icon), select 'Migrate to Exchange Online', and choose 'IMAP migration'. Follow the wizard to upload your CSV file, enter your IMAP server connection settings, and start the batch.
Once the IMAP data successfully syncs to the target user mailboxes, configure Exchange rules or use Microsoft 365 administrative tools to route or move the required subfolders into the final Exchange Online public folders.

Manage Migration Data Easily with WPS Office
While managing complex Exchange Online migrations, you can use WPS Office as a free, lightweight alternative to Microsoft Office to easily handle your CSV migration mapping files, reports, and administrative documentation.

Frequently Asked Questions
Can I migrate IMAP mailboxes directly to a public folder without creating a user account?
No. For an IMAP migration, you must first create the users in Microsoft 365 or Office 365. Each source mailbox must map to a specific target Microsoft 365 user mailbox before data can be managed or moved to public folders.
What permissions are needed to perform an IMAP migration in Exchange Online?
You must be an Exchange Administrator or Global Administrator in Microsoft 365. Additionally, you will need the administrator credentials (or individual user credentials) for the source IMAP server to authorize the data sync.
How are IMAP subfolders handled during the migration?
By default, the IMAP migration process maintains the folder hierarchy. It will copy the entire folder structure, including all subfolders, from the source mailbox into the designated target mailbox in Microsoft 365.
Are there storage limits when migrating IMAP data to Microsoft 365?
Yes, Microsoft 365 imposes mailbox and public folder storage limits based on your assigned subscription license. Ensure the target mailboxes and final public folders have sufficient storage quota to accommodate the incoming IMAP data.




