Forum Discussion
Microsoft Fabric
Hi ChhayaSharma
In your case, the LakehouseWorkspaceId parameter is empty, which is not a valid GUID. To fix this error, you need to specify a valid LakehouseWorkspaceId when creating the Livy session. You can get the LakehouseWorkspaceId from the Azure portal.
Here are the steps on how to fix the error:
- Go to the Azure portal and sign in to your account.
- Click on the "Fabric" blade.
- Click on the "Workspaces" tab.
- Select the workspace that you want to use.
- Click on the "Settings" tab.
- Under the "Lakehouse" section, copy the "LakehouseWorkspaceId" value.
Now that you have the LakehouseWorkspaceId, you can create the Livy session by specifying the LakehouseWorkspaceId parameter. For example:
import livy client = livy.Client("https://fabric.azure.com") session = client.create_session(lakehouse_workspace_id="<LakehouseWorkspaceId>")Once the Livy session is created, you can run your notebook.
I hope this helps! Let me know if you have any other questions.
- chitswe3 years agoNew Member
Hi Anonymous ,
Where should I add this code to?
- Anonymous2 years agoNot applicable
I was having the same issue and what fixed for me was I changed the "Default storage format" to "Large semantic model storage format". It was Small semantic model storage format before the change. To do so, you go Workspace Settings > Premium, and scroll down until you see a section called "Default storage format"