Share via

Force resync a user in a migration batch

Anonymous
2022-11-18T10:24:15+00:00

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?

Microsoft 365 and Office | Install, redeem, activate | For education | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-11-18T10:31:59+00:00

    To provide more info...

    When I use the Stop-MigrationUser... Start-MigrationUser, I can see that the mailbox is changed to "Starting" status, but after a few seconds then it is in "Synced" state again, but without making any real sync (I can not see any connection in my imap server).

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments