Home

Downloading copies of files when clicking link from MS Search

%3CLINGO-SUB%20id%3D%22lingo-sub-994157%22%20slang%3D%22en-US%22%3EDownloading%20copies%20of%20files%20when%20clicking%20link%20from%20MS%20Search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-994157%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F300571%22%20target%3D%22_blank%22%3E%40Wendy_MSFT%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F172%22%20target%3D%22_blank%22%3E%40Bill%20Baer%3C%2FA%3E%26nbsp%3BI'm%20loving%20MS%20Search%20and%20trying%20to%20get%20everyone%20at%20my%20company%20using%20it%2C%20but%20I%20recently%20discovered%20that%20when%20I%20click%20on%20a%20link%20to%20a%20file%2C%20sometimes%20it%20downloads%20a%20copy%20of%20the%20file%20(bad)%20and%20sometimes%20it%20opens%20the%20file%20in%20the%20cloud%20(good).%20This%20is%20hindering%20my%20attempts%20to%20persuade%20folks%20to%20use%20it.%20Can%20you%20explain%20why%20its's%20doing%20this%3F%20What%20am%20I%20missing%3F%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1002548%22%20slang%3D%22en-US%22%3ERe%3A%20Downloading%20copies%20of%20files%20when%20clicking%20link%20from%20MS%20Search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1002548%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20experimenting%20with%20this%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F313737%22%20target%3D%22_blank%22%3E%40mjiverson%3C%2FA%3E.%26nbsp%3B%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3EIt%20appears%20to%20be%20an%20issue%20with%20how%20URLs%20are%20generated%20in%20SharePoint%20and%20OneDrive.%20For%20example%2C%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3EI've%20noticed%20that%20if%20you%20send%20a%20link%20from%20Outlook%20for%20Mac%20it's%20not%20the%20same%20as%20a%20modern%20attachment%20on%20a%20PC.%20The%20Mac%20version%20sends%20the%20direct%20URL%20to%20the%20file.%20When%20I%20put%20that%20URL%20in%20a%20browser%2C%20it%20also%20downloads%20a%20copy.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3EThe%20direct%20file%20URL%20is%20formatted%20like%20this%20%3CA%20title%3D%22http%3A%2F%2Ftenant-my.sharepoint.com%2Fpersonal%2Fuser_domain%2Fdocuments%2Ffilename%22%20href%3D%22https%3A%2F%2Ft.co%2FQx3pyEstFd%3Famp%3D1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etenant-my.sharepoint.com%2Fpersonal%2Fuser_%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-hiw28u%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3Edomain%2Fdocuments%2Ffilename%3C%2FSPAN%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-lrvibr%20r-qvutc0%22%3E%E2%80%A6%3C%2FSPAN%3E%3C%2FA%3E%2C%20but%20when%20you%20are%20viewing%20a%20file%20in%20the%20browser%2C%20the%20URL%20changes%20and%20has%20the%20sourcedoc%20and%20then%20the%20file%20GUID.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3EMicrosoft%20Search%20in%20Bing%20is%20doing%20the%20same%20thing--showing%20the%20direct%20link%20to%20the%20file%2C%20hence%20the%20download.%20What%20I%20haven't%20figured%20out%20is%20why%20when%20I%20send%20the%20direct%20link%20to%20someone%20else%20it%20seems%20to%20open%20the%20file%20for%20them%20(I'm%20guessing%20because%20they%20aren't%20the%20owner)%20but%20it%20sends%20them%20into%20the%20desktop%20version%20of%20the%20app%20instead%20of%20the%20browser.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
mjiverson
Senior Member

Hi @Wendy_MSFT and @Bill Baer I'm loving MS Search and trying to get everyone at my company using it, but I recently discovered that when I click on a link to a file, sometimes it downloads a copy of the file (bad) and sometimes it opens the file in the cloud (good). This is hindering my attempts to persuade folks to use it. Can you explain why its's doing this? What am I missing? Thanks!

1 Reply

I've been experimenting with this @mjiversonIt appears to be an issue with how URLs are generated in SharePoint and OneDrive. For example, I've noticed that if you send a link from Outlook for Mac it's not the same as a modern attachment on a PC. The Mac version sends the direct URL to the file. When I put that URL in a browser, it also downloads a copy.

 

The direct file URL is formatted like this tenant-my.sharepoint.com/personal/user_domain/documents/filename, but when you are viewing a file in the browser, the URL changes and has the sourcedoc and then the file GUID.

 

Microsoft Search in Bing is doing the same thing--showing the direct link to the file, hence the download. What I haven't figured out is why when I send the direct link to someone else it seems to open the file for them (I'm guessing because they aren't the owner) but it sends them into the desktop version of the app instead of the browser.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies