Forum Discussion
DatasetNotFoundException: Notebook cannot detect dataset even though it exists in the same workspace
Actually, both the notebook and the semantic model (dataset) are in the same workspace.
I have workspace admin permission. Do we need to add any additional permissions
Hi SreeAravindM , Thank you for reaching out to the Microsoft Community Forum.
If the notebook and the semantic model are in the same workspace and you already have Workspace Admin, you don’t need any additional permissions. In most cases where fabric.list_datasets() returns empty, the issue is how the notebook is authenticated. When a notebook runs under a service principal or another restricted token, it can access items like lakehouses but still fail to enumerate semantic models, even with workspace admin rights. Running the notebook with an interactive user token or giving the identity used by the notebook explicit Viewer/Build access on the semantic model, usually makes the dataset show up immediately.
If you’ve confirmed the workspace is correct and you’re already using an interactive user identity with normal rights, then the problem is likely a backend/SDK issue rather than a permissions one. In that case, I suggest opening a Microsoft Support ticket.
Below is the link to help create Microsoft Support ticket:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Also, please refer:
Service Principal support for Semantic Link - Microsoft Fabric | Microsoft Learn