M365 Curated SOP / Microsoft 365 and identity
Check whether Outlook flags mail from external senders
Find out whether a client's users see an External tag on mail from outside the organisation.
Written and maintained by MSP Stockroom. Nobody else edits it.
On this page
Before you run anything: read every command first and understand what it does. Replace example names, domains and addresses with your own. Try it on a test device or tenant before a client's. Keep client names, passwords and keys out of tickets and chat.
Purpose
Find out whether a client's users see an External tag on mail from outside the organisation. The tag is a cheap, constant reminder that a message claiming to be from the boss or the finance team came from somewhere else. Many tenants instead rely on an old mail flow rule that adds text to the subject, and some have both, so users see the warning twice and learn to ignore it. Run it at onboarding and at each security review. Read-only: nothing in this SOP changes the tenant.
Scope and prerequisites
- Run by the client's assigned engineer.
- Needs an account that can read the Exchange Online configuration, such as Global Reader.
- The Exchange Online PowerShell module installed from the PowerShell Gallery.
- Store the results in your documentation platform, never in this library.
Steps
- Sign in to Exchange Online:
# You will be asked to sign in to the client's tenant. Connect-ExchangeOnline - Read the built-in external sender setting:
Get-ExternalInOutlook | Select-Object Enabled, AllowListRead the result:
- Enabled True: supported versions of Outlook show an External tag on mail from outside the organisation.
- Enabled False: they do not. Record it as a finding.
- AllowList: senders and domains that never get the tag. Record each entry and why it is there.
- Look for older mail flow rules that change the subject or add a banner:
Get-TransportRule | Where-Object { $_.PrependSubject -or $_.ApplyHtmlDisclaimerText } | Select-Object Name, State, Priority, PrependSubject, FromScopeAny enabled rule here that tags external mail does the same job as step 2. If both are on, record it so the client can choose one.
- Disconnect when finished:
Disconnect-ExchangeOnline -Confirm:$false
Verify
You can state for the client whether external mail is tagged, by which method, and which senders are exempt and why.
Rollback
Nothing to roll back; this SOP only reads. Turning the tag on, or retiring an old mail flow rule, is a separate change, made with the client's approval. Microsoft advises turning off subject-line rules before turning the built-in tag on, to avoid tagging mail twice.
Notes
The tag can take a while to appear after the setting changes, and older Outlook builds do not show it. See https://learn.microsoft.com/powershell/module/exchangepowershell/set-externalinoutlook for Microsoft's guidance.
Sources and notes
Curated SOP from the MSP Stockroom SOP library (curated/m365-identity/check-whether-outlook-flags-external-senders.md). Last reviewed December 2, 2026. Tested on: Not yet run; written for Exchange Online PowerShell module 3.x; PowerShell 7.4. Vendor screens and commands change; check the vendor documentation before you rely on a step. Found a mistake? See corrections.