1

I use code similar to the following VSTO C# to create an Outlook Signature:

var signature = WordApplication.EmailOptions.EmailSignature
signature.EmailSignatureEntries.Add("Signature Name", range);

Seeing as I have multiple email accounts, the signature is created in "Signatures on this device" - not in any of the email accounts. Consequently, I can't manually set the "New messages" and "Replies/Forwards".

I don't want to programmatically set the "New messages" and "Replies/Forwards" values. Can someone explain what is going on and how I can resolve my issue?

-- Edit --

I don't require roaming signatures (at this stage) and am happy for them to be stored in the Outlook Client. The problem is that I think Microsoft may have broken this functionality.

I have been using the above code (for years now), to manage email signatures. However, things have changed in Outlook sometime in the last 6 to 12 months.

My colleague and I see different "Signatures and Stationery" dialogs. Even though we are both on Office 365 v2302 Build 16.0.16130.20186 64bit.

His dialog allows the "New Messages" signature to be set. Mine does not.

The main difference I can see between our computers is that I am on Windows 11 whereas he is on Windows 10. We both have multiple email accounts configured within Outlook. I have a "Signatures on this device" option. He does not.

From my computer where the dialog DOESN'T work:

My computer - dialog doesn't work

From his computer where the dialog DOES work:

From his computer where the dialog DOES work

Matt Fitzmaurice
  • 1,319
  • 4
  • 19
  • 40

3 Answers3

0

Cloud signatures are not at all documented at his point. Outlook has an API for that (you can see the calls in Fiddler), but it has changed over the past few months, and I expect it to change further before Microsoft moves the API to Graph and documents it. All of this is just an educated guess...

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78
0

The Outlook object model (as well as Word object model) doesn't provide anything for roaming signatures (for keeping signatures in the mailbox, not client). You will not find anything for that when dealing with the Outlook object model.

Currently also Microsoft Graph API doesn't have support for signature settings. Email signatures are stored by the Outlook client, not within the mailbox. This is why users see different signatures across desktop, mobile, and web clients. The only settings like this available via Graph are settings stored at the mailbox level. These are accessed via mailboxSettings object: automaticRepliesSetting, language, timeZone, and workingHours. Refer to documentation mailboxsettings, which lists all mailbox settings that can be managed through Graph.

There is Graph Feed Request submitted, you can upvote the request and provide you feedback, and Microsoft Product Engineering team can review and check the feasibility and consider for implementation.

Make email signatures available on Graph

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45