I am migrating mailboxes from an on-premise IMAP server to Office 365. Most of the accounts are migrating fine, but I'm hitting the following error on a handful of accounts.
Error: MigrationMRSPermanentException: Error: Uid value is out
of range of allowed values. --> 0 Parameter name: lowBound
This sounds like an IMAP error to me, but it's not giving me much to go on. Zero results on Google for this specific error message.
For the migration I'm using PowerShell, i.e.:
New-MigrationBatch -BadItemLimit 99 -Name pilot -LargeItemLimit 99 `
-CSVData ([System.IO.File]::ReadAllBytes("migratelist.csv" )) -AutoStart `
-SourceEndpoint imap.example.org
with the CSV file containing the user list, e.g.
EmailAddress,UserName,Password
user@example.org,user*masteruser,masterpw
The IMAP server is Dovecot 2.2.33.2, with a Maildir back end, running on CentOS 7. Dovecot has a master user configured to access the needed email accounts. I have turned up debugging in Dovecot, and enabled rawlogs. So far I haven't been able to identify what's causing the error. Perhaps a corrupted message, but how to find it among thousands? Any thoughts? Thanks!