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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
DebbieE
Community Champion
Community Champion

Fabric Notebook. getting a message that the current session is using the previous Default lakehouse

I can't get rid of this message when I go to my notebook.

 

The Delta lake it goes to has been deleted.

I can see the current one in the list but its greyed out so I cant use it. And every time I start spark I get this message. Even though the code works (Up to creating the PARQUET file from the data frame I have created) can anyone tell me how to resolve this because I have been trying all mroning

 

NotebookOpeningOnnotdefaultIssue.png

1 ACCEPTED SOLUTION
Expiscornovus
Super User
Super User

Hi @DebbieE,

 

You can use the %%configure magic to set a different lakehouse as the default for your Spark session

https://learn.microsoft.com/en-us/fabric/data-engineering/author-execute-notebook#spark-session-conf...

 

Below is an example

 

%%configure
{
    "defaultLakehouse": {  
        "name": "FourthLakehouse"
    }
}

 

defaultlakehouse_notebook.png

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

View solution in original post

3 REPLIES 3
DebbieE
Community Champion
Community Champion

Fantastic. than worked. Thank you

Hi @DebbieE 

 

Glad to know that your query got answered.

Please continue using Fabric Community on your further queries.

 

Thanks.

Expiscornovus
Super User
Super User

Hi @DebbieE,

 

You can use the %%configure magic to set a different lakehouse as the default for your Spark session

https://learn.microsoft.com/en-us/fabric/data-engineering/author-execute-notebook#spark-session-conf...

 

Below is an example

 

%%configure
{
    "defaultLakehouse": {  
        "name": "FourthLakehouse"
    }
}

 

defaultlakehouse_notebook.png

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric 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 Kudoed Authors