Signature Management new Outlook Client

Copper Contributor

With the release of the new one Outlook client I am wondering if it is possible to set an Outlook signature using Powershell on behalf of a user and have it appear in the web and thick client? 




3 Replies

Hi @mvz12,

To set an Outlook signature using PowerShell, you can utilize the Exchange Management Shell (EMS) cmdlets. Here's an example of how you can accomplish this:

# Connect to Exchange Server or Office 365
$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://your-exchange-server-uri/Powershell" -Authentication Kerberos
Import-PSSession $ExchangeSession -DisableNameChecking

# Define the user and signature details
$UserEmailAddress = "email address removed for privacy reasons"
$SignatureContent = "This is the signature content."

# Set the signature for the user
Set-MailboxMessageConfiguration -Identity $UserEmailAddress -SignatureHtml $SignatureContent

# Disconnect from Exchange Server or Office 365
Remove-PSSession $ExchangeSession

The signature set using this method should be visible in both the Outlook web client and the thick client when the user logs in.

Kindest regards


Hi @LeonPavesic


Thanks for the reply, I did try this but it doesn’t seem to work on my mailbox for some reason. 


Hi @mvz12,

I am sorry that the previous solution did not work for you. In that case, here's an alternative (HTML) approach to set an Outlook signature that should work for both the web and thick client:

1. Create the HTML signature: Create an HTML file containing the desired signature content using a text editor or an HTML editor. Save the file with the ".html" extension.

2. Upload the HTML signature to a web server or SharePoint: Host the HTML signature file on a web server or upload it to a SharePoint document library. Make sure the file is accessible via a URL.

3. Configure the signature settings in Exchange Online: In the Exchange Admin Center (EAC), go to "Mail flow" > "Rules" and create a new mail flow rule.

4. Set the signature using the HTML file: In the mail flow rule, configure the action to set the message header "X-MS-Exchange-Organization-Signature" and set the value to the URL of the HTML signature file.

5. Apply the mail flow rule to users or groups: Specify the users or groups to whom the mail flow rule should apply. This will ensure that the signature is added to outgoing messages for those users.

By using this method, the signature specified in the HTML file will be added to outgoing messages in both the web client and the thick client. 

I hope this alternative solution works for you. 

Kindest regards.