Search code examples
outlookoffice-jsoutlook-addinoffice-addinsoutlook-web-addins

How can I send push notifications to an outlook add-in from a web server?


Problem

I can't seem to find a reference a suggested way to implement sending notifications from a web server to an outlook add-in.

I've looked on:

Could you help me understand what's the best way to implement push notifications from web server -> outlook add-in?

Context

  • I personally would like to use Firebase Cloud Messaging, which depends on the Push API under the hood. Is the Push API supported?
  • WebSockets could also work, but here again I wasn't able to find something before working away on an implementation

Solution

  • @nickromano is correct in that an add-in is just a webpage embedded in Outlook, so you may be able to send data to it through websockets or long polling outside of a standard request. However, this is not a supported use case scenario.