Forum Discussion
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"}