Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
za_lg
New Member

Reading semantic model into Fabric notebook

I am a powerbi Trial user.

I'd like to read a semantic model into a Fabric notebook. But I'm getting the following error when running the below:

import
sempy.fabric as fabric

df_datasets = fabric.list_datasets()
df_datasets

ConnectionException: XMLA endpoint feature is disabled. Turn on Analyze in Excel feature in PowerBI.com to enable this feature.
3 REPLIES 3
Arul
Super User
Super User

@za_lg ,

You need to enable XMLA read-only.

 

Arul_0-1717592152401.png

https://learn.microsoft.com/en-us/fabric/data-science/read-write-power-bi-python

Check this for XMLA endpoint enablement process,
https://learn.microsoft.com/en-us/power-bi/enterprise/service-premium-connect-tools





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Ufortuantely this does not answer the question. My trial already has read & write XMLA endpoints enabled... 

@Arul , thank you. My trail enviroment is set to read write. Still getting the same error

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors