Forum Discussion

Jason-J's avatar
Jason-J
New Member
4 months ago
Solved

Notebook Git Binding Not Autobinding

Recently the option to autobind notebooks to target workspace was introduced which if enabled I would expect notebooks to take on the target lakehouses when you sync a git branch; however, this doesn...
  • v-echaithra's avatar
    4 months ago

    Hi Jason-J ,

    Thank you for reaching out to the Microsoft Fabric Community.

    We were able to review the scenario you described, and your observation is correct. The Git binding setting for notebooks works based on metadata stored in the repository, and not solely on the workspace level configuration.

    When the “Lakehouse in new workspace” option is enabled, Fabric updates the notebook metadata accordingly. However, this change must be committed to the main branch before it can take effect in any new workspace. If the metadata changes are not committed, subsequent workspace creations or branch syncs will continue to use the previous lakehouse binding.

    Recommended approach:

    Enable the Git binding setting (Lakehouse in new workspace)
    Commit all resulting notebook metadata changes to the main branch
    Proceed with branching or syncing into a new workspace

    Once these steps are followed, notebooks should bind correctly in the target workspace.
    Please let us know if you continue to face any issues or need further clarification.

    Thank you.