The Wild

Migrate IMAP to Office 365 Shared Mailbox: Step-by-Step

· 7 min read · Mammals

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Migrating an IMAP mailbox to an Office 365 shared mailbox lets you preserve all existing emails, folders, and contacts while moving them into a collaborative, cloud-based environment. Shared mailboxes are ideal for teams that need a common inbox (like info@ or support@) without an extra user license. This guide walks you through the entire process, from preparing your data to verifying the migration—using Outlook and a simple IMAP export/import method. No special tools are required, but you'll need admin access to Microsoft 365 and the IMAP account's credentials.

What You'll Need

  • Administrator access to the Microsoft 365 admin center (to create the shared mailbox).
  • The IMAP account's full email address and password (or app-specific password if 2FA is enabled).
  • IMAP server settings: server name (e.g., imap.example.com), port (usually 993), and SSL requirement.
  • Microsoft 365 license that includes Exchange Online (any plan with Exchange Online works).
  • Outlook desktop client (Windows or Mac) installed and configured with the target Office 365 account.
  • Sufficient time—migration speed depends on mailbox size and internet connection.

Step-by-Step

  1. Create the shared mailbox in Microsoft 365. Sign in to the Microsoft 365 admin center (admin.microsoft.com) with an account that has Exchange admin or Global admin role. Go to Admin centers > Exchange, then under Recipients select Shared mailboxes. Click + New shared mailbox, enter a display name and email address (e.g., support@yourdomain.com), and click Save. This creates the mailbox and assigns it an email address.
  2. Add yourself (or the migration user) as a member. In the shared mailbox list, select your new mailbox, click the pencil icon (Edit), then under Members add the user account that will perform the migration. This gives that user full access to the shared mailbox. Click Save.
  3. Open Outlook with your Office 365 account. Launch Outlook desktop and ensure you're signed in with the user account that has access to the shared mailbox. Wait for Outlook to fully sync (check the bottom-right status bar).
  4. Add the shared mailbox to your Outlook profile. In Outlook, go to File > Account Settings > Account Settings. Select your Microsoft 365 account and click Change. Click More Settings, go to the Advanced tab, and under Open these additional mailboxes, click Add. Type the shared mailbox's email address (e.g., support@yourdomain.com) and click OK. Click Apply, then OK, and restart Outlook. You'll now see the shared mailbox in the left navigation pane.
  5. Export the IMAP mailbox to a PST file. In Outlook, go to File > Open & Export > Import/Export. Choose Export to a file, then Outlook Data File (.pst). Select the IMAP account's mailbox (the one you're migrating) and check Include subfolders. Choose a location to save the PST (e.g., your desktop) and set a password if desired (optional). Click Finish. This creates a backup of all emails, contacts, and folders from the IMAP account.
  6. Import the PST into the shared mailbox. In Outlook, make sure the shared mailbox is visible in the left pane. Go to File > Open & Export > Import/Export again. Choose Import from another program or file, then Outlook Data File (.pst). Browse to the PST you just created. In the options, select Replace duplicates with items imported (or Allow duplicates if you want to keep everything). Click Next. In the folder selection screen, choose the top-level of the PST (usually named after the IMAP account) and check Include subfolders. In the Import items into field, select the shared mailbox (e.g., support@yourdomain.com) from the dropdown. Click Finish. Outlook will start importing; wait until the progress bar completes.
  7. Verify the migration. Expand the shared mailbox in Outlook and check that folders, emails, and contacts appear correctly. Spot-check a few emails, especially those with attachments. If you had multiple levels of folders, ensure the hierarchy is intact.
  8. Remove the IMAP account from Outlook (optional). Once you're confident everything is in the shared mailbox, you can remove the IMAP account from Outlook to avoid confusion. Go to File > Account Settings, select the IMAP account, and click Remove. This does not delete the original IMAP mailbox—it just removes it from your Outlook profile.
  9. Set up shared mailbox permissions for other users. If other team members need access, go back to the Exchange admin center, edit the shared mailbox, and add those users as members (or grant them Full Access and Send As permissions). They'll see the mailbox automatically in Outlook after restart.

