Preview Onedrive or Sharepoint files
Fix lack of previews for OneDrive or Sharepoint links.
I'm guessing this is a bug, as I fail to see why it would be by design, but for some reason OneDrive and Sharepoint are the only services where a direct file link posted to a channel doesn't generate a preview.
If you post a link to a file in Box, Dropbox or Google Drive, you get a little inline preview of the file. But not with either of Microsoft's services. With those you're just left with a long ugly string of characters to deal with (see attached).
Ironically Slack will give you a preview for OneDrive, but Teams won't.
Anthony, could you give more details on using "teams links" on OneDrive. How do I do that?
I like the way you described the issue. So true.
Anthony G commented
Hi, it must be a bug.. but not by bad coding.. just there are many types of links (sharepoint url page, private link, public link, teams link url..
I have found if you use teams links it works, or proper SharePoint links, but just coping the web URL from your browser or it has extra data in it.. it wont work, I think teams needs to "follow" and check links.