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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save โ‚ฌ200 with code FABCOMM. Get registered

Reply
KimTutein
Advocate II
Advocate II

Git branch - using spark environment deletes public and custom packages

Hi Community

Does anyone have experiance with branching off in git and using environment in spark. The usecase I have is I have a workspace with our code items (pipelines, notebooks and environments). The workspace is connected to git (DevOps). I am able to branch of main and make for instance feature_1 branch and synch with new workspace. Every item is recreated in new workspace but for environment I see two problems

  1. All public and custom library is deleted from the environment
  2. We will need to publish environment again from new workspace which will take quite some time (+15 minutes)

 

I would love just to reuse environment from original branch but it does not seem possible.

 

Anyone who will share experience with branching off and using environments?

 

Friendly Regards

Kim Tutein

1 ACCEPTED SOLUTION
v-pagayam-msft
Community Support
Community Support

Hi @KimTutein ,

Thank you for reaching out to the Microsoft Fabric Community Forum about the issue you are encountering.

Providing the resolution steps which might assist you in resolving the issue:

  • Before branching off,export libraries from the old workspace using REST API.
    After creating new workspace, reinstall libraries in the new environment.
  • For the second one,Create base environment templates to quickly set up the same environment for new workspaces.

 

If still facing difficulty in resolving the issue, please feel free to reachout.

If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
KimTutein
Advocate II
Advocate II

Hi @v-pagayam-msft 

 

Thank you for reaching out. I get we could do the above which is indeed what I have been doing (by hand though and not REST API). However I feel that it is a bug that one cannot make a new wokrspace using the gui and correctly synch from git into that (doing this by hand add extra work and is an operational risk - I would imagine that one develober foregot this and merge back into main - the develober could have been changing just a data pipeline). I have made a incident to the support and they are looking further into it.

 

Thank you very much for your input - I have accepted as a Solution

 

Regards

Kim

v-pagayam-msft
Community Support
Community Support

Hi @KimTutein ,

Thank you for reaching out to the Microsoft Fabric Community Forum about the issue you are encountering.

Providing the resolution steps which might assist you in resolving the issue:

  • Before branching off,export libraries from the old workspace using REST API.
    After creating new workspace, reinstall libraries in the new environment.
  • For the second one,Create base environment templates to quickly set up the same environment for new workspaces.

 

If still facing difficulty in resolving the issue, please feel free to reachout.

If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

Helpful resources

Announcements
May FBC25 Carousel

Fabric Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Kudoed Authors