Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'm trying to use a notebook to read data from a sematic model in a different workspace to the notebook. Following the guide here:
https://learn.microsoft.com/en-us/fabric/data-science/read-write-power-bi#read-data-using-spark-in-p...
I can read data from the same worksapce, but when I try to extend it to different workspace as outlined in the documentation I get the following error when trying to show the tables:
Py4JJavaError: An error occurred while calling o297.sql.
: spray.json.DeserializationException: Object is missing required member 'configuredBy'
I am an admin in the the notebook workspace and the workspace I am trying to access.
Thanks in advance for any help.
Hi @Brendan151
Thanks for using Microsoft Fabric Community.
Apologies for the inconvenience.
As I understand that you are getting an error when trying to read data from a semantic model in a different workspace using a notebook in Microsoft Fabric.
The following troubleshooting steps might help you:
%pip install --upgrade semantic-link
import sempy.fabric as fabric
I hope this information helps. Please do let us know if you have any further questions.
Thanks.
Thanks for your reply.
I am using the latest version of SemPy but the documentation confirms SemPy is not needed for this and I have confirmed the ID matches that shown in the UI.
spark.conf.set("spark.sql.catalog.pbi", "com.microsoft.azure.synapse.ml.powerbi.PowerBICatalog")
spark.conf.set("spark.sql.catalog.pbi.workspace", "<ID>")
spark.sql("SHOW TABLES FROM pbi").show(1000, truncate=False)
I am not sure where to add a Configured by element?
Thanks.
Hi @Brendan151
Inorder to understand the exact issue, it requires a deeper investigation from our engineering team about your workspace and the logic behind it to properly understand what might be happening.
Please go ahead and raise a support ticket to reach our support team: support-ticket
Please provide the ticket number here as we can keep an eye on it.
Hi @Brendan151
Following up to see on the last response whether you got a chance to create a support ticket. If yes please provide the ticket number here as we can keep an eye on it.
Otherwise, will respond back with the more details and we will try to help.
Thanks
Thanks, I have raised a ticket with support (2402130030001207).
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 Fabric update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |