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
VVT
Regular Visitor

notebookutils.workspace throw error: this api is not supported

I have been calling notebookutils.workspace.list() to get a list of all workspaces in Fabric notebook and it has been working fine until yesterday. It starts to throw error as below.

I also tried notebookutils.workspace.get('workspacename') and it threw the same error message. Is this function not supported any more or it is just somehow broken because it is still in Preview status?

 

 

Py4JJavaError: An error occurred while calling z:notebookutils.workspace.list.
: scala.NotImplementedError: this api is not supported
	at notebookutils.workspace$.$anonfun$list$1(workspace.scala:41)
	at com.microsoft.spark.notebook.common.trident.CertifiedTelemetryUtils$.withTelemetry(CertifiedTelemetryUtils.scala:69)
	at notebookutils.workspace$.list(workspace.scala:40)
	at notebookutils.workspace.list(workspace.scala)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:238)
	at java.base/java.lang.Thread.run(Thread.java:829)

 

 

 

4 REPLIES 4
BlackCurrant
Frequent Visitor

Hi, Did it get resolved? I have the same issue. 

Not resolved. I changed my code to use sempy.fabric package

Anonymous
Not applicable

Hi @VVT 

 

If I understand correctly, it was running fine before the error was reported. So have you made any changes to the data source or elsewhere?

 

Best Regards,
Yulia Xu

Hi Yulia,

No changes at all. I am just simply calling the python command notebookutils.workspace.list() to get a list of all workspaces. This notebookutils.workspace is available in the Notebook and I believe it's a utility library managed by Microsoft. Capture.PNG 

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