Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowGet certified as a Fabric Data Engineer: Check your eligibility for a 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700. Get started
Hi everyone,
I am currently working in a BI project based on Fabric. We are using notebooks to import, transform and refine data that will be later modeled in semantic models.
Our scenario:
Our issue:
when we deploy the notebooks to test environment, only a few of them are deployed with the lakehouse attached. All the other ones are deployed without any lakehouse attached; as a consequence we are not able to create deployment rules to switch default lakehouses from dev lakehouses to test lakehouses.
Regards,
APG
Solved! Go to Solution.
Thank you for your reply; in my case none of the steps provided solved the issue.
After many checks on my notebooks I finally discovered that all the notebooks that "lost" the attached default lakehouse (during the deployment), had an empty cell at the end as a last cell.
Example:
Removing these last empty cells solved the issue: now all my notebooks are deployed with the default lakehouse attached.
Hi @APG ,
You can follow the steps below to troubleshoot and resolve the issue:
If the above steps do not help you resolve the issue, as a temporary solution you might need to manually attach the lakehouses in the test environment after deployment. It can help you move forward while the underlying issue is resolved.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your reply; in my case none of the steps provided solved the issue.
After many checks on my notebooks I finally discovered that all the notebooks that "lost" the attached default lakehouse (during the deployment), had an empty cell at the end as a last cell.
Example:
Removing these last empty cells solved the issue: now all my notebooks are deployed with the default lakehouse attached.