Purpose: Detailed step-by-step guide to migrate data (Mail, Calendar, Contacts) from Google Workspace to Microsoft 365 for ELV Hospitality enterprise systems using the default Exchange Online Migration tool (Manual Configuration method to ensure maximum stability).
đź“‹ PREREQUISITES
Global Admin account on Microsoft 365.
Super Admin account on Google Workspace and Google Cloud.
Notepad (or any text editor) to store important IDs.
CSV file containing the list of users to be migrated.
STEP 1: INITIALIZE THE MIGRATION BATCH IN MICROSOFT 365
- Log in to the Microsoft 365 Admin Center (
admin.microsoft.com). - In the left navigation menu, click Show all -> scroll down and select Exchange to open the Exchange Admin Center.
- In the left menu of Exchange, select Migration -> click Add migration batch.
Technical Note: Located under the Migration section, the Add migration batch button has a plus sign (+) on the top toolbar.
- The configuration panel will appear:
Give migration batch a unique name: Enter a name (e.g., Migration from GW to MS 365 Batch 1).
Select the mailbox migration path: Select Migration to Exchange Online.
Click Next.
- On the Select the migration type step, expand the dropdown menu and select Google Workspace (Gmail) migration. Click Next.
- On the Prerequisites step, you will see 2 options. You MUST select Manually configure your Google Workspace for migration.
Technical Note: The automated option frequently encounters errors (Failed), making the manual method the safest and most accurate solution.
- Skip the text instructions on the screen, scroll down to the bottom, and click Next.
- On the Set a migration endpoint step, select Create a new migration endpoint -> Next.
- Enter a name for the Endpoint (e.g., GW), keep the default parameters (Concurrent migrations: 20, Incremental syncs: 10) -> Next.
- On the Gmail configuration page:
- Email address: Enter the Google Workspace Super Admin email address.
- Import JSON: The system requires uploading a JSON key file..
👉 STOP HERE. Keep this tab open and switch to configuring Google Cloud in Step 2 to generate the JSON file.
STEP 2: CONFIGURE GOOGLE CLOUD PLATFORM & OBTAIN THE JSON FILE
- Open a new browser tab and access the Google Cloud Console:
console.cloud.google.com(Log in using your Google Workspace Super Admin account). Accept the Terms of Service if prompted. - In the top-left corner, click Select a project -> New Project.
- Name the Project (e.g., Migration from Google - ELV Hospitality) -> Click Create.
- Once created, click Select Project to choose the newly created project.
Technical Note: If a warning regarding project quota limits appears, you may ignore it as long as project creation slots remain available.
- Open the Navigation Menu (the 3 horizontal lines icon) -> IAM & Admin -> Service Accounts.
- Click the + CREATE SERVICE ACCOUNT button at the top.
- Service account name: Enter
Migration(orMigration-ELV Hospitality). - Click Create and continue, then click Done.
- Service account name: Enter
Technical Note: Pay attention to the Email column of the Service Account. Click directly on the newly created Service Account name to enter its details view.
- In the Details tab of the Service Account, copy the numerical string in the Unique ID (Client ID) field.
👉 Save this numerical ID in Notepad for use in Step 4.
Technical Note: The Unique ID is typically a long numerical string of approximately 21 digits.
- Swich to the Keys tab -> Add Key -> Create new key -> Select JSON format -> Create.
⚠️ Important Note: If Google displays the error "Service account key creation is disabled" (commonly encountered on tenants created from 2024 onwards), follow the troubleshooting steps below. If the JSON file downloads successfully, proceed directly to Step 3.
HOW TO FIX THE ERROR "SERVICE ACCOUNT KEY CREATION IS DISABLED"
If you encounter the above error, perform the following steps:
- Go to the left navigation menu -> IAM & Admin -> Manage Resources.
- Select your Migration from Google project -> In the right-hand panel, click Add principal.
- Enter your Google Admin email address. Under Assign roles, search for and select the role: Organization Policy Administrator -> Click Save.
- Go back to the left navigation menu -> IAM & Admin -> Organization Policies.
- In the Filter box, type:
iam.disableServiceAccountKeyCreation. - Click on that policy -> Click Manage policy (at the top).
- Change the option to Google-managed default (to disable the key creation restriction) -> Click Set policy.
- Wait 1–2 minutes. Return to the Service Accounts tab -> Select the
Migrationaccount again -> Keys tab -> Add key -> Create new key (JSON). The JSON key file will now download to your computer.
STEP 3: ENABLE APIS IN GOOGLE CLOUD
- While remaining in your Migration from Google project, open the Navigation menu -> APIs & Services ->Â Library.
- Search for and Enable each of the following 4 APIs one by one:
- Search for
Gmail API-> Click on the result -> Click Enable. - Search for
Google Calendar API-> Click on the result -> Click Enable. - Search for
Contacts API-> Click on the result -> Click Enable. - Search for
Google People API-> Click on the result -> Click Enable.
- Search for
Technical Note: Ensure all 4 APIs display an "Enabled" status (or show a Manage button) before proceeding to the next step. These APIs grant Exchange Online read-only access to migrate emails, schedules, and guest/staff contacts across the ELV Hospitality environment.
STEP 4: AUTHORIZE ACCESS (DOMAIN-WIDE DELEGATION) IN GOOGLE WORKSPACE
- Open a new browser tab and access the Google Workspace Admin Panel:
admin.google.com. - Open the left navigation menu ->Â Security -> Access and data control -> API controls.
- Scroll down to the Domain wide delegation section and click MANAGE DOMAIN WIDE DELEGATION.
- Click Add new.
Technical Note:
Client ID: Paste the numerical Unique ID you saved in Notepad during Step 2.
OAuth scopes (comma-delimited): Paste the exact authorization string below.
- Copy and paste the complete authorization string into the OAuth scopes field:
- Click Authorize to finish.
STEP 5: COMPLETE THE MIGRATION BATCH IN MICROSOFT 365
- Return to the Exchange Admin Center browser tab that you left open from Step 1 (the screen requesting the JSON import).
- Click Import JSON -> select the JSON key file downloaded in Step 2 -> click Next.
The system will display the confirmation message: "New endpoint GW created". - Click Next to proceed to the Add user mailboxes step.
- The system requires importing a CSV file. Create a CSV file using Excel or Notepad formatted strictly as follows:
EmailAddress,Username
nguyenvana@domain-google.com,nguyenvana@domain-m365.com
Note: EmailAddress represents the source mailbox on Google Workspace, and Username represents the target mailbox on Microsoft 365 (e.g., mapping hotel staff or administrative users across the ELV Hospitality organization)..
- Click Import CSV file, select the file you created -> click Next.
- On the Move configuration step:
If a domain mismatch warning appears, ignore it as long as your target domain is fully verified and added to Microsoft 365.
Select the data items to transfer: check the boxes for Mail, Calendar, Contacts, and Rules.
Click Next.
- On the Schedule page:
Send completion report to: Enter your administrator email address.
Select Automatically start the batch.
Select Automatically complete the migration batch.
Click Save.
Technical Note: The system will confirm "Batch created successfully". Click Done to close the wizard.
STEP 6: MONITOR PROGRESS AND SWITCH THE MX RECORD
- On the Migration batches screen, you will see your newly created batch displaying a status of Syncing.
- Click on the batch name, then look at the right-hand panel and select View details to track the number of migrated items and the Data consistency score. Once it reaches "Perfect", all data has been successfully transferred.
Technical Note: Synchronization time depends on total mailbox data size—it may take from a few hours up to several days for large datasets across hotel staff and management accounts. This process runs in the background without disrupting active email flow or guest services on Google Workspace.
- Final Phase: Once initial data sync completes (or reaches 99%), log in to your domain's DNS management portal (such as Cloudflare, GoDaddy, etc.) and update your MX Record from Google Workspace to point to Microsoft 365.
- From the moment the MX record updates, all incoming emails will route to Microsoft 365 while historical data remains intact. The migration process is complete!
Note: This guide is compiled from real-world deployments to guarantee a 100% success rate compared to the automated setup method.