Forum Discussion
Create Sharepoint shortcut in Fabric lakehouse by code/API
Copilot tells me that this issue is because the app I'm using to get fabric token doesn't have access to sharepoint. But it this true?
When I create manual shortcuts using this connection, it uses the token from my personal account, which shouldn't have access to SharePoint, since it's the connection itself—which uses Service Principal authentication—that authenticates against SharePoint.
I understand that even if I use another app to obtain the token, the behavior should be the same—that is, the Fabric token app does not have access to SharePoint (just like my personal account)—but when using the SharePoint connection with the app that DOES have access to SharePoint, it is that app that is used for authentication with the SharePoint site.
I've designed a mockup to better understand de use case of what is happening: