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
670 stars 96 forks source link

Task Pane for OWA add-ins doesn't open for shared mailbox #4829

Open geoffreyreemer opened 2 weeks ago

geoffreyreemer commented 2 weeks ago

When you want to open an add-in in the task pane in a shared mailbox, using the "Apps" icon in the menu bar, the task pane doesn't open. Nothing happens if you click an add-in under "Apps".

Your Environment

Expected behavior

For both user mailboxes and shared mailboxes, if you go to "Apps" and click on an add-in, I expect the Task Pane to open loading the add-in. Also, admin deployed add-ins would be visible with icons in the Message toolbar.

Current behavior

Steps to reproduce

  1. Open a shared mailbox
  2. Compose a new message
  3. In the Message toolbar, click on the Apps button
  4. Click on any add-in icon (tried with a custom add-in and also the "My templates" add-in that's default to OWA)

Link to live example(s)

n/a, reproducible in any shared mailbox

Provide additional details

Context

This issue is affecting customers who try to use our add-in to send sensitive information securely from shared mailboxes.

Useful logs

image

Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.

kdeshpande-methodcrm commented 2 weeks ago

@geoffreyreemer Did the solution given by @JONTY650413 work for you?

geoffreyreemer commented 2 weeks ago

@kdeshpande-methodcrm Feel free to try it out first. I'm not downloading a random Mediafire file to solve an issue in a web application, so I'd rather wait for official communication from MSFT instead.

kdeshpande-methodcrm commented 2 weeks ago

Able to reproduce the same

andrew-at-acta commented 2 weeks ago

I am experiencing the same issue in OWA.

rajjha-msft commented 2 weeks ago

Hey @geoffreyreemer

In Outlook on the web, if you open a shared mailbox in a separate browser tab or window using the Open another mailbox option, you may encounter issues when accessing add-ins from the mailbox. We recommend opening the mailbox in the same panel as your primary mailbox instead. This ensures that add-ins work as expected in your shared mailbox.

If you prefer to open the shared mailbox using the Open another mailbox option, we recommend deploying the add-in to both your primary user and shared mailboxes.

For more info, please visit : https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/delegate-access?tabs=web%2Cjsonmanifest

geoffreyreemer commented 2 weeks ago

I'm not sure if anything changed, but opening add-ins through "Open another mailbox" works again. Problem seems to be solved for us now.