Troubleshoot Microsoft Graph and Authenticated SMTP Email Sending Issues
Question details
The user is experiencing blocked email sending via Microsoft Graph due to spam protection triggers after repeated tests, despite Authenticated SMTP still functioning.

- Product
- Microsoft Graph API
- Device & OS
- not provided
- Scenario
- Testing or running an application that sends outbound emails via the Microsoft Graph API.
- Observed behavior
- Email sending via Microsoft Graph suddenly stops working and triggers spam protection, while standard Authenticated SMTP continues to work normally.
Ensure you have administrative access to the Azure portal and the Exchange admin center to review application permissions and outbound spam policies.
Review Azure App Registration and Exchange Sending Policies
Check and adjust your application permissions, admin consent, and Exchange Online outbound spam policies to lift restrictions.
When testing applications that send emails via Microsoft Graph, rapid or repetitive testing often triggers automated spam filters on the tenant level. Reviewing the app's permissions and the tenant's outbound policies is the first step to resolving the block.
Log in to the Azure portal, navigate to 'App registrations', select your application, and check 'API permissions' to verify that Mail.Send permissions are correctly configured.
Ensure that tenant-wide admin consent has been properly granted for the requested Microsoft Graph mail permissions.
Open the Microsoft 365 Defender portal, navigate to 'Email & collaboration' > 'Policies & rules' > 'Threat policies'.
Review the 'Outbound spam policies' and check the 'Restricted users' page to ensure the testing accounts haven't been temporarily banned from sending emails.

Engage Microsoft Graph Support for Persistent Blocks
If permissions are correct and the block persists, you need Microsoft engineers to investigate the tenant restriction on the backend.
Looking for a Hassle-Free Office Suite? Try WPS Office
While troubleshooting complex Microsoft ecosystem restrictions and backend API sending limits can be frustrating, your daily document management shouldn't be. WPS Office offers a lightweight, highly compatible, and free alternative to Microsoft Office for all your word processing, spreadsheet, and presentation needs.

Frequently Asked Questions
Why does Microsoft Graph block emails while Authenticated SMTP still works?
Microsoft Graph uses different underlying sending infrastructure and stricter automated spam evaluation mechanisms for API-driven emails compared to traditional Authenticated SMTP, making it more prone to temporary blocks during rapid or repetitive testing.
How can I test Microsoft Graph email sending without triggering spam filters?
Avoid sending identical test emails repeatedly in a short timeframe, ensure your domain has proper SPF, DKIM, and DMARC records configured, and ideally use dedicated Microsoft 365 developer sandbox tenants rather than production environments for aggressive load testing.
Where do I check if my Microsoft 365 account is blocked from sending emails?
You can check the Restricted users page in the Microsoft 365 Defender portal (located under Email & collaboration > Review > Restricted users) to see if the sending account has been flagged and temporarily blocked for outbound spam activity.




