Outlook Deeplink opens a email compose window in draft state only for the first time

Copper Contributor

I am using the Outlook compose deeplink to open a new email in compose window from my react application with window.Open(deeplink), however for the very first time a new browser window is opened with new email in Draft state.
If I use the same compose deeplink again from the same browser, then it opens the new email in compose mode as expected.
It feels there is some issue with the cache/cookie storing the OpenID Connect token that gets loaded when I open outlook with the deeplink for first time, and other times it opens the compose email window properly.

Also when I already have Outlook opened in browser and then if I open new browser window from my React application using the deeplink, it works alright.

Deeplink - https://outlook.office.com/mail/deeplink/compose/...

20 Replies

@Meghana-MSFT none of these links work anymore. Outlook 365 opens and just shows the loading icon.