OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
689 stars 95 forks source link

Outlook add-ins and shared mailboxes #5095

Open fedeisas opened 1 week ago

fedeisas commented 1 week ago

I need some help supporting shared mailboxes on our Outlook add-in.

For context, our add-in provides email signature automation. Users may choose whether to load their signature from the email's FROM or use the currently logged-in user on the Task Pane.

On OWA, everything works as expected. I can change the FROM for my email, which picks up the right from/logged-in details. Instead, when I load the shared mailbox using the dropdown (Open another mailbox..) I lose the logged-in user, and everything becomes the shared mailbox.

On Windows Desktop, on some versions (ie. 2410 Build 16.0.18129.20100 64-bit), the add-in will stop working after changing the FROM (images are meant to illustrate Outlook versions, not the bug). But if they hit Reply from the sharedmailbox, the add-in loads and behaves just fine.

image

On other versions (ie. Version 2412 Build 16.0.18305.20000 64-bit), it works perfectly fine.

image

On Mac, as soon as I change the FROM from my regular user to my shared mailbox, my add-in gets grayed out and I see Add-in not compatible with sharedmailbox@domain.com.

Any help/hint would help! Thanks :-)

ndeleuze commented 2 days ago

@fedeisas Would you be able to provide images of the bug repro and some more detailed repro steps (mailbox set up, current mailbox selected when issue happens, ect.)?