Forum Discussion

robkerrdm's avatar
robkerrdm
Frequent Visitor
2 years ago

Error "FeatureNotAvailable" when trying to use SemPI in Fabric

I'm attempting to use SemPi with a Python Notebook in Fabric to access the semantic model in a Power BI pbix file in my workspace.

 

Everything works in a new Fabric trial tenant I created (and I am admin of), but when I attempt to use it in my company's tenant, I get the error below anytime I try to access elements within a model (relationships, list measures). 

 

I assume there is some admin setting that needs to be enabled (?) but I don't know what it is. I'd like to ask our admin to make some change to enable semantic link, but I don't know if that's the problem...and if it is what setting to change. Anyone have experience with this issue?

 

This call succeeds (enumerating data sets):  `fabric.list_datasets()`

Any attempt to inspect items within data sets fails, e.g:  `fabric.list_relationships(dataset)`

 

list_relationships error:

FabricHTTPException: 403 Forbidden for url: https://wabi-west-us-redirect.analysis.windows.net/v1/workspaces Error: {"requestId":"3d00c050-a75c-4112-8c38-c2a85e562625","errorCode":"FeatureNotAvailable","message":"The feature is not available"}

 

1 Reply

  • Hi robkerrdm 

     

    These are the settings that I have enabled in my PBI Tenant for Fabric, and I would suggest asking your Admin to have a look at these settings in the Admin Portal?