Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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)
Hi, Did it get resolved? I have the same issue.
Not resolved. I changed my code to use sempy.fabric package
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
36 | |
27 | |
25 | |
25 |
User | Count |
---|---|
62 | |
53 | |
30 | |
24 | |
23 |