The bounce reads 550 5.4.1 Recipient address rejected: Access denied, often followed by the name of a Microsoft server and a line such as AS(201806281) or a reference to Exchange Online Protection. It looks like a block against you, and many senders start by checking blacklists and authentication. In the majority of cases it is neither. The message means that the receiving Microsoft 365 organisation checked its own directory at the edge of the network and did not find the recipient address, so it refused the message before it reached a mailbox. This guide explains how that edge check works, how to tell a simple address problem from a configuration problem at the recipient, what a sender can do and what the recipient's administrator must do. It also covers the less common cases where the same code appears for a different reason. The wording and detail of Microsoft responses change over time, so treat the exact text as a guide and rely on the enhanced status code and the full bounce.
What the code means
SMTP replies have a basic three-digit code and an enhanced status code. The basic code 550 is a permanent mailbox-level failure. The enhanced code 5.4.1 belongs to the "network and routing" class, and its standard description is "no answer from host", yet Microsoft uses it for a specific purpose: rejecting a recipient that the organisation's directory does not contain. Since the rejection happens during the RCPT TO command, the sending server never even delivers the message body, and no content filtering is involved. For the general structure of these codes read SMTP bounce codes explained and how to read a bounce code.
Directory-based edge blocking
Exchange Online Protection sits in front of Microsoft 365 mailboxes. For a domain that is configured as an authoritative accepted domain, the service can look up each recipient in the organisation's directory (Microsoft Entra ID, formerly Azure Active Directory) while the connection is still open. If the address is not found, the service refuses it at once with the 5.4.1 response. This is directory-based edge blocking (DBEB), and it protects the organisation from directory harvest attacks and from backscatter, because unknown recipients are never accepted and later bounced. It also means that when a mailbox is deleted, renamed or never created, senders see the 5.4.1 error immediately. Seen from the sender's side, it is the cloud equivalent of "user unknown".
The causes, from most to least likely
| Cause | How it shows up | Who fixes it |
|---|---|---|
| Typo or old address | Only one recipient at the domain fails; others at the same domain deliver | Sender: verify the address |
| Mailbox was deleted or never created | Address worked before, fails now, or the person is new | Recipient admin: create the mailbox or alias |
| Alias not added | Person has a mailbox but the alias used by the sender is missing | Recipient admin: add the proxy address |
| Directory sync delay | New user created on-premises is not yet in the cloud directory | Recipient admin: check Entra Connect sync status |
| Domain type misconfigured | Domain is "internal relay" while mail goes to another system, or "authoritative" while mailboxes are elsewhere | Recipient admin: set the correct accepted-domain type |
| Hybrid routing problem | Mailboxes in Microsoft 365 and on-premises, with incorrect recipient lookup | Recipient admin: review hybrid configuration |
| Distribution group restricted | Group accepts mail only from authenticated or internal senders | Recipient admin: change group delivery options |
| Tenant or connector restriction | Mail from your IP or domain is refused by a rule at the recipient's organisation | Recipient admin: review connection filters and transport rules |
The first two rows account for most reports. A group or shared mailbox that rejects external senders can also generate an "access denied" form of the message. In that case the enhanced code and the text may differ slightly, for example 5.7.133 for a group that does not accept external mail. If the bounce says something other than 5.4.1, search for the exact code rather than assuming it is the same problem.
What a sender should do
- Read the full bounce. Note the recipient address, the remote server name and the date. Make sure the failing address is the one you intended.
- Check for typos and look-alikes. Compare character by character. Common errors are a missing letter, a transposed pair or the domain in the wrong form (for example a company that uses both a main domain and a subdomain).
- Test another address at the same domain. If other recipients deliver, the problem is the specific address. If every recipient at the domain fails, the domain itself may have changed provider or be misconfigured, or it may block you.
- Contact the recipient by another route. Ask them to confirm the address and to check that the mailbox exists. Their administrator can look in the Exchange admin centre or use message trace to see the rejection.
- Update your records. Remove or correct the address in your list and suppress it so that you do not keep sending. See suppression list management.
- Validate addresses at collection time. Use the email validator to find syntax errors and non-existent domains. Note that no validator can confirm a mailbox at a directory-protected Microsoft 365 domain without sending mail.
What the recipient's administrator should do
If you manage the Microsoft 365 tenant that returned the error, work through the following checks:
- Message trace: in the Exchange admin centre, run a trace on the sender and recipient to see the event, which will show a rejection by directory lookup, a transport rule or a connection filter.
- Mailbox and aliases: confirm that the user or shared mailbox exists and that the address is in the list of proxy addresses. Case and spelling matter little, but the domain must be an accepted domain of the tenant.
- Accepted domain type: a domain set to authoritative rejects unknown recipients; internal relay passes them on to another system. Choose the type that matches where mailboxes live. Changing this is a mail-flow decision, so plan it with care.
- Directory synchronisation: if users are created on-premises, verify that the sync has run and that the object reached the cloud with the correct attributes.
- Hybrid setup: in a hybrid environment, confirm that recipient objects exist on both sides as intended, so that lookups at the edge succeed.
- Group settings: for groups and shared mailboxes, check "allow messages from people outside the organisation".
- MX records: make sure MX points at the intended service. If the MX points at Microsoft 365 but the mailboxes were moved elsewhere, every new message to a missing user will bounce. See MX records.
When it is not the address
Occasionally the same code appears because of a policy at the recipient, not the directory. An organisation can restrict which external senders may reach a mailbox, or a transport rule can reject mail from specific domains. If you have confirmed that the address exists, that other senders can reach it and that other recipients at the domain accept your mail, ask the recipient's administrator to trace the message. Also check your own reputation and authentication to rule out a combined problem: see Outlook and Microsoft 365 blocks and verify SPF, DKIM and DMARC with the checker. A reputation block normally uses a 5.7.x code, not 5.4.1, so the codes help to tell the cases apart.
How an application should handle it
Treat 550 5.4.1 as a hard bounce. Do not retry, mark the address as invalid, notify the user of the application if the address came from a form and keep a record of the reason. If your application sends to addresses entered by users, such as invitations, show a clear error when the bounce arrives through a webhook. Do not loop: repeated sends to an unknown recipient raise your bounce rate and damage your reputation, as explained in email bounce rate. With an API or SMTP relay you can receive these events through webhooks and update your database automatically.
Prevention
- Ask for a confirmation by double opt-in so that bad addresses never enter the list.
- Keep an eye on the share of bounces from large business domains; a sudden rise suggests an out-of-date list.
- Re-verify old contacts before a big campaign, especially for business addresses that change when people leave.
- Handle bounces automatically and suppress hard-bounced addresses at once.
This error says that the destination organisation does not know the recipient. It is rarely about you, and the right response is a quick check of the address, a note to the recipient and an automatic suppression in your system.
Handle bounces automatically Receive bounce events by webhook and keep your list clean without manual work.
References and further reading
Frequently asked questions
What does 550 5.4.1 Recipient address rejected: Access denied mean?
The receiving Microsoft 365 organisation did not find the recipient in its directory, or a policy refused the sender, and it rejected the message at the edge.
Is 550 5.4.1 a blacklist problem?
Rarely. It usually means the address does not exist. Reputation blocks normally use 5.7.x codes.
Should I retry after a 550 5.4.1?
No. It is a permanent failure. Correct the address or remove it and suppress it.
How can the recipient admin investigate?
Run a message trace in the Exchange admin centre and check the mailbox, aliases, accepted domain type and directory sync.
Can an email validator confirm the mailbox exists?
Not reliably for directory-protected domains. A validator can catch syntax errors and missing domains, but only a delivery attempt confirms the mailbox.