# 5.7.501 Bounce: Access Denied, Spam Abuse Detected

URL: https://email-validation.org/bounce-codes/5-7-501/
Updated: 2026-11-25

> Documentation index: https://email-validation.org/llms.txt

**Short answer:** Microsoft 365 banned the account that sent your message, because it detected spam from that account. It is permanent: retrying from the same account fails until the ban is lifted. Secure the account and reset its password, then ask Microsoft Support to restore its sending.

**At a glance**

- **Type:** permanent failure (class 5, RFC 3463 §2). The sending server does not retry it and reports the failure to the sender: a bounce message, or an error in the mail app.
- **Basic code:** varies; the enhanced code is the part that identifies the problem.
- **Enhanced code 5.7.501:** not in the IANA registry; the group is security or policy status (RFC 3463 §3.8).
- **Who uses it:** Microsoft (Exchange Online): access denied, the sending account was banned for detected spam activity.
- **Also on this page:** 5.7.502, 5.7.503.

A 5.7.501 bounce means Microsoft 365 has stopped the account you send from. It saw spam going out from that account and banned it from sending.

## What it means

These are Microsoft's codes, not ones from the IANA registry. Microsoft's [Exchange Online NDR reference](https://learn.microsoft.com/en-us/troubleshoot/exchange/email-delivery/ndr/non-delivery-reports-in-exchange-online) gives the same cause for three of them: the sending account was banned because of detected spam activity.

- **5.7.501:** the text reads `Access denied, spam abuse detected`.
- **5.7.502 and 5.7.503:** the text reads `Access denied, banned sender`.

The ban is on one account. A ban on your whole domain has its own code, [5.7.800](https://email-validation.org/bounce-codes/5-7-800/). So does a ban on a sending IP address, [5.7.606](https://email-validation.org/bounce-codes/5-7-606/).

## Common causes

- Someone else learned the password and used the account to send spam.
- The user answered a phishing message and gave away their sign-in details.
- An app, script or device signed in with the account and sent mail in bulk.
- The account sent a large mailing to people who never asked for it.

## How to fix it

Microsoft's steps are short: make sure the account's problems are resolved, reset its credentials, and contact Microsoft Support through your regular channel to restore sending.

If you are the user:
1. Forward the full bounce to your email admin.
2. Change your password from a device you trust.

If you are the admin:
1. Check the account for signs of misuse. Look for sign-ins you do not recognize, mail in Sent Items the user did not write, and new rules that forward or delete mail.
2. Reset the password. Turn on multifactor sign-in if the account does not have it.
3. Stop any app or script that sends through the account until you know what it sends.
4. Contact Microsoft Support and ask for the account's sending to be restored. That is the route Microsoft names for these codes.
5. Once the account can send again, keep an eye on what it sends.

## What to do with the address

Nothing. The recipient address is not the problem. Your account is. Resend the message once the account works again. If a mailing to a bought list caused the ban, stop using that list. Clean only lists people opted into ([email list cleaning](https://email-validation.org/guides/email-list-cleaning/)).

## Related codes

- [5.1.90](https://email-validation.org/bounce-codes/5-1-90/): You reached your daily recipient limit (Microsoft 365)
- [5.7.800](https://email-validation.org/bounce-codes/5-7-800/): Your sending domain was banned for spam (Microsoft 365)
- [5.7.606](https://email-validation.org/bounce-codes/5-7-606/): Banned sending IP (Microsoft)

See [every bounce code](https://email-validation.org/bounce-codes/) in the dictionary.

The address on your list is not what failed here. For the bounces your list does cause, [clean the list before you send](https://email-validation.org/bulk-email-verification/).

_How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text._
