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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
anawast
Microsoft Employee
Microsoft Employee

Automate attachment of Lakehouse/data source in Notebook

We are trying to automate the creation of Lakehouses, and the creation of tables within the lakehouse through a Notebook. We are able to achieve the automation of lakehouse creation using the Fabric APIs. However, we are unable to create a table in the aformentioned lakehouse unless we first manually attach the lakehouse to the notebook. Is there any non manual way to achieve this process?

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @anawast 
Thanks for using Fabric Community.
Currently attaching a lakehouse using API or in a automated fashion to a notebook is not possible in Fabric.
Appreciate if you could share the feedback on our feedback link , which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)

Hope this helps. Please let me know if you have any further questions.

View solution in original post

Anonymous
Not applicable

Apologies. I have edited the answer

View solution in original post

4 REPLIES 4
frithjof_v
Super User
Super User

@anawast perhaps this blog post can help you:

 

https://fabric.guru/how-to-mount-a-lakehouse-and-identify-the-mounted-lakehouse-in-fabric-notebook

 

I haven't tried it myself but it seems like that would make it possible to attach a lakehouse to a notebook programmatically 

Anonymous
Not applicable

Hi @anawast 
Thanks for using Fabric Community.
Currently attaching a lakehouse using API or in a automated fashion to a notebook is not possible in Fabric.
Appreciate if you could share the feedback on our feedback link , which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)

Hope this helps. Please let me know if you have any further questions.

I guess what you mean is: 

"Currently attaching a lakehouse in an automated fashion to a notebook is not possible in Fabric."?

Anonymous
Not applicable

Apologies. I have edited the answer

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 FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric 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.