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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply

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

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

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

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
MarchFBCvideo - carousel

Fabric Monthly Update - March 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Kudoed Authors
Users online (5,394)
  • jsarali
  • gambidithng25dv
  • Ashok_Gopeani
  • 777gpoker
  • flashmeetscom
  • appongtho24h
  • kiket
  • DAAXRasheed
  • oxbetdubaiapp
  • ThxAlot
  • Surekha_PM
  • Rapedro
  • SpartaBI
  • suparnababu8
  • mphillenga
  • technolog
  • mamo_ob
  • wdx223_Daniel
  • omatura
  • pankajnamekar25
  • ray_codex
close