Skip to main content

Mailbox providers

Why Is Microsoft 365 Blocking My Outbound Email? (Restricted Senders)

By Tom Sather•Updated October 11, 2026•8 min read

Microsoft 365 blocks a user from sending when it thinks the account sent spam or hit a sending limit. An admin secures the account and unblocks it in Defender.

On this page

Microsoft 365 blocks a user's outbound email when Exchange Online Protection decides the account sent too much spam or went over a sending limit. The user becomes a "restricted entity": they can still receive mail, but everything they send bounces with 550 5.1.8 Access denied, bad outbound sender. Most of the time the account was compromised. An admin has to secure it and then unblock it in the Microsoft Defender portal or with PowerShell.

The bounce the user sees looks like this (wording from Microsoft's documentation):

Your message couldn't be delivered because you weren't recognized as a
valid sender. The most common reason for this is that your email address
is suspected of sending spam and it's no longer allowed to send email.
Contact your email admin for assistance.

Remote Server returned '550 5.1.8 Access denied, bad outbound sender'

What "restricted sender" means

Microsoft scans every message that leaves a Microsoft 365 tenant. It does this to protect the shared reputation of its outbound IPs, because spam from one customer hurts delivery for every other customer on the service. Three things happen as a result:

  • Messages that get a spam verdict are relayed out through a separate, lower-reputation set of IPs Microsoft calls the high-risk delivery pool.
  • An account that sends too much spam gets blocked. Microsoft doesn't publish the threshold, on purpose, so spammers can't stay just under it.
  • An account that sends too many messages gets blocked whether or not they look like spam, which is how Microsoft catches new spam runs the filter hasn't learned yet.

A blocked user shows up on the Restricted entities page in Defender. (A connector can be restricted too, which is a separate process covered at the end.) The user can't fix this themselves. The bounce is telling them to go find an admin.

Is it this, or something else?

Several Microsoft 365 bounces look similar. The code tells you which problem you have.

CodeWhat it meansWho fixes it
550 5.1.8 Access denied, bad outbound senderThis user is restricted for suspected spamYour admin, in Defender. See 550 5.1.8
550 5.1.90 ... reached your daily limit for message recipientsThis user went over the recipient rate limitWait, then fix the sending pattern
5.7.705 / 5.7.708Most of the tenant's traffic looks suspicious, so the whole tenant is restrictedYour admin, through Microsoft support. See 550 5.7.708
5.7.750The tenant is sending from domains it hasn't added and verifiedAdd and verify the domains
550 5.7.236The tenant went over 100 external recipients a day from its onmicrosoft.com domainSend from a custom domain
5.7.606 to 5.7.649, 5.7.511Inbound: a Microsoft 365 recipient is blocking your IPSee how to get delisted by Microsoft

The last row trips people up. If you're on any mail platform and your messages to a Microsoft 365 customer bounce, that's an inbound block, and this page doesn't apply.

Common causes

In the order I'd check them:

1. A compromised account. This is the usual one. Someone phished the password, signed in, and used the mailbox to send spam or phishing, often to the user's own contacts. Look for sign-ins from unfamiliar locations, new inbox rules that forward or delete mail, and sent items the user doesn't recognize. Microsoft's guidance is to treat a restriction as a possible compromise until you've ruled it out.

2. Someone used Outlook as a mass-mailing tool. A newsletter sent from a normal mailbox, a big Bcc list, or a mail merge to a few thousand customers. Microsoft 365 isn't built for bulk email, and its documentation says so plainly: bulk sending is best effort only. The default limits are 10,000 recipients a day and 30 messages a minute per mailbox, and a message can have up to 1,000 recipients (admins can set it lower).

3. Your outbound spam policy set a lower limit. Admins can set per-user external and internal limits per hour and a daily limit in the outbound spam policy (values from 0 to 10,000, where 0 means "use the service defaults"). If someone tightened these, a normal busy user can hit them.

4. An application or device sending through a user's mailbox. A scanner, a CRM, a web form or a script authenticating as a person and sending more than that person ever would. The volume counts against the user.

How to fix it

  1. Read the bounce. Confirm it's 5.1.8 (spam restriction) and not 5.1.90 (recipient limit) or a tenant-level code. The fix differs.

  2. Secure the account before you unblock it. Reset the password, enforce multifactor authentication, revoke active sessions, and check for new inbox rules, forwarding and app consents. Microsoft's unblock wizard links straight to the MFA and password steps for a reason. Unblocking a compromised account just lets the attacker resume.

  3. Find out what was sent. Run a message trace in the Exchange admin center for that sender over the last few days. Volume, recipients and subjects usually make it obvious whether this was an attacker or an overenthusiastic colleague.

  4. Unblock in Defender. Go to https://security.microsoft.com/restrictedentities (Email & collaboration, Review, Restricted entities), select the user, choose Unblock, and work through the flyout. You need Security Administrator or Organization Management rights.

  5. Or unblock with PowerShell. Connect to Exchange Online PowerShell and run:

    Get-BlockedSenderAddress
    Remove-BlockedSenderAddress -SenderAddress jane@example.com
    

    For a hosted mailbox, use the user principal name, which isn't always the same as the primary email address.

  6. Wait. Microsoft says the restriction is usually removed within an hour and shouldn't take more than 24 hours.

  7. Move bulk mail off user mailboxes. If the cause was a legitimate mass send, put it on a proper email platform, ideally from a subdomain like news.example.com, with its own SPF, DKIM and DMARC. Microsoft recommends exactly this.

⚠️

If the default outbound spam policy action is "restrict the user from sending mail until the following day", the block lifts on its own at the next UTC day. That doesn't mean the problem is gone. Investigate anyway.

How to confirm it's fixed

Check that the user no longer appears under Restricted entities (or that Get-BlockedSenderAddress returns nothing for them). Then have the user send a test message to an outside address, such as a Gmail account you control, and confirm it arrives. Run the received headers through the header analyzer to make sure SPF, DKIM and DMARC pass for your domain, since a recovered account is a good moment to check authentication with the email checker too.

How to keep it from coming back

  • Require MFA for every account, including shared and service mailboxes that people forget about.
  • Check who gets the alert. The default alert policy "User restricted from sending email" goes to the TenantAdmins group. If nobody reads that inbox, the first person to notice will be the user. "Email sending limit exceeded" and "Suspicious email sending patterns detected" are worth routing to someone too.
  • Keep bulk mail off Microsoft 365. Newsletters and large customer notices belong on a platform built for them, with unsubscribe handling and bounce processing.
  • Give applications their own path. Devices and apps that send mail should use a connector or a dedicated sending service, not a person's credentials.
  • Know your tenant limit. Microsoft also applies a tenant-wide daily limit on external recipients (TERRL) based on how many licenses you have. The Tenant Outbound External Recipients report in the Exchange admin center (Reports, Mail flow) shows yours.

Restricted connectors

If the restricted entity is a connector rather than a user, typically an on-premises server or an application relaying through Microsoft 365, the cause is usually a compromised server or an open relay. Microsoft has a separate procedure for removing a blocked connector, and the same rule applies: fix the source first.

When to get help

If accounts keep getting restricted after you've secured them, or the whole tenant is hitting 5.7.705 or 5.7.708, it's worth having someone look at your mail flow and sending patterns before Microsoft's patience runs out.

FAQ

Can the restricted user still receive email?

Yes. A restriction only blocks sending. Incoming mail keeps arriving normally.

How long does it take to unblock a user in Microsoft 365?

Microsoft says the restriction is usually removed within an hour of an admin unblocking it, and it shouldn't take longer than 24 hours.

Can I raise the limits so this doesn't happen?

You can raise outbound spam policy limits back to the service defaults, but you can't go above Microsoft's service limits, and the spam-based thresholds aren't adjustable or published. If you need more volume, use a bulk email platform.

Why did this happen if the user didn't send anything unusual?

Check for a compromise first: inbox rules, unfamiliar sign-ins and sent items the user doesn't recognize. If the account is clean, look for an app or device sending with that user's credentials.

Sources

Related guides

Still stuck?

Some deliverability problems take an experienced eye to untangle. Tell me what you're seeing and I'll tell you what I'd check first. The first 30-minute call is free.