Hi,
We are migrating our users from an on-premise IMAP server (dovecot) to M365.
We have deployed a PS script that creates an IMAP migration batch and then monitors the progress for the mailboxes. When a mailbox is synced, it moves it from our server to M365 (the scripts configures our on-premise mail servers to route it through M365) and the scripts tries to force a final resync for the mailbox (to copy messages delivered since the synchronisation until now).
To force this final resync I have tried to do a
Set-MigrationUser -Identity <mailbox> -SyncNow
and also a:
Stop-MigrationUser -Identity <mailbox>
Start-MigrationUser -Identity <mailbox
the problem is that I have observed that sometimes this does not force any resync and I have to wait for a day to get this final resync done (although it normally resync the mailbox after a few minutes, but not always).
Is there any other way to manually force a mailbox sync?