How to keep add-in panel open

Anonymous
2024-05-13T18:09:01.24+00:00

I have developed an outlook add-in and I need to keep it open for some use cases. How can I force it to keep open?

I have a magic link login flow. Once a user opens the add-in for the first time they see a login page and after filling their email submiting the login form they see a waiting page. After clicking magic link the page redirects to the add-in main page.

Currently, when a user submit login form and recieve magin link email, when they open the new email, outlook closes the add-in page but I would like to keep it open while the add-in is in waiting page. How can I do this?

Even if I change the magic link to a two step verification code flow and send a code via email, I have the same issue. I would like to keep the add-in open on some circumtances

Microsoft 365 and Office Development Office JavaScript API
Microsoft 365 and Office Development Other
Microsoft 365 and Office Install, redeem, activate For business Windows
0 comments No comments
{count} votes

Accepted answer
  1. Rick Kirkham 281 Reputation points Microsoft Employee
    2024-05-14T17:57:52.6366667+00:00

    I'm afraid this isn't possible. With only a few exceptions, Outlook add-ins live in a world where there is only one Outlook message (or appointment): the one that is currently open. When a different message is opened, the task pane closes too.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.