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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Community Champion
Community Champion

@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
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.