Uninstalling the Email Signature Manager Agent programmatically
Problem
You wish to uninstall the Email Signature Manager Agent programmatically from a number of machines on your network.
Solution
Several methods can remove the Agent installation from your network. This can be done using a PowerShell script for ClickOnce or Microsoft Installer (MSI) installed Agents, or an MSI uninstallation for MSI installed Agents.
In some cases when installed via MSI, the PowerShell script is known to be unable to remove the Agent installation. In this case, use the MSI uninstallation script instead.
PowerShell
The following PowerShell script will in most cases remove both the ClickOnce and MSI installed Agent from your devices.
The .ps1 script below should be saved to your local machine. To run a saved script you will need to allow unsigned scripts to run. This can be done using the following command through an Administrative PowerShell window.
MSI uninstallation
Owing to the nature of MSI installation, you must find the correct Local Package for the installed software. This can be done using PowerShell commands and the resulting information used with an RMM package or Group Policy Object (GPO) to remove the software from your computers.
Open a PowerShell window on a device with the Agent installed, and run the following command.

Using the LocalPackage field, you can use the following command to uninstall the agent. You will require write permissions to %temp% to run the command.
This command can be used with a boot/login script or RMM solution to remove the Agent as desired from your network.
OWA signatures are not updating in Microsoft 365
Fix Microsoft 365 OWA signature updates blocked by roaming signatures and review Signature 365 migration guidance.
User is not receiving signature and is not visible in Email Signature Manager
Fix users missing from deployment by completing required Active Directory logon name and email fields.