Programmatically Removing & Updating Default Lakehouse Of A Fabric Notebook
I have written about default lakehouse of a Fabric notebook before here and here. However, unless you used the notebook API, there was no easy/quick way of removing all/selective lakehouses or updating the default lakehouse of a notebook. But thanks ...
fabric.guru3 min read
Vibha Trehan
Thank you so much for your articles. I have been trying to acheive the same, but I found a strange thng when i experimented with this code. Even though the lakehouses get removed, the trace of is still there. Try observing "synapse_widget" section of the JSON returned by notebookutils.notebook.getDefinition. I am not able to find documentation for all the elements of this JSOn - but synapse widget is listed all the lakehouses (even after the removeall lakehouses code)