Word cannot open an anonymous link.

New Contributor

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:







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?

4 Replies
Best Response confirmed by LukeSharepoint (New Contributor)
This actually isn’t a bug. OneDrive / SharePoint just doesn’t support the use of office clients when using anonymous links. I believe the team is looking into adding this support at some point but you must use the office online web clients for anon links.

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!!!


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

Assuming the right credentials are cached in the browser at the time, the woah's of MSA's! :)