# 5.7.12 Bounce: Sender Not Authenticated by Organization

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

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

**Short answer:** The Microsoft 365 recipient accepts mail only from senders inside its own organization, and your message came from outside. It is permanent: your server does not retry, and only the recipient's admin can change the setting. Look for a public contact address, or ask someone inside to forward your message.

**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.12:** “A password transition is needed” in the IANA registry (RFC 4954), in the group security or policy status (RFC 3463 §3.8).
- **Who uses it:** Microsoft (Exchange Online): the sender was not authenticated by the organization; the IANA registry name of X.7.12 is a password transition (RFC 4954).

A 5.7.12 bounce from Microsoft 365 means the address you wrote to is closed to outside mail. The address works. It just does not take mail from senders outside its organization.

## What it means

Microsoft uses 5.7.12 with its own meaning. Its [Exchange Online NDR reference](https://learn.microsoft.com/en-us/troubleshoot/exchange/email-delivery/ndr/non-delivery-reports-in-exchange-online) gives the text `Sender was not authenticated by organization`. The recipient is set to reject messages sent from outside its organization. Microsoft says only an email admin of that organization can change this.

The [IANA registry](https://www.iana.org/assignments/smtp-enhanced-status-codes/) gives X.7.12 a different meaning: "A password transition is needed", from [RFC 4954](https://www.rfc-editor.org/info/rfc4954/). That is a reply to a mail app signing in to send, explained on [432 4.7.12](https://email-validation.org/bounce-codes/432-4-7-12/). If Microsoft 365 bounced a message you sent, Microsoft's meaning is the one that applies.

"Not authenticated" here is not about SPF, DKIM or DMARC. It means you are not a signed-in member of the recipient's organization. Microsoft uses 5.7.133 to 5.7.136 for the same refusal by a group, a mailbox, a public folder or a mail user. They are explained on [5.7.133](https://email-validation.org/bounce-codes/5-7-133/).

## Common causes

- The address is an internal group, list or shared mailbox meant only for staff.
- You are a partner, customer or former employee writing to an address set up for internal use.
- You belong to the organization but sent from a personal or outside account.
- A website form, ticket system or app sends from outside the organization to an internal-only address.

## How to fix it

If you are the sender:
1. Check whether you meant a public address, such as a support or sales contact.
2. If you have an account in the recipient's organization, send from that account.
3. Ask a contact inside the organization to forward your message. They can also ask their admin to open the address to outside senders.

If you run the recipient's organization:
1. Decide whether this recipient should take mail from outside at all.
2. If it should, change its setting that rejects mail from outside the organization. Leave it closed if internal-only is what you want.

Nothing in the sender's own setup fixes this. Better SPF or DKIM records will not help.

## What to do with the address

Keep it. The address exists and works. It is closed to outside mail, and that is the recipient admin's choice.

## Related codes

- [5.7.133](https://email-validation.org/bounce-codes/5-7-133/): Group takes no mail from outside (Microsoft 365)
- [5.7.124](https://email-validation.org/bounce-codes/5-7-124/): Sender not in the group’s allowed senders (Microsoft 365)
- [550 5.7.1](https://email-validation.org/bounce-codes/550-5-7-1/): Delivery not authorized: refused for policy reasons

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._