Common Mistakes

  • Importing to the wrong mailbox: When importing the PST, it's easy to accidentally select your own mailbox instead of the shared one. Double-check the dropdown in the import wizard.
  • Forgetting to include subfolders: If you don't check Include subfolders during export or import, you'll lose nested folders and only get the top-level items.
  • Not waiting for sync: After adding the shared mailbox to Outlook, it needs time to sync with the server. If you import immediately, you might see errors or missing items.
  • Using an IMAP account with 2FA: If the IMAP account uses two-factor authentication, you'll need an app-specific password. Using your regular password will fail.
  • Not backing up before deleting: Always keep the original IMAP account active until you've verified the migration. Deleting it too early can lead to permanent data loss.

Tips

  • Start with a test folder: Export a single small folder first and import it to the shared mailbox to ensure the process works before migrating everything.
  • Use a dedicated migration user: Create a separate user account with access to the shared mailbox to avoid mixing your personal email with the migration process.
  • Clean up the IMAP mailbox: Before exporting, delete junk, spam, and large attachments you don't need. This reduces PST size and speeds up the import.
  • Keep the PST as a backup: Store the PST file in a safe location (e.g., OneDrive or external drive) after migration. It's a useful backup in case something goes wrong.
  • Consider using a migration tool for large mailboxes: If your IMAP mailbox is over 10 GB, the Outlook method may be slow. Tools like BitTitan or MigrationWiz can automate the process, but they cost money.

Troubleshooting

  • Shared mailbox not appearing in Outlook: Ensure you've added it correctly via Account Settings > More Settings > Advanced. If it still doesn't show, restart Outlook. If that fails, check that you have Full Access permission in the Exchange admin center.
  • Import fails with “Outlook Data File cannot be accessed”: This usually means the PST is corrupted or password-protected. Try opening the PST in Outlook (File > Open > Outlook Data File) and see if it prompts for a password. If it's corrupted, re-export the IMAP mailbox.
  • Emails missing or duplicates: If you see duplicates, you likely imported multiple times. Use the Replace duplicates with items imported option on re-import. If emails are missing, check that you selected the correct folders and included subfolders.
  • Contacts not imported: The PST export includes contacts, but they may land in a “Contacts” folder. If they don't appear, check the shared mailbox's Contacts folder. You may need to import the PST again and specifically select the Contacts folder.
  • Shared mailbox size limit reached: Shared mailboxes have a 50 GB limit. If your IMAP mailbox exceeds this, you'll need to archive older emails or use an online archive. You can enable an archive mailbox in the Exchange admin center.
  • Outlook crashes during import: Large PSTs can cause Outlook to crash. Try splitting the PST into smaller chunks (export by folder) or close other applications to free memory. If it persists, use the Microsoft Support and Recovery Assistant.

Frequently Asked Questions

Can I migrate IMAP to a shared mailbox without Outlook?

Yes, you can use PowerShell with the Exchange Online module or third-party tools like BitTitan. However, Outlook is the simplest method for most users and requires no additional costs.

Will the shared mailbox appear automatically for other users?

No, each user must add the shared mailbox to their Outlook profile manually (via Account Settings > More Settings > Advanced), or you can use PowerShell to auto-map it. If you add them as members in the admin center, it may auto-map after a few hours.

Does the IMAP account need to remain active after migration?

No, but it's recommended to keep it active for a week or two until you're sure everything is migrated. You can then delete it or stop it from checking email.

What happens to email rules and filters from the IMAP account?

Rules and filters are not exported to PST. You'll need to recreate them manually in the shared mailbox using Outlook's Rules feature.

Can I migrate directly from IMAP to a shared mailbox without exporting to PST?

Yes, you can use a third-party migration tool that connects directly to both servers. This is often faster for large mailboxes but requires a subscription.

Is there a cost for a shared mailbox?

Shared mailboxes are free, but they require an Exchange Online license for at least one user in the organization. You don't need a license for each shared mailbox.