This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Lifecycle Management is a topic that is crucial for any organization to establish, and with Microsoft Fabric, it has never been easier to embark on this journey. In this article, we will delve into the essentials of enabling it through a demo scenario, but before we dive in, let’s take a moment to explore what Lifecycle Management is, and what it means in Fabric.
For those unfamiliar with this topic, Lifecycle Management utilizes tools by facilitating a standard process of communication and collaboration between developers and their teams. Within Microsoft Fabric, this is done through continuous releases, using effective delivery methods through an ongoing flow of new features or bug fixes. There are two components of doing this in Fabric and those are Git and Deployment Pipelines.
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Utilizing Git provides an effective process for development teams to reliably and frequently update supported items in a workspace. The current items include:
There are a few limitations to be aware of when configuring Git with Fabric. The current limitations are:
First, I added Fabric items within my FabricDEV workspace which I would like to add the Lifecycle Management components to. These include a Semantic model, Report, Lakehouse, Default Lakehouse Semantic model and a Notebook. This is the first step you’ll want to take in configuring this setup by adding existing items to a workspace:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated" width="841" height="237">
Next, navigate to the Azure DevOps service (https://dev.azure.com/) and create a new Project. In this demo, we will be creating a private project:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Within the Fabric Git Integration project, create a new repository for where you would like to store the version control of the supported Fabric items:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Now that the repository is created, let’s hook it up to the FabricDEV workspace in Fabric. This is done by going to the Workspace settings, selecting Git integration and from the drop-down menu, selecting all that apply to connect to the Azure DevOps account:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Once the connect and sync option is selected, the items within the Fabric workspace will begin to sync to the Git repo:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated with medium confidence">
This will take a short time for the Git repo to sync. Once the sync has completed, you’ll also notice the Fabric items which are not supported. Additionally, at the bottom of the workspace, there will be information displaying the branch you are currently working on and last time it was synchronized. In the top right corner of the workspace, you’ll also be able to keep track of all the changes that are pending:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Navigating back to the Azure DevOps Repo we created, let’s look at the files now to see what that looks like:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
As you can see, the Fabric items from the FabricDEV workspace have been synchronized and committed to the Git repository. This is the exciting part – we can now leverage Deployment Pipelines and synchronize the supported Fabric items to other workspaces through the stage and deployment process! Let’s look at how we can quickly configure it.
Navigate to the Deployment Pipelines hub and select new pipeline, enter a pipeline name, and click next:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
For this demo, we are going to create two stages, but up to 10 are supported within Deployment Pipelines. I’ve added the stage names and will now create them:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Now that the pipeline stages are created, we can assign a workspace to each stage. Within Fabric, we will use the existing FabricDEV workspace in which our Git repository was set up and add a FabricTEST workspace as a destination for our Fabric items. Once the workspaces have been selected from the drop down, click on assign workspace for each deployment stage:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Within the deployment pipelines, you’ll now be able to see the items that are within the current stage (FabricDEV workspace) and compare the items against the target stage (FabricTEST workspace):
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Let’s click deploy and copy these items to our target stage. We will get a message to confirm our deployment, the items which will be deployed, the ability to add a note to the deployment and an override option to continue it in case one or more items fail. Everything looks good, so we can go ahead and select Deploy:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
Let’s check the FabricTEST workspace and as you can see, all our Fabric items have synced:
Microsoft_Fabric_Lifecycle_Management_-_Getting_started_with_Git_Integration_and
Description automatically generated">
That’s it! We’ve now completed moving Fabric items from a DEV to a TEST workspace utilizing Deployment pipelines.
For further information and understanding all aspects of the deployment process between stages, please refer to this documentation: The Microsoft Fabric deployment pipelines process - Microsoft Fabric | Microsoft Learn. Also, to setup take the Fabric Lifecycle Management a step further, see this documentation on configuring release pipelines for complete automation: Automate your deployment pipeline by using APIs and Azure DevOps - Microsoft Fabric | Microsoft Lear...
To summarize this overview, we learned what Lifecycle Management in Microsoft Fabric is and the components which make it up. We walked through how to get started with setting up a Git repository in Azure DevOps, how to sync it to a Fabric workspace, and enable Fabric Deployment Pipelines for workspace isolation in the development process. I hope you find this overview helpful and relevant to getting started using these components of Lifecycle Management in Fabric!
References:
Overview of Fabric Git integration - Microsoft Fabric | Microsoft Learn
Overview of Fabric deployment pipelines - Microsoft Fabric | Microsoft Learn
The Microsoft Fabric deployment pipelines process - Microsoft Fabric | Microsoft Learn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.