How-To

Access denied, bad outbound sender: Outlook cold email fix

"Access denied, bad outbound sender" (550 5.1.8) means Microsoft 365 has put your mailbox on its restricted users list for spam-like sending. An admin must unblock it under Restricted entities in the Microsoft Defender portal. Then clean your list, lower your volume and resume gradually.

Sohail HussainSohail Hussain9 min read

Short answer

  • Microsoft has restricted that mailbox from sending. Only a tenant admin can lift it, by unblocking the user on the Restricted entities page in the Microsoft Defender portal.
  • Check the account for compromise first, then unblock and wait up to an hour.
  • Fix the cause (bad list, too much volume, weak account security) before you resume, or the block returns.

Your Outlook or Microsoft 365 mailbox is bouncing every message, including cold emails, with this text:

550 5.1.8 Access denied, bad outbound sender

Your sending tool probably paused the campaign. The recipients are not the problem. Microsoft has put your sending account on a restricted list.

Why it happens

A restricted entity is a user account or connector blocked from sending email because of signs of compromise, which typically includes exceeding message sending and receiving limits. The user can still receive email. Microsoft's own NDR text says the most common reason is that the address is suspected of sending spam.

For cold email, these are the usual triggers, most common first:

  • A burst of sends to bad addresses. A list with many invalid or dead mailboxes looks like a spammer working through scraped data.
  • Volume above what a normal mailbox should send. Microsoft treats exceeding sending limits as an indicator of compromise.
  • A compromised account. Users are added to the page for sending outbound spam, typically as a result of account compromise. Stolen credentials and malicious inbox rules produce the same block.
  • Complaints and weak authentication. Recipients marking mail as spam, or failing SPF, DKIM and DMARC, can add to the pressure. I can't tell you which factor tipped a specific block; Microsoft doesn't publish the thresholds.

Microsoft's support staff on its Q&A site also point out that for recurring bulk communication, Microsoft recommends a service designed for high-volume email rather than a normal Microsoft 365 mailbox. That matters if you plan to push one mailbox hard.

Confirm it is this block

Open one of the bounce messages and look for 550 5.1.8 and the words "bad outbound sender". Many bounces add a suffix such as AS(42004); people on Microsoft's community forum report this suffix with the same fix. If you have the raw bounce, the email header analyzer shows which server generated it.

A different enhanced status code, or a bounce from the recipient's server, is a different problem. Don't apply this fix to it.

Step-by-step fixes

Fix 1: Secure the account, then unblock it in Defender

You need an admin. If you are not an administrator, send the complete bounce to your Microsoft 365 administrator; there is no self-service removal from the Restricted entities list. On a single-user tenant you are probably the admin.

Removing accounts requires membership in the Organization Management or Security Administrator role groups, or a Microsoft Entra role such as Global Administrator or Security Administrator.

  1. Before unblocking, check for compromise. Review sign-in logs, Sent Items, inbox rules and forwarding rules for anything you did not create.
  2. Optionally run the Blocked Sender History diagnostic. It shows listing and delisting history and the sender's MFA status.
  3. Sign in to the Microsoft Defender portal and go to Email & collaboration > Review > Restricted entities.
  4. Find the mailbox (the Entity value is Mailbox), tick its check box and select Unblock.
  5. Read the Overview and Recommendations, then select Next.
  6. Use the Enable MFA and Reset the user's password links if you haven't done these steps already. Select Submit, then confirm with Yes.
  7. Wait. Restrictions are normally removed within one hour; the total wait should be no longer than 24 hours.
  8. Test with a new message, not by resending the failed one.

Microsoft's step list is in its guide to removing blocked users from the Restricted entities page.

Fix 2: Use PowerShell if the portal doesn't show it

The same page documents Exchange Online PowerShell. Replace the placeholder with the mailbox's UPN:

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

Get-BlockedSenderAddress lists restricted senders; the second command removes one. The UPN and primary SMTP address aren't required to match, so use the UPN shown in the list.

Fix 3: Check Authenticated SMTP if you connected over SMTP

This does not cause the 5.1.8 bounce. A disabled setting produces authentication failures when your tool connects. It is on this list because people often reconnect a mailbox right after an unblock and hit it.

  1. In the Microsoft 365 admin center, go to Users > Active users and open the mailbox.
  2. Open Mail > Manage email apps.
  3. Make sure Authenticated SMTP is ticked, then save.

If your tool connects by OAuth, skip this.

Fix 4: Remove what triggered the block

Unblocking alone does not change the behavior that got you restricted. Microsoft's community answers say the same: if the underlying cause isn't addressed, the account can be restricted again.

  • Clean the list. Remove addresses that already bounced and check the rest. See email list hygiene.
  • Drop old or scraped data. That is where spam traps and dead mailboxes sit.
  • Lower volume per mailbox. Spread sends over several mailboxes. See email throttling and rate limits.
  • Check authentication on the sending domain: SPF, DKIM and DMARC. The setup guide has the records.
  • Review the outbound spam policy in Defender if you are the admin. Users on Microsoft's Q&A site report that you can create a custom outbound policy to change how limits are enforced, but there is no permanent exemption from the Restricted entities page.

Do not skip the compromise check

Microsoft treats exceeding outbound limits as a sign the account may be hijacked. If you unblock without resetting the password and checking mailbox rules, an attacker can trigger the block again.

Cause, symptom and fix at a glance

CauseWhat you seeFix
Mailbox on Restricted entitiesEvery send bounces with 5.1.8Admin unblocks in Defender
Compromised accountUnknown rules, odd sign-ins, sent items you didn't writeReset password, enable MFA, remove rules, then unblock
Bad list or high bounce shareBlock appears soon after a campaign launchClean the list, cut volume, spread across mailboxes
Authenticated SMTP offConnection or login errors, not 5.1.8Enable it for the mailbox
Not on the list, same textMailbox absent from Restricted entitiesRun Blocked Sender History, then contact Microsoft support

Resume sending carefully

Restart small, with your best-checked contacts and plain copy that includes a working unsubscribe link. Watch bounces for the first few days. If the rate climbs, pause that mailbox yourself before Microsoft does it again. A second block is a worse position than the first, so treat the first one as a warning.

Test the right way

After the unblock, send one new message to an address you control. Resending a failed message from the queue can show the old failure and confuse the diagnosis.

Checklist before you resume

  • The mailbox no longer appears on Restricted entities, and at least an hour has passed.
  • Password reset, MFA on, no unknown inbox or forwarding rules.
  • Bounced and suspect addresses removed from the list.
  • SPF, DKIM and DMARC pass for the sending domain.
  • Daily volume per mailbox is lower than before, and sends are spread over several mailboxes.
  • Every email carries a working unsubscribe link.

If nothing works

First, check whether the mailbox is actually on the list. If it isn't, or it is still blocked more than 24 hours after a successful unblock, open a Microsoft 365 support request from the admin center. If no admin can sign in at all, Microsoft's Q&A answers point to its Data Protection support team for restoring admin access first.

Microsoft's 5.1.8 NDR article is the vendor reference to cite in your ticket. Include the full bounce with timestamp, the mailbox address, a screenshot showing it absent from or present on Restricted entities, the Blocked Sender History result and what you changed recently.

Subject: 550 5.1.8 bad outbound sender, mailbox restricted or still blocked

Hello,

The mailbox {user@example.com} in our tenant returns "550 5.1.8 Access denied, bad outbound sender" on all outbound mail.

- First failure: {date, time, time zone}
- Full NDR: attached
- Restricted entities: {listed / not listed}; unblocked on {date, time}
- Blocked Sender History result: attached
- Security checks done: password reset, MFA enabled, inbox and forwarding rules reviewed
- Recent changes: {new list, higher volume, new domain}

Please confirm whether a restriction is still applied to this mailbox and lift it if appropriate.

Thank you

Where Mailneo fits

Mailneo can't unblock the mailbox. That happens only in Microsoft's admin tools, and we can't change your DNS or override Microsoft's filtering. If your Outlook or Microsoft 365 account is connected under email accounts, we can help with pacing: minutes per lead, sending hours and days, and per-mailbox daily caps in rotation. Hard bounces and complaints also go onto your team's suppression list; see suppression list management. After a block like this, review that list for good addresses suppressed because of the sender rejection rather than a real bounce.

Common questions

Can I unblock my own mailbox without an admin?

No, on a business tenant. The Restricted entities page needs an admin role, and Microsoft's community answers confirm there is no self-service removal. On a consumer Outlook.com account, a different unblock process applies.

How long until I can send again?

Microsoft says restrictions are normally removed within one hour of unblocking, with a worst case of 24 hours. If it is still blocked after that, escalate to Microsoft support.

Can I stop the mailbox from ever being restricted again?

Not permanently. Users on Microsoft's Q&A site report there is no documented exemption. You reduce the risk with clean lists, lower volume per mailbox, secured accounts and sensible outbound policy settings.

Will the same fix work for a printer or app using SMTP?

Yes. Microsoft community answers say a device or line-of-business app showing 5.1.8 is unblocked the same way, through Restricted entities.

strategysmartreacherror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free