Email Migration

Fix Office 365 IMAP Migration UID Out of Range Errors

Huda QurayshiHuda Qurayshi Nov 25, 2026 868 views

Question details

Resolve a UID out of range error affecting one mailbox in an Office 365 IMAP migration batch.

Fix Office 365 IMAP Migration UID Out of Range Errors
Product
Microsoft 365 Exchange Online IMAP migration
Device & OS
not provided
Scenario
An administrator is migrating mailboxes to Office 365 using an IMAP migration batch.
Observed behavior
One mailbox fails with a UID out of range error, while other mailboxes migrate successfully with the same settings.
Before you start

Confirm which mailbox reports the error and check its migration status in the Exchange admin center. Make sure you have migration administrator access and, if using Outlook as an alternative, access to the source messages.

Solution 1Recommended

Retry synchronization for the affected mailbox

Use this first when only one mailbox fails; synchronization may succeed after one or more retries.

1
Inspect the migration user

In the Exchange admin center, open Migration, select the affected batch, and view its migration users and error details.

2
Restart synchronization

Use the available retry or resume control for the affected user. If a user-level control is unavailable, check the batch controls and restart the batch as appropriate; this can affect other users in the batch.

3
Monitor the status

Refresh the migration user details and check whether the mailbox reaches a synchronized status. Retry synchronization again if it fails with the same error.

4
Review troubleshooting guidance

If the error persists, search Microsoft Learn for IMAP migration troubleshooting and review the migration report for the affected mailbox.

Retry synchronization for the affected mailbox
Free Microsoft Office alternative

Work with Office files in WPS Office after your migration

WPS Office is a free, lightweight alternative for working with familiar Office documents, spreadsheets, and presentations. Its familiar interface and format support make it easy to move everyday file work from Microsoft Office. It does not repair Exchange migrations or import mailbox messages.

Open and edit Microsoft Word DOCX, Excel XLSX, and PowerPoint PPTX filesWork with Office document attachments saved from your migrated mailboxUse a familiar interface for everyday document editingMove existing Office files into a lightweight, free productivity suite
microsoft office alternative - wps office

Frequently Asked Questions

Why did only one mailbox fail when the others migrated?

The error is associated with the affected mailbox's migration session, but the available information does not establish its exact cause. Open the batch in the Exchange admin center and inspect that user's migration details and report.

Should I retry synchronization more than once?

Yes. The reported experience is that restarting synchronization sometimes works after multiple attempts. Monitor the migration user status after each retry and review Microsoft Learn troubleshooting guidance if the error continues.

Can I import the messages without fixing the migration batch?

Yes, if you have the messages in a supported Outlook data file. In classic Outlook for Windows, use File > Open & Export > Import/Export and import the PST into the Microsoft 365 mailbox.

How can I confirm that imported messages reached Microsoft 365?

Allow Outlook to finish uploading, then sign in to Outlook on the web and check the destination folders and messages. Messages visible only in a local data file have not necessarily synchronized to the mailbox.