Prevent Microsoft 365 Service Account Emails From Being Flagged as Spam
Question details
The user needs to keep legitimate automated messages from a Microsoft 365 service account from being classified as spam.

- Product
- Microsoft 365 and Exchange Online
- Device & OS
- not provided
- Scenario
- A service account sends hundreds of password-reset or notification messages to users.
- Observed behavior
- The account's automated sending pattern may trigger outbound spam controls or recipient limits, affecting message delivery.
Identify the service account, sending application, approximate message volume, and any delivery errors. Sign in with an account that has permission to review Exchange Online and Microsoft Defender policies.
Review Sending Activity and Outbound Spam Controls
Use this approach to identify whether sending patterns, limits, or security policies are affecting the account.
In the Exchange admin center, open Mail flow > Message trace. Search for messages sent by the service account and review their status and any delivery errors.
Compare the application's sending logs with Microsoft 365 recipient and sending limits. Check for bursts, unusually large recipient lists, and unexpected messages; adjust the application's queue or sending schedule where appropriate.
In the Microsoft Defender portal, go to Email & collaboration > Policies & rules > Threat policies > Anti-spam. Open the applicable outbound anti-spam policy and review its recipient limits and actions.
In the Microsoft Defender portal, open Email & collaboration > Review > Restricted entities and check whether the account is listed. Investigate and address any signs of compromise before following the portal's steps to unblock it.

Check Email Authentication and Choose a Transactional Sending Service
Use this approach when a regular Microsoft 365 mailbox is not suitable for the application's automated message volume.
Use WPS Office for Service Account Documentation
WPS Office is a free, lightweight Office alternative with a familiar interface for documenting sending policies and reviewing message-volume reports. Its Microsoft Office format compatibility makes it easy to move existing documents and spreadsheets. WPS Office does not change Microsoft 365 spam policies or fix email delivery.

Frequently Asked Questions
How can I tell why an automated message was not delivered?
In the Exchange admin center, go to Mail flow > Message trace and search for the service account's message. Review the status and delivery details for errors or policy actions.
Where do I check Microsoft 365 outbound spam settings?
In the Microsoft Defender portal, go to Email & collaboration > Policies & rules > Threat policies > Anti-spam, then open the applicable outbound anti-spam policy.
Should I unblock a restricted service account immediately?
First check the account and application logs for unauthorized activity and address any compromise. Then use Email & collaboration > Review > Restricted entities in the Microsoft Defender portal to review and unblock the account if appropriate.
Is a regular Microsoft 365 mailbox suitable for high-volume notifications?
A regular mailbox is subject to Microsoft 365 sending limits and outbound spam controls. For substantial automated traffic, evaluate an approved transactional email service designed for notifications and password resets.




