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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

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
v-nikhilan-msft
Community Support
Community Support

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

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 

v-nikhilan-msft
Community Support
Community Support

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."?

Apologies. I have edited the answer

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.