In o365 you can right click > one drive > copy link …
I have found that when I copy this link into a thunk it has issues getting the “href” friendly name. When I follow the link though, and copy the address link from the browser, drop it in the thunk - it seems to function better. Maybe it’s just me, but I wanted to point this out if other users are experiencing it. I don’t recall have this issue when doing similar things with google workspace.
Hmm, interesting. Thanks for flafgging this Matt.
We have logic to unpack different file URL formats. Perhaps we’re messing up on the one that comes from one drive > copy link.
Let’s look into it.
@Galex_Yen fyi ..
@Matt_THUNK Thanks for bringing that to our attention. There are challenges with working with O365 URLs and converting them into Microsoft Graph URLs. We’ve had to find ways to work with different URL formats from across the O365 ecosystem. And, you’re right, this isn’t an issue with Google Workspace, because the document ids are always in the URL. I’ve filed a bug on our side and will start looking into a fix. Thanks.
@Matt_THUNK - I’ve tried to reproduce this issue without success.
I’ve tried to extract URL from OneDrive 365 and Sharepoint in various ways and all of the files are accessible via Thunk.
The formats of URLs that I’m getting back fall into these four templates. The first three of which are from Copy Link in OneDrive and sharepoint UI. The last is from sharepoint browser address after opening the file.
https://tenant-my.sharepoint.com/personal/user_tenant_onmicrosoft_com/Documents/Ramen%20Receipt.png
https://tenant-my.sharepoint.com/:i:/g/personal/user_tenant_onmicrosoft_com/EduxL2JhEkJNvUzcvytvFvMBpNqYxkRa9AyAsDp8IoABCD?e=FooBar
https://tenant.sharepoint.com/:i:/s/SharepointSite/ABCDE-jrPxREnULcdAefhSkB0bF7mp4bAtRdEidB2Fm3gw?e=UZjECf
https://tenant.sharepoint.com/sites/SharepointSite/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2FSharepointSite%2FShared%20Documents%2FRamen%20Receipt%2Epng&parent=%2Fsites%2FQ1TeamEvent%2FShared%20Documents
Can you verify if the URLs you have been having trouble with match any of these templates?
Thanks