SignaGrid

Microsoft 365 administration

Exchange Online: Display Name for External Mail

Published By SignaGrid Editorial Team

Also available in: Polski, Deutsch

Laptop showing code on a white desk next to a monitor

You want external recipients to see a different sender name than your colleagues do: a company or brand next to the person’s name, or the name in a different form. Exchange Online has three native levers that come close, and none of them was built for this. This guide shows what each one does, where it stops, and when a server-side service is the cleaner route.

The short version

  • Display name in Entra ID or Exchange: one name for everyone, internal and external. Set per user.
  • SimpleDisplayName with a remote domain setting: external recipients only, but limited to a narrow ASCII character set, set per user, and with no fallback to the Display name.
  • Transport (mail flow) rules: cannot change the From header.
  • A server-side service in the mail flow: can rewrite the sender name of outgoing mail centrally, with the limits described at the end.

Option 1: change the Display name

The Display name is what the address book, Teams and most mail programs show, and most mail programs also put it in the From header of the mail a user sends. You can change it in the Microsoft Entra admin center, in the Microsoft 365 admin center, or in bulk with PowerShell: Set-User -DisplayName in Exchange Online PowerShell, or Update-MgUser in Microsoft Graph PowerShell.

  • No external-only effect. The change is visible everywhere. “Anna Kowalska | Contoso” appears in the internal address book and in Teams as well.
  • Per user. Joiners, renames and moves between companies each need another edit, and the values drift over time.
  • Hybrid environments. For users synchronized from on-premises Active Directory, the change usually has to be made on the on-premises side.

It is the right choice when you want the same name everywhere and the number of users is small.

Option 2: SimpleDisplayName and the remote domain setting

Exchange Online can use a separate “simple display name” for mail that leaves the organization. It has two parts: the SimpleDisplayName attribute of each user (Set-User -SimpleDisplayName), and the UseSimpleDisplayName setting of a remote domain (Set-RemoteDomain -UseSimpleDisplayName $true). The default remote domain entry covers all external domains.

  • Narrow character set. Microsoft’s documentation of Set-User allows only the letters a to z and A to Z, digits, the space, and the characters " ' ( ) + , - . / : ? in this attribute. There is no “|”, and no Polish or German letters such as ą, ł, ż, ä, ö, ü or ß. “Anna Kowalska (Contoso)” or “Anna Kowalska - Contoso” can work for a person with an ASCII-only name; “Anna Kowalska | Contoso” cannot.
  • No fallback. Microsoft documents that with the setting on and no simple display name for a user, the From header carries the e-mail address instead of a name. Fill in the attribute for every user before you switch the remote domain setting on.
  • Per user, and chosen by the recipient’s domain. The setting belongs to the remote domain, not to the sender’s brand, so it cannot say “Brand A people get this suffix, Brand B people that one”.
  • Not a general-purpose switch. The same Set-RemoteDomain cmdlet has a DisplaySenderName parameter; Microsoft’s documentation says to change it only under the direction of Microsoft Support.

It is the right choice when the people are few, the names are plain ASCII and the suffix needs only the permitted characters.

Option 3: transport rules

Transport rules are good at disclaimers, routing and adding headers of your own. They do not rewrite the From header. Answers on the Microsoft Q&A forum say that system headers such as From cannot be rewritten by a transport rule, and that custom transport agents are not supported in Exchange Online.

Option 4: a separate mailbox per brand

A shared mailbox or a send-as permission gives a brand its own address and display name. That is the right tool for a brand inbox such as “Contoso Sales”, but it changes the address. It does not add a company to the name of a person who keeps writing from their own mailbox.

Where a server-side service fits

A signature service in the mail flow already receives every outgoing message from Exchange Online through a connector and returns it. At that point the service can also change the display name in the From header, centrally, for the senders you select. Exchange Online then signs the message with DKIM after it comes back, so the signature covers the new name.

SignaGrid offers this as the Sender name option of a signature rule: a separator of one to eight characters plus either the Company field of each sender from the Microsoft 365 directory or a fixed text. The details are in the announcement. Compared with the native options:

  • Aimed at external recipients. Recipients inside your organization, and others who know the sender from a directory or contacts, may keep seeing the name stored there, and the sender’s Sent Items keep the original name.
  • No “|” restriction. Characters outside ASCII are encoded in the header according to the e-mail standards instead of being rejected.
  • No per-user work. A rule applies to a group, a domain or everyone, and the Company field or a fixed text provides the suffix.
  • Already present means untouched. If a display name contains the company, it is not added twice.

It also has limits. It needs the mail to be routed through the service. It is available in the paid plans (Cloud Core, Cloud Business and Private). The first version offers the Company field or a fixed text and nothing else. Mail signed or encrypted with S/MIME or PGP is passed through untouched. For mail sent on behalf of someone else or from an alias, the signature still applies, but the sender name is left unchanged. If you already use the SimpleDisplayName remote domain setting, test the combination before you rely on it.

How to decide

  • Same name everywhere, few users: change the Display name.
  • External-only, few users, plain ASCII and a permitted separator: SimpleDisplayName with the remote domain setting.
  • Several brands, many users, a separator such as “|” or non-ASCII letters, and no wish to touch every user: a server-side service.
  • A real brand inbox: a shared mailbox, because the address changes too.

How to verify any of these

  • Send to an external mailbox, for example a private Gmail account, and open the message source (“Show original” in Gmail).
  • Read the From header in the raw message and check that the name is the one you expect.
  • Check the authentication results: dkim=pass and dmarc=pass, especially on a domain with a p=reject policy.
  • Send to a colleague to see what internal recipients get, and look at the sender’s Sent Items.

Frequently asked questions

Can a transport rule change the display name in From?

No. Answers on the Microsoft Q&A forum say that system headers such as From cannot be rewritten by a transport rule.

Does SimpleDisplayName accept special characters?

Only a narrow set: the letters a to z and A to Z, digits, the space and the characters " ' ( ) + , - . / : ?. A vertical bar and letters such as ä, ö, ü, ß, ą or ł are not part of it.

Does changing the Display name in Entra change what external recipients see?

Yes, and it changes what internal recipients see as well. The Display name is used in the address book and in Teams, and most mail programs put it in the From header, unless a remote domain setting replaces it for external mail.

Can I show a company only to external recipients without a third-party tool?

Within limits: with SimpleDisplayName and the remote domain setting, using only the permitted ASCII characters and filling in the attribute for every user. Beyond that, the From header has to be rewritten by a service in the mail flow.

For plans and limits see the pricing page, and for how the processing path works see the security page.