External Email Warnings with Office 365

Today we’re going to setup two types of external email warnings. The first is setup natively for use with Microsoft Outlook, and the second is through Exchange’s mail flow. 

Step 1: Native External Banner

  1. Open up a PowerShell window
  2. Connect to Exchange Online with the desired tenant’s Global Admin Account using the command below
    Connect-ExchangeOnline -UserPrincipalName GlobalAdmin@domain.com
  3. Enable the External Outlook Banner using the command below
    Set-ExternalInOutlook -Enabled $true
  4. Optionally you can add parent/sister domains so they don’t get flagged. Use the command below for each domain.
    Set-ExternalInOutlook -AllowList @{Add="EXAMPLEDOMAIN.com"}

 

This is the end result, this ONLY works within Outlook web and Outlook desktop client, please also add Method 2 as well to cover non Outlook devices.

Step 2: Mail Flow Banner

  1. As the Global Admin Account, navigate to Exchange Admin Center at https://admin.exchange.microsoft.com/
  2. Navigate to Mail flow > Rules
  3. Add a new rule and name it External Email Banner
  4. For Apply this rule if: Select is External/Internal and select EXTERNAL
  5. For Do the following: Apply a disclaimer to the message and select Prepend a disclaimer
  6. Enter in the following for the text
    <div id=โ€footerโ€ style=โ€background-color: #ffeb9c; width: 100%; border: 1px solid #FFEB9C; padding: 2pt; border-style: solid; border-color: #9C6500;โ€> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.</div>
  7. For select one if the disclaimer can’t be inserted, select Wrap
  8. For Except if: Select The sender domain is and then insert the parent domain and the sister domains as necessary
  9. Click Next and for rule mode select Enforce. You can leave Severity as not specified and click Next. 
  10. Click Finish
  11. Click on the rule you created and click Enable

The end result looks like this, and is supported on multiple device types outside of Outlook


Leave a Reply

Your email address will not be published. Required fields are marked *