Forum Discussion
SharePoint Shortcut showing no Content
seems like my url is not a site, the whole pattern where my files exist is:
https://companyname.sharepoint.com/sites/BIA/Ops/Forms/AllItems.aspx?id=%2Fsites%2FBIA%2FOps%2FPowerBI%20Data%2FOutput&viewid=a***7%2Ge515%2D4661%2D8581%2D3aa9d5c5f7e1&newTargetListUrl=%2Fsites%2FBIA%2FOps&viewpath=%2Fsites%2FBIA%2FOps%2FForms%2FAllItems%2Easpx
from my research it seems like BIA is the Sharepoint Site, Operations is the Document Library and PowerBI Data/Output is the folder.
what i am providing in the connection is https://companyname.sharepoint.com/sites/BIA but still having an empty folder.
is it supported to create a shortcut using such url pattern? if not where do you suggest that i put my files into?
- mkjit2564 days ago
Helper IV
Hi v-aatheeque you might have missed my comment yesterday. Sorry seems that i didn't reply to you but placed my comment as a general reply.
- ShivekMaharaj3 days ago
Memorable Member
Hi mkjit256,
That extra URL helps quite a lot.
I would not move the files into Shared Documents yet. Microsoft's current OneDrive/SharePoint shortcut documentation does not state that shortcuts are limited to the default Documents library. In fact, Microsoft recommends creating the shortcut at the most specific folder level rather than at the document-library root.
From the URL you posted, it looks like:
- BIA is the SharePoint site
- Operations is the display name of the document library
- Ops is probably the library's internal URL name
- PowerBI Data/Output is the folder you actually want
So the target path appears to be something like:/sites/BIA/Ops/PowerBI Data/Output
The fact that the Fabric picker only exposes Shared Documents therefore looks more like a library-enumeration issue than proof that your custom library is unsupported.
One useful isolation test would be to create a fresh connection against the exact site URL:
using the same organizational account that can browse the Ops library in SharePoint, then check whether Ops appears in the shortcut browser.
If it still only shows Shared Documents, I would capture that as the repro.
There is also a OneLake Shortcuts REST API where a SharePoint shortcut is represented by a location and subpath. That may be worth testing as a workaround because the API lets you specify the SharePoint subpath directly rather than relying on the folder picker.
I would use the library's URL/internal name (Ops) rather than its display name (Operations) when testing the path.
Also confirm that BIA is a normal SharePoint site rather than a subsite or hub site, because Microsoft currently lists SharePoint subsites and hub sites as unsupported for OneLake shortcuts.
AI-assisted drafting: AI was used to help structure and phrase this response. I reviewed and validated the technical content before posting.