Managing personal signatures, fonts and stationery for "New" Outlook and Outlook Web Access

Use Exchange Online PowerShell to manage New Outlook and OWA fonts, stationery, and user-created signatures with Signature 365.

Scenario

You wish to control internal settings for "New" Outlook or the Outlook Web Access client whilst using Signature 365.

Solution

As New Outlook and OWA are hosted on the Microsoft 365 Exchange platform, this must be configured using Exchange Online Powershell commands.

You can use Exchange Powershell cmdlets to set several options and can use a script to set these options for all users on your Exchange Online server.

Note
You will require administrative access to your company's Exchange Online server, and require Powershell knowledge to complete this task.Please note that modifying mailboxes using Powershell can cause serious issues if not completed correctly.

Connecting to Exchange Online

  1. If the Exchange Online Powershell module is not installed, open an administrative Powershell window on your device, type Install-Module -Name ExchangeOnlineManagement, and hit Enter.
  2. You will receive the following prompt - type "Y" to confirm and install.
  3. Log in to Exchange Online using your Global Administrator or Exchange Management credentials.
  4. You will see the following information when connected to Exchange Online.

Disabling all user created signatures

User created signatures can be completely disabled for all users in OWA / New Outlook by using the following powershell command.

Please note that if you are not using the default mailbox policy, you will need to apply this setting to any custom policies used.

Set-OwaMailboxPolicy -Identity "OwaMailboxPolicy-Default" -SignaturesEnabled $false

Setting Outlook default fonts

The following cmdlet is used to set message font with command line arguments:

Set-MailboxMessageConfiguration <username> <parameter>

Set new email font:

-DefaultFontName <Name>

Setting Outlook default font colour

-DefaultFontColor <Color>

Setting Outlook default font size

-DefaultFontSize <Size>

Setting Outlook default font style:

-DefaultFontFlags <Flags>

Where:

<Name>

Font name. If unrecognised, Calibri is used as default

<Colour>

Default colour code surrounded by quotes in RGB format. Default is #000000

<Size>

A integer between 1 and 7. Default is 3, corresponding to 12pt

<Flags>

Specifies the text effect, the following can be used:

  • Normal
  • Bold
  • Italic
  • Underline
  • All

Example

Set font to Arial 12 point Bold black for new email:

Set-MailboxMessageConfiguration support@symprex.com -DefaultFontName Arial -DefaultFontColour "#000000" -DefaultFontFlags Bold

Removing existing Outlook signatures

The following command line arguments cannot be used if Roaming signatures are enabled on your Office 365 tenant.

Set HTML signature

-SignatureHtml

Set roaming text signature

-SignatureText

Example

To set default signature to blank:

Set-MailboxMessageConfiguration support@symprex.com -SignatureHtml ""