Repository navigation
v4.32.0 - 2026-10-08
Set-OutlookSignatures
Security
- Redact sensitive information from the
GraphClientIDparameter in "Check parameters" output for improved security.
Additions
-
Add the ResolveCountry PowerShell module for easier and faster country name resolution.
- This makes the function
FormatPhoneNumberand the code in the file.\config\default replacement variables.ps1much smaller, easier to read, and independent from CLDR metadata exposed by the .Net version and Operating System. Search is also more forgiving because ResolveCountry includes a fuzzy component.
- This makes the function
-
Add support for Exchange resource forest (linked mailbox) scenarios where the mailbox has been migrated to Exchange Online but
GraphOnlyis not enabled. This is realized by searching the linked mailbox and determining its hosting environment as soon as possible, so that a Graph connection can be enforced when the mailbox is hosted in the cloud. -
Make sure every paragraph has an HTML
margin-top,margin-bottom, andline-heightvalue to enhance paragraph spacing compatibility across email clients. -
Improve barrier-free access by automatically syncing
altandtitleattributes while respecting parent link tooltips and decorative images. -
Add low-priority INI tags
defaultNewLowPrioanddefaultReplyFwdLowPrio.- A low-priority tag only sets the signature as default if a standard tag (
defaultNewordefaultReplyFwd) hasn't already claimed it. - Use case: Setting default signatures for secondary SMTP addresses (aliases) when using the Outlook add-in.
Example: For a mailbox with primary address
primary@example.comand secondary addresssecondary@example.com:- Outlook sees both signatures ("primary" and "secondary") and uses "primary" as the standard default.
- The Outlook add-in detects the low-priority fallback and automatically selects "secondary" whenever sending from
secondary@example.com.
[primary.docx] defaultNew defaultReplyFwd [secondary.docx] secondary@example.com defaultNewLowPrio defaultReplyFwdLowPrio
- A low-priority tag only sets the signature as default if a standard tag (
-
Prefix warning and error messages with
[Warning]and[Error], and display final counts with corresponding line numbers at the end of the script. -
Add and update blog posts:
- Cross-Tenant Outlook Signatures
- Delegate Out-of-Office Management with Exchange RBAC
- How to Prevent Outlook Signature Changes
- Signatures for Send As Permissions
- Roaming Signatures for Outlook on macOS
- HTML or DOCX templates?
- From Halloween to the Holidays: Automate Seasonal Email Signatures 🎃🍂🎄
- Self-service email signature attributes with data sovereignty
- Deploy Outlook signatures for users who do not log on to managed devices
Changes
- Update HtmlAgilityPack to v1.13.0.
- Update libphonenumber-csharp to v9.0.40.
- Update MSAL.Net to v4.90.1.
- Update PreMailer.Net to v2.7.4.
- Update UTF.Unknown to v2.7.0.
- Update sample templates to use the new virtual demo company VistaVox.
- Refactor ".\config\default replacement variables.ps1" to make the code more readable, easier to understand, and easier to maintain.
- Simplify Quickstart Guide.
- Update FAQ:
- Folder Structure Recommendation with better visual clues and sample code.
- How to apply signatures for alias or secondary SMTP addresses?
Fixes
- Fix slow file copying for dependencies by further minimizing the number SMB/CIFS network requests, switch to native C#/.Net function calls, and parallelization. (Thanks Daniel Selle!)
Benefactor Circle add-on
Additions
- Display warning and error counts for each completed SimulateAndDeploy job, and write jobs with warnings to
_log_warning.txt.
Fixes
- Make sure
SimulateUseris always converted to a user principal name before comparing it with other UPNs. This solves roaming signature upload in SimulateAndDeploy when theSimulateUserparameter does not match the UPN of the user to simulate. (Thanks Hunter Harris!)
Outlook add-in (part of the Benefactor Circle add-on)
Additions
- Add a manual refresh button to the task pane.
- Make the add-in task pane auto-refresh when from/to/cc/bcc/subject (basically everything available in the
customRulesPropertiesobject forCUSTOM_RULES_CODE) are changed. - Add local persistence for a manually selected task pane language, as well as a language reset button.
- Add
TREAT_FIRST_REPLY_AS_NEW_MAILconfiguration option to use the default new signature rather than Outlook's default reply signature when the current from address writes the first reply in a thread branch (disabled by default to mimic native Outlook behavior).- Example: You reply to a new message from a customer. As it is a reply, Outlook selects the signature defined as default for replies and forwards, although the signature defined as default for new messages would be more appropriate for the first reply.
- See
.\run_before_deployment.ps1for details and requirements.
- Add
TREAT_FORWARD_AS_NEW_MAILconfiguration option to use the default new signature rather than Outlook's default reply signature when forwarding an email (disabled by default to mimic native Outlook behavior).- See
.\run_before_deployment.ps1for details and requirements.
- See
- Add properties to the
customRulesPropertiesobject for use inCUSTOM_RULES_CODE:itemIsFirstBranchReply: Boolean value indicating if the current item is a reply to the first branch of a conversation thread.addInConfig: Object containing all configuration options of the Outlook add-in that are available viarun_before_deployment.ps1.
- Add sample code to
.\sample code\CustomRulesCode.js:- No signature for self-addressed emails
Changes
- Update @azure/msal-browser to v5.25.0.
- Add a fallback to the primary SMTP adress when sending from an alias or secondary SMTP address for which no specific signature has been defined.
- Show full before and after configuration array values in
run_before_deployment.ps1, instead of just the removed or added elements with a misleading "Removed" hint. - Update translations.
Fixes
- Make images work when inserting signature in Outlook Web (Exchange Online) appointments.
- Avoid a possible endless logging loop when the
DEBUGparameter is enabled.
File hashes and code signing
- SHA256 hash of 'Set-OutlookSignatures_v4.32.0.zip': 0CA3211914622DF44E9B76D5E17FCC45A662C338F200055F9358181B9D10FCF6
- See 'hashes.txt' in 'Set-OutlookSignatures_v4.32.0.zip' for the hash value of every single file in the release.
- Compare these hashes with the output of '
Get-ChildItem -Recurse | Get-FileHash -LiteralPath $_.FullName -Algorithm SHA256'.
- Compare these hashes with the output of '
- Files are code signed with ExplicIT Consulting's Extended Validation (EV) certificate.
- Check the signature with '
Get-ChildItem -Include '*.ps*1', '*.dll' -Recurse | Get-AuthenticodeSignature'.
- Check the signature with '