How to Fix Microsoft 365 Emails Going to Gmail and Yahoo Spam Folders
Question details
Users are experiencing issues where emails sent from their Microsoft 365 organization domain are landing in Gmail and Yahoo spam folders, despite having proper domain authentication.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Sending outgoing business or organizational emails to external email providers like Gmail and Yahoo.
- Observed behavior
- Emails are being filtered into the recipients' spam or junk folders even though SPF, DKIM, and DMARC checks are passing successfully.
Before troubleshooting, ensure you have global admin or Exchange admin permissions in Microsoft 365 to access the message trace tools and DNS configurations.
Verify Authentication Records and Run a Message Trace
Confirm that your email authentication records are correctly set up and analyze the message path to identify potential filtering triggers.
Even if you believe your domain authentication is correct, minor syntax errors or propagation delays can cause failures at the recipient's end. Running a message trace helps pinpoint exactly how the recipient server evaluated your email.
Sign in to the Microsoft 365 admin center using your administrator credentials.
Navigate to 'Admin centers' and select 'Exchange'. Go to 'Mail flow' and click on 'Message trace'.
Start a new trace by specifying the sender's email address and the external Gmail or Yahoo recipient addresses. Set the time range to cover the recent spam incidents.
Analyze the trace results. Look for specific SMTP error codes, drop events, or bounce messages returned by Gmail or Yahoo that indicate why the message was flagged.

Contact Microsoft 365 Support for Reputation Analysis
If all DNS records pass and emails are still marked as spam, Microsoft backend support needs to investigate IP reputation and routing data.
Looking for a Lightweight Office Suite? Try WPS Office
While you troubleshoot your Microsoft 365 email delivery issues, consider WPS Office for your local document creation needs. It is a highly compatible, lightweight, and free alternative to Microsoft Office applications.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button.
- 2. Install the Software: Run the downloaded installer file and follow the simple on-screen instructions to set up the suite.
- 3. Start Creating: Open WPS Office and instantly start working on your documents, spreadsheets, and presentations.

Frequently Asked Questions
Why do my Microsoft 365 emails go to spam if SPF, DKIM, and DMARC pass?
Authentication is only one part of email deliverability. Recipient providers like Gmail and Yahoo also use complex filtering algorithms that evaluate sender reputation, domain age, user engagement rates, and message content (such as spammy keywords or broken links).
How can I check my domain's sender reputation with external providers?
You can register your domain with external reputation tools like Google Postmaster Tools for Gmail or Yahoo's Sender Hub. These services allow you to monitor your domain's reputation, spam complaint rates, and delivery errors specifically for their platforms.
Will warming up a new Microsoft 365 domain prevent emails from going to spam?
Yes. If your domain is newly registered, sending a large volume of emails immediately is highly likely to trigger spam filters. Gradually increasing your daily sending volume (domain warmup) helps establish a positive sender reputation with major email providers.
What specific details should I look for in the Microsoft 365 Message trace?
In the Message trace results, pay close attention to the 'Status' column and expand the message events. Look for specific SMTP error codes or bounce messages returned by the destination servers, which often explain why the message was delayed, rejected, or filtered into spam.




