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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.