Sep 19 2019 10:50 PM - edited Sep 19 2019 10:51 PM
I can use the CSOM to generate an anonymous link, for example
string link = context.Web.CreateAnonymousLinkWithExpirationForDocument(documentUrl, ExternalSharingDocumentOption.Edit,DateTime.Now.AddHours(48));
will create a URL:
https://exampledomain.sharepoint.com/:w:/g/RM/EQfxCwDEyHZEpie0kni1HhoBGHJthvKfUmMd_bmyYRHgPg
If I start Word, and Click Open->Browse and paste this link in to the filename, it fails to open the document.
I can confirm it opens correctly in the browser: if I paste this link in the browser it opens in the online editor. I can click "Open in Desktop App" and it will open correctly in Word.
I can not open the link from Word, which is what I really need to do!
Can you please fix this bug or provide alternate means of doing this?
Sep 20 2019 10:40 PM
SolutionSep 22 2019 03:43 PM
It's an undocumented, incomplete roll out of a feature. Someone stuffed up because literally 99.9% of users use the desktop apps. So why make a feature useful for 0.1% of users? Please fix Microsoft!!!
Sep 23 2019 09:34 AM
Hi @LukeSharepoint,
Chris is correct. The Office desktop apps don't currently support opening the anonymous/anyone links though this is certainly something we are looking at solving. I do want to note as well that once a signed in user has used the anonymous link, they are "redeemed" on it and should be able to open the document via the desktop apps. Hopefully that helps! Thanks!
Stephen Rice
Senior Program Manager, OneDrive
Sep 23 2019 01:08 PM
Sep 20 2019 10:40 PM
Solution