Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have added the semantic link library to my workspace environment in fabric
however It does not work when trying to access it, for example
import sempy.fabric as fabric
# List the available semantic models
df_datasets = fabric.list_datasets()
df_datasets
Am I missing something obvious here?
I don't see anything obviously wrong here.
Your code looks good to me.
It's not necessary to install Semantic Link or add it to environment. It is pre-installed.
I have no idea what that error message means.
Can you try to create a new workspace, add a semantic model, create a new notebook, and run the code again.
Just use the default environment.
And try this code:
import sempy
import sempy.fabric as fabric
x = fabric.list_items()
x
thansk for the tips
it worked with a small semantic model in a new workspace
I seems like I have issues with my current workspace
Hi @joakimfenno ,
Thanks for the reply from frithjof_v .
It looks like you have found a solution. Could you please mark this helpful post as “Answered”?
This will help others in the community to easily find a solution if they are experiencing the same problem as you.
Thank you for your cooperation!
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
sure but I still need help identify what issue with my general workspace is
This works fine on my side, I didn't do anything about installation or environment:
The Created Timestamp column seems to return a strange value, but other than that it seems to be working as expected.
I have the same issue, but new workspaces do not solve the issue.
Which SKU did you used?