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

avatar user

Helpful resources

Announcements
MarchFBCvideo - carousel

Fabric Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)