Microsoft 365 → Google Workspace Migration Guide
Migrate Microsoft 365 mail, calendars, contacts and OneDrive into Google Workspace Gmail, Calendar, Contacts and Drive. (Exchange Online-only tenants follow the same steps, without OneDrive.) This route is common in acquisitions where the acquiring organisation is Google-first, or in cost-driven switches from M365 to Google Workspace.
Prerequisites
Source — Microsoft 365
- Global Administrator role
- An Azure AD app registration with the permissions listed in Step 1
Destination — Google Workspace
- Super Administrator role
- Google Workspace Business Starter or higher
- All destination Gmail accounts must be created before migration starts
- A Google Cloud project with the required APIs enabled (see Step 2)
Step 1: Register an App in the Source Tenant (Microsoft 365)
- Sign in to portal.azure.com as a Global Administrator.
- Go to Azure Active Directory → App registrations → New registration.
- Name it
Aatrex M365 Sourceand click Register. - Copy the Application (client) ID and Directory (tenant) ID.
- Go to Certificates & secrets → New client secret, copy the value.
- Go to API permissions → Add a permission → Microsoft Graph → Application permissions and add:
| Permission | Workload | Purpose |
|---|---|---|
Calendars.Read | Calendar | Read every calendar and its events |
Contacts.Read | Contacts | Read contacts and contact folders |
Files.Read.All | OneDrive | Read source OneDrive files |
User.Read.All | All | Enumerate and resolve user accounts |
Also add the Graph mailbox permissions MailboxItem.Export.All, MailboxItem.Read.All and MailboxFolder.Read.All: mail is read through the Microsoft Graph mailbox API.
- Click Grant admin consent for [tenant] and confirm all permissions show Granted.
Step 2: Set Up Google Workspace Destination
2a. Create a Google Cloud Project
- Sign in to console.cloud.google.com as a Super Administrator.
- Click Select a project → New Project, name it
Aatrex M365 Migration, and click Create. - Go to APIs & Services → Library and enable:
- Gmail API
- Google Calendar API
- Google Drive API
- People API (for Contacts)
- Admin SDK API
2b. Create a Service Account
- Go to APIs & Services → Credentials → Create Credentials → Service account.
- Name it
aatrex-m365-migrationand click Create and Continue → Done. - Click the service account → Keys → Add Key → Create new key → JSON. Save the JSON file.
- Copy the Unique ID (numeric string) from the service account detail page.
2c. Grant Domain-Wide Delegation
- In the Google Admin console (admin.google.com), go to Security → Access and data control → API controls → Manage domain-wide delegation → Add new.
- Enter:
- Client ID: the service account Unique ID
- OAuth Scopes (comma-separated):
https://mail.google.com/, https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/contacts, https://www.googleapis.com/auth/drive, https://www.googleapis.com/auth/admin.directory.user.readonly
- Click Authorise.
Step 3: Create a Migration Project
- In Aatrex, click Projects → Create Project.
- Select Microsoft 365 → Google Workspace as the migration type.
- Source credentials: enter the M365 App ID, Tenant ID, and Client Secret from Step 1.
- Destination credentials: upload the Google service account JSON key file, then enter the Admin email — a Super Administrator UPN. The service account impersonates this user to write data into destination accounts.
- Click Test Connection → Save Project.
Step 4: Discover and Map Users
- Click Scan → Discover Users. Aatrex queries the source M365 tenant and lists all licensed mailboxes with display name and storage size.
- Click Auto Map to match source users to destination Gmail accounts by username (the portion before
@). - For users where usernames differ between M365 and Google, use manual mapping or a mapping CSV. See the User Mapping & CSV Import guide for details.
Step 5: Select Workloads
In the migration panel, choose which workloads to migrate:
| Workload | What is migrated |
|---|---|
| Mailbox (one run) | Mail in every folder with read/flagged state and original dates; every calendar the user owns, with recurring series in their time zone, attendees, organizer and reminders; contacts, with contact folders and categories as labels |
| OneDrive → Drive (Drives tab) | OneDrive files and folders, sharing and (optionally) earlier versions; files arrive as uploaded, not converted to Google Docs |
Calendar and contacts can be switched off per project or per user. SharePoint sites aren't migrated on this route.
Step 6: Start Migration
- Select users and click Migrate.
- Run the first pass several days before cutover. Run it again as often as you like until cutover: each run copies only what's new or changed, and updates earlier copies instead of duplicating them.
- Click Start Migration and monitor progress in the Activity panel.
Step 7: Cutover
Email (MX)
Update your domain's MX record to Google:
Priority 1: ASPMX.L.GOOGLE.COM
Priority 5: ALT1.ASPMX.L.GOOGLE.COM
Priority 5: ALT2.ASPMX.L.GOOGLE.COM
Add Google SPF: v=spf1 include:_spf.google.com ~all
Enable DKIM in the Google Admin console: Apps → Google Workspace → Gmail → Authenticate email → Generate new record → Start authentication.
Client Configuration
- Outlook desktop: remove the Exchange/M365 account from Outlook and add the Google Workspace account via IMAP or the Google Workspace Sync for Microsoft Outlook (GWSMO) tool.
- Mobile (iOS/Android): remove the M365 account from Mail/Outlook app and add the Gmail account.
- Calendar: Outlook calendar events migrated by Aatrex will appear in Google Calendar automatically after migration. Remind users to check recurring meeting series.
What Is and Is Not Migrated
| Item | Migrated |
|---|---|
| Email messages (all folders) | ✅ Yes |
| Read/unread status | ✅ Yes |
| Calendar events and recurring series | ✅ Yes — no invitations are sent |
| Changes to a single occurrence of a recurring meeting | ❌ No — the series moves |
| Event attachments, contact photos, calendar sharing | ❌ No |
| Contacts (all folders) | ✅ Yes |
| OneDrive files | ✅ Yes (files arrive as uploaded) |
| Mail rules and signatures | ❌ No — must be recreated in Gmail |
| Shared mailboxes | ❌ Not supported in this route — use Exchange → Google Workspace workflow |
| Distribution lists | ❌ Not supported — recreate as Google Groups |
| Teams data | ❌ Use the Teams → Google Chat migration workflow |
| Public folders | ❌ Not supported via this route |
Common Issues
Source app returns 403 — Forbidden on mail read
A Graph mailbox permission (MailboxItem.Export.All, MailboxItem.Read.All or MailboxFolder.Read.All) is missing or admin consent wasn't granted. Add it (Step 1), click Grant admin consent for [tenant], and confirm it shows Granted.
Google API quota exceeded (429) Google Workspace enforces daily Gmail write quotas per service account. For organisations over 200 users, request a quota increase from Google Support before starting migration. Aatrex backs off automatically and retries when quota resets.
OneDrive files appear with wrong owner in Drive Aatrex maps files to the destination user's Drive using the user mapping table. If a file appears under the wrong owner, check that the user mapping for that user is correct in the project.
Calendar events show incorrect time zones Exchange Online stores time zones as Windows zone names; Aatrex converts them to the IANA zones Google Calendar uses, so a recurring 9:00 meeting stays at 9:00 across daylight-saving changes. A zone name Aatrex doesn't recognise (rare, from very old Outlook data) is imported in UTC: the time is correct, but the series won't follow daylight saving.