Fix Cannot Receive Emails from Gmail Senders in Microsoft 365
Question details
A user is unable to receive incoming emails from Gmail accounts in Microsoft 365 after a domain migration.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- An organization is migrating its custom domain from Google Workspace to Microsoft 365, and the old Google accounts have been deleted.
- Observed behavior
- The user successfully receives messages from Microsoft 365 accounts and other external domains, but emails sent from Gmail accounts fail to deliver.
Request that the Gmail senders check their inbox for a Non-Delivery Report (NDR) or bounce-back message, as the specific error details are crucial for diagnosing exact routing or DNS failures.
Verify and Update Domain DNS and MX Records
Ensure your domain's mail exchange (MX) and SPF records point exclusively to Microsoft 365 and that old Google routing rules are removed.
When migrating from Google Workspace to Microsoft 365, residual DNS records can cause Gmail's servers to attempt internal delivery instead of routing to Microsoft 365.
Log in to the DNS management portal of your domain registrar or DNS hosting provider.
Locate the MX (Mail Exchange) records for your domain and delete any obsolete records pointing to Google, such as ASPMX.L.GOOGLE.COM.
Add or verify your Microsoft 365 MX record, which is typically formatted as yourdomain-com.mail.protection.outlook.com with a priority of 0.
Ensure your TXT record for SPF includes v=spf1 include:spf.protection.outlook.com -all and remove any old Google SPF entries.

Check Exchange Mail Flow Rules and Connectors
Investigate if leftover migration connectors or mail flow rules in Microsoft 365 are misdirecting incoming Gmail messages.
Run a Message Trace in Microsoft 365
Use the message trace tool to determine if the Gmail messages are reaching your Microsoft 365 tenant but being quarantined or filtered.
Enhance Your Productivity with WPS Office
While troubleshooting your Microsoft 365 email routing, ensure your document workflow remains uninterrupted. WPS Office is a lightweight, fully compatible, and free alternative to Microsoft Office that allows you to seamlessly open, edit, and share Word, Excel, and PowerPoint files.
- 1. Download the Installer: Visit the official WPS website to download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the suite on your device.
- 3. Open Existing Documents: Directly open your existing Microsoft Word, Excel, and PowerPoint files and resume your work without any formatting loss.

Frequently Asked Questions
Why are only Gmail emails failing to reach my Microsoft 365 inbox?
This commonly happens after a Google Workspace migration if the domain's MX records still prioritize Google's servers, or if Google's internal systems still consider the domain as active within their network and attempt internal delivery.
Where can the sender find the bounce-back error code (NDR)?
When an email fails to deliver, the sender receives an automated email from the Mail Delivery Subsystem. This email contains specific error codes and diagnostics explaining why the message was rejected or timed out.
How long does it take for MX record updates to take effect?
Changes to DNS and MX records can take anywhere from 1 to 48 hours to fully propagate globally. During this transition period, emails might be routed inconsistently.




