New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outlook: Deeplinks to mail items returned by Outlook API no longer load #1095
Comments
@davidfishlock Can you also provide an example of the API that's returning that link? The URL in the repro steps is a REST URL, rather than an OWA URL, so it should return a JSON response when called with a token via an HTTP request (see Message API). |
@exextoc Yes, we are calling the Outlook Rest API Version 2.0 as shown in the link you provide above. The JSON response contains a property 'WebLink' containing a url to open the mail item in OWA. Folllowing that url now leads to a blank page with loading spinner, the item never loads. WebLinks returned by the REST API are in the format: These urls have been loading the mail item correctly until this week. |
Thanks for the clarifications. This repo is for Office.js questions (the web-based Office add-in platform), which does provide some access to REST (hence my confusion), but this is purely a REST question. For REST questions, you could ask a question on Stack Overflow with the 'outlook-restapi' tag. For this particular issue, if the URL looks correct (you mentioned it was working last week), the issue may be with OWA or with authentication (also consider whether the issue is scoped to certain users or organizations). In those cases, you could get a better response by opening a support ticket with Microsoft. |
@exextoc So to be clear, you have no route to escalate this internally since this will likely be breaking a large number of Outlook add-ins? It seems very poor that the best route to raise this is via stack overflow. This affects all users, and the issue is not authentication. |
I tried to reproduce the issue initially with an organization account but unfortunately couldn't. I'm able to reproduce the issue now but only on an outlook.com account (a "Microsoft account"). Is this consistent with what you're seeing? |
@exextoc Yes, the reports I have are against live.com and hotmail accounts etc |
@exextoc We'd really appreciate your help here. I've opened a support ticket with Outlook already, but so far it looks like getting an actionable will be very difficult. Please let us know how we can make sure that this issue is seen by the OWA team as it's blocking for the release of our add-in. |
We have forwarded the information about this issue to the appropriate team, and they are now investigating this issue. |
@exextoc has there been any progress on this or acknowledgement of the issue? This is a showstopper for us. Is there any way we can contact the relevant team directly? |
@davidfishlock we have fixed this bug and it should be available now. Can you check to see if it works now? |
@exextoc No, there doesn't appear to be any change in behaviour. The API still returns a WebLink in this format: Navigating to this redirects to: The mail item doesn't load, just a loading spinner as previously. |
Just to clarify, did you logout and login into your account? I was able to validate that this works for my test outlook.com account. |
I tested this against two accounts, one on live.com, the other on outlook.com domain. Also tested in both Chrome and Firefox, and also in Incognito / Private browsing mode and the emails don't seem to be loading in any of these cases. |
@exextoc Yes all working thanks |
Seems like this broken again? |
Is it just me who has this issue? |
Hi @rohit-gandhe. I've tried today and I cannot repro this on our add-in. |
Links from mail webLink were working fine, then I changed to using immutableid and now the links are broken. They only display a spinning wheel - loading. |
@pshutchins Can you please explain in detail how you are getting link, immutableid and how you are changing it to use immutableid? It will help us understand use-case and help us answer better. |
Using microsoft.graph\3.31.0 and AspNetCore.App.Ref\5.0.0 In my c# code I am using the following code I found online. Without the headeroptions message.WebLink provides a useful link, I store the link in a SQL db. https://graph.microsoft.com/.default Microsoft.Graph.Message message = await graphServiceClient.Users["###@###.###"].MailFolders[FolderId] string link = message.WebLink; That gets redirected and fails to load: |
Also if it will help, this is error from browser console (Microsoft Edge Version 90.0.818.56): types.js:262 [Deprecation] SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details. |
@pshutchins Thanks for your reply. Couple of more questions.
|
As far as platform I am not sure what you are asking, I am new to this (MS Graph) so bare with me. I am using VS2019 to create a C# .Net Core ASP web application that creates a draft message in a particular folder within our organization's Exchange Online account. When it creates the message it returns a Microsoft.Graph.Message with the Id and WebLink. When the link works it uses OWA. Our organization does use Outlook Desktop, I have it installed. |
@pshutchins Are you using any Outlook Addins APIs which is not working for you as expected? Which API is that? https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/apis |
I am not aware of any AddIns being used in OWA. |
@pshutchins In that case, most likely it is not the same issue. This GitHub project and issue are related to OfficeJS APIs (addins apis). You may want to reach out to other GitHub project (probably Microsoft Graph APIs?) and file a new issue. Thanks for your understanding. |
thanks |
@exextoc it appears that deeplinks on mobile OWA are broken again. In all cases the weblinks returned by Outlook REST API or graph appear to load the inbox. |
Hello @exextoc could you open the issue again? It still / again only leads to a blank page when opening the event detail link via API on mobile devices. |
Hi @exextoc We are also facing the same issue. Using graph API via power automate to generate emails and user can view the emails via weblink provided by API. For some users the link is working fine and users are able to view the email and can edit the email via deeplink but for other set of users they are unable to edit the email hence can't send it. Strange behavior's for users in same org with same licensing and access permissions. Can we open this issue again? |
@exextoc i am also facing that issue on android. |
Also seeing this - it was working up until a few months ago, now broken, have tried many things. FAIL |
Yea same for us it was all working until today. Now the web links for emails just result in an envelop opening and reopening over and over on outlook.office365.com. This is super frustrating as my users think it is an issue on my end lol. |
Team - here is something - where formerly I was using: I changed to this: Note - I had to change deeplink?ItemID= to be /inbox/id/ Also had to do the HTTP thing to convert '-' and the '=' to the %2F and the %3d I need to determine how I make use of this in my powerautomate - I think there was a hint somewhere in the thread on how to change the -= stuff into the right characters. If I figure it out I will post here. It still doesn't seem to be 100% though. |
I have the same, unable to use the "hack" of On browser console errors it show :
Same as #3345 |
Well I have this Power Automate thing working for items in inbox - but it doesn't work for items in the sent folder - which I still cannot figure out. These links that look nearly identical - work if the item is in the inbox - but not when viewing items in the sent folder - which is called 'sentitems' in OWA Now for some reason. This gross, horrible and disgusting Power Automate generates the right link for the Inbox (Had to use replace because uriComponent does not change the "dash" into "%2F", and apparently the new OWA interface needs that to be updated) concat(' https://mail-us.o365.company.com/mail/inbox/id/', replace ( uriComponent ( triggerOutputs()?['body/id'] ) , '-', '%2F' ) ) |
Hmm, I can't be sure - but seems like the gang at MSFT fixed the DeepLink |
Just tested one of my old flows with the deeplink and it worked. Looks like whatever "was broken" - got repaired |
Broke for me on Chrome and Edge this week. It works in Brave. Maybe a Chrome update has broken it again recently. |
@UNiXMIT Can you create a new issue with all the details of the problem you are facing as this is and old issue and already closed? |
Typical, I just went to reproduce this again to raise a new issue and it's working again in Chrome and Edge. |
@mccreelake While we are investigating the problem you are facing, can you please create a new issue with all these details of the problem you are facing as this is an old and wider issue and is already closed? |
Is this still broken? Having the exact same problem 3 yrs later. |
When attempting to navigate to a WebLink for a mail item returned by the Outlook API, the user receives a blank page with a spinner and 'loading' indefinitely.
Expected Behavior
The OWA read item view is displayed with the mail item
Current Behavior
The user is stuck on a blank loading screen indefinitely
Steps to Reproduce, or Live Example
Context
Your Environment
The text was updated successfully, but these errors were encountered: