GmailMicrosoft 365

Migrate Google Workspace to Microsoft 365

Google Workspace to Microsoft 365 is the most common corporate move and the most demanding one. Microsoft disabled basic authentication for Exchange Online, so a plain username and password no longer authenticates on the destination — OAuth 2.0 is mandatory.

FROM
IMAP server
imap.gmail.com
Port
993 · SSL/TLS
Username
full address
Password
app password
TO
IMAP server
outlook.office365.com
Port
993 · SSL/TLS
Username
full address
Password
mailbox password

Move Gmail → Microsoft 365

What breaks on this particular pair

FAQ

Common questions

Can I migrate 40 mailboxes at once?

Yes — batch mode takes a CSV list of mailboxes, runs each as its own job and produces one consolidated report across all users.

How do I handle the MX cutover?

Move the bulk of the mail before switching MX, then run a second pass afterwards — it copies only what is new, with no duplicates.

Do calendars and contacts move?

No. IMAP carries messages and folders only. Export calendars and contacts from Google as ICS and vCard, then import them into Microsoft 365 separately.

Related routes

Other directions

Find out how big your mailbox is. It costs nothing.

Connect two servers, look at the size and decide. Or take the client and keep everything on your side.

Code on GitHub · built on imapsync · no sign-up