Forum Discussion
Outlook Deeplink opens a email compose window in draft state only for the first time
https://learn.microsoft.com/en-us/graph/api/user-post-messages?view=graph-rest-1.0&tabs=http
From the response body, the 'id' property is the email item id i use with the outlook compose deeplink
maheshkumaryu - We created a draft message and got the id. We added the itemid to the deeplink and see the below behavior -
1) Opening from Teams- 1st time and 2nd time
2) Directly pasting deeplink in browser
- WSDOTNickMay 10, 2023Copper Contributor
Meghana-MSFT none of these links work anymore. Outlook 365 opens and just shows the loading icon.
- Meghana-MSFTMar 16, 2023Former Employee
maheshkumaryu - Could you please check the below samples that show how to call the compose deeplink
this is a good and expected Compose deeplink
this is a good and expected Read deeplink
this is a little bit of a mix-and-match and ... not quite right. you're likely to run into some unexpectedness with this link
Could you please use the correct compose deeplink syntax and confirm if that helps? - maheshkumaryuMar 08, 2023Copper ContributorMeghana-MSFT - Thanks for the confirmation from the Outlook team.
Can you please provide an example to perform this in the SDK approach if I have an ItemID that I can pass to an API and let the browser open the Outlook window in Compose mode ? - Meghana-MSFTMar 07, 2023Former Employee
maheshkumaryu - We got the below response from the Outlook team.
"This is using a pre-Teams app web URL format that deep links into OWA. It is recommended to use “Mail” capability in the JS SDK, which is the most structured/strongly typed way to support this scenario."
Thanks
- Meghana-MSFTJan 23, 2023Former Employeewe currently do not have update/ETA on this bug. We are continuously checking for updates with team. We will keep you posted on the updates of the bug. Thanks.
- maheshkumaryuJan 19, 2023Copper ContributorMeghana-MSFT , do you have update on the bug or progress of the same?
- Meghana-MSFTDec 20, 2022Former EmployeeUnfortunately, we currently do not have update/ETA on this bug. Please be assured that we will keep you posted on the updates of the bug. Thanks.
- maheshkumaryuDec 19, 2022Copper Contributor
Meghana-MSFT , do you have any update on this bug?
Or any ETA for the update? - Meghana-MSFTDec 01, 2022Former EmployeeWe raised a bug for the same, we will keep you posted on the updates. Thank you.
- maheshkumaryuNov 30, 2022Copper Contributor
Meghana-MSFT, This is the url deeplink I am passing to window.open(url)
url = "https://outlook.office.com/mail/deeplink/compose/{your-itemid}?ItemID={your-itemid}&exvsurl=1" - Meghana-MSFTNov 17, 2022Former Employee
maheshkumaryu - We see the mail in draft state only even after opening it second time, can you also share a video of this issue if possible.
- maheshkumaryuNov 17, 2022Copper ContributorYes, this is the exact issue we are facing
We need to open the deeplink from Teams, I suspect this is because of the cookie where the outlook token is being stored
Maybe when we open the deeplink for the first time, it doesn't get the proper token.
However, on second try this works
Do you see what can be the issue here?