What the Exchange Online 5.7.501 spam abuse detected and 5.7.502 and 5.7.503 banned sender NDRs mean, what Microsoft documents as the fix (secure the account, reset credentials, contact support) and how they differ from 5.1.8.
Home › Guides › Exchange Online 5.7.501 to 5.7.503
Last updated 17 November 2026
Microsoft's Exchange Online NDR reference lists three codes with the same cause:
| Code | Text | Description |
|---|---|---|
| 5.7.501 | Access denied, spam abuse detected | The sending account was banned because of detected spam activity. |
| 5.7.502 | Access denied, banned sender | The sending account was banned because of detected spam activity. |
| 5.7.503 | Access denied, banned sender | The sending account was banned because of detected spam activity. |
The documented fix is the same for all three: verify that the account issues are resolved and reset the account's credentials, then contact Microsoft Support through your regular channel to restore the account's ability to send mail. Unlike 5.1.8, Microsoft doesn't document a self-service unblock for these codes.
A ban for spam activity usually means someone else was sending from the account. Follow Microsoft's compromised-account steps (covered in detail in the 5.1.8 guide):
Revoke-MgUserSignInSession -UserId <UPN>.Get-Mailbox -Identity <Identity> | Format-List Forwarding*Address,DeliverTo* Get-InboxRule -Mailbox <Identity> -IncludeHidden | Format-List Name,Enabled,RedirectTo,Forward*,Identity
If the mailbox is also listed on Email & collaboration > Review > Restricted entities in the Defender portal (or in Get-BlockedSenderAddress), that is the 5.1.8 restriction, and the 5.1.8 steps remove it. Microsoft's reference doesn't say that removing it lifts a 5.7.50x ban.
Microsoft's reference says to contact support through your regular channel to restore sending. For most tenants that is a service request in the Microsoft 365 admin center: Support > New service request (or Help & support). Include:
Microsoft's support page notes that phone support may send a verification code to the registered contact in your admin center profile, so keep that profile current.
The same NDR reference uses similar wording for blocks at other levels. The fix depends on what was banned:
| Code | Text | What was blocked and the documented fix |
|---|---|---|
| 5.1.8 | Access denied, bad outbound sender | One account restricted for spam; secure it, then remove it from Restricted entities (5.1.8 guide). |
| 5.7.505 | Access denied, banned recipient | The recipient isn't valid; contact support if you think it's an error. |
| 5.7.511 | Access denied, banned sender | The sending IP was banned; email delist@microsoft.com with the full NDR code and IP address. |
| 5.7.606-649 | Access denied, banned sending IP [IP1.IP2.IP3.IP4] | The sending IP was banned; request removal in the delist portal. |
| 5.7.705, 5.7.708 | Access denied, tenant has exceeded threshold / traffic not accepted from this IP | The tenant's sending was blocked (5.7.708 guide). |
| 5.7.800 | Access denied, banned sender | The EHLO, P1 or P2 sender domain was banned for spam activity; contact Microsoft support. |
The delist portal and delist@microsoft.com are for banned IP addresses. Neither is documented as a way to restore a banned account.
Need SPF, DMARC and MX checks across a whole client list? Run the Bulk SPF / DMARC / MX Auditor on Apify ($2 per 1,000 domains).
Check your sending domain with the Email Deliverability Checker, SPF Record Checker, DKIM Checker and DMARC Record Checker, confirm the tenant with the M365 Tenant Lookup, look up an IP owner with the ASN IP Lookup and read the NDR in the Email Header Analyzer. Related guides: Exchange Online 550 5.1.8, Exchange Online 550 5.7.708, Exchange Online 5.2.2 and bulk sender requirements.
Microsoft's Exchange Online NDR reference says the sending account was banned because of detected spam activity. Verify the account issues are resolved, reset the credentials, and contact Microsoft Support through your regular channel to restore sending.
Microsoft documents both as Access denied, banned sender with the same description and the same fix. It doesn't document a difference between them.
Microsoft doesn't document a self-service unblock for these codes. Secure the account and reset its credentials, then contact Microsoft Support. If the account also appears on the Restricted entities page, that is the separate 5.1.8 restriction, which an admin can remove.
5.1.8 Access denied, bad outbound sender means the account was restricted for exceeding sending limits. It appears on the Restricted entities page and an admin can remove it after securing the account. For 5.7.501 to 5.7.503 Microsoft says the account was banned and support must restore sending.
No. The delist portal (5.7.606-649) and delist@microsoft.com (5.7.511) are for banned sending IP addresses. Microsoft's fix for an account banned with 5.7.501 to 5.7.503 is to secure it, reset the credentials and contact support.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.