OfficeDev / generator-office

Yeoman generator for building Microsoft Office related projects.
https://www.npmjs.com/package/generator-office
MIT License
818 stars 207 forks source link

Sideloading by file in Outlook for desktop doesn't "stick" when manually sideloaded #767

Closed TranquilMarmot closed 1 year ago

TranquilMarmot commented 1 year ago

Expected behavior

Sideloading an add-in in Outlook on the desktop should work

Current behavior

I can sideload the add-in in Outlook on the web just fine by choosing "Add from URL..."

When I try the same add-in in the desktop app on macOS or Windows, it looks as though the add-in was properly added and it shows up under "Custom Addins".

However, as soon as you close the "Office Add-ins" pop-up it goes away. Re-opening it by clicking "Get Add-ins", you can see the custom add-in is gone.

Steps to Reproduce

  1. Generate add-in
  2. Follow the steps for sideloading it
  3. Close the add-ins pop-up
  4. Re-open the pop-up
  5. Add-in is no longer there 😢

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

Please include any relevant log snippets, screenshots or code samples here.

millerds commented 1 year ago

I have a few clarifying questions to ask:

TranquilMarmot commented 1 year ago

On Windows: Version 2302 Build 16.0.16130.20298) 64-bit It says "Get Add-ins"

On macOS: Outlook 16.71.2

We're doing "Add from URL..." which works fine in Outlook on the web.

Same behavior on both operating systems. It adds the add-in just fine but it goes away as soon as you close the add-in modal.

millerds commented 1 year ago

If you remove it everywhere, then "Add from URL . . . " in the Win32 client, and look for it in OWA does it show up?

It's possible there is something subtle in the manifest that is preventing the clients from parsing it vs. OWA parsing it (slightly different parsers).

TranquilMarmot commented 1 year ago

After debugging this for a few hours, I found the issue- we had some SVG files under <Resources><bt:Images>....

OWA loads these fine, but Outlook on the desktop silently fails and uninstalls the add-in.