Power BI Desktop projects Azure DevOps integration

Note

Power BI Desktop projects is currently in preview.

Microsoft Power BI Desktop projects enable developer collaboration by connecting your local Git repo to a remote Git host, like Azure DevOps.

Diagram of PBIP and Azure DevOps integration.

Create a Git repo in Azure DevOps

  1. In Azure DevOps, select an existing organization, or create a new one.

  2. Create a new Project within the organization:

    Screenshot of PBIP and Azure DevOps integration new project button.

  3. Enter your project details.

    Screenshot showing how to add new project details in PBIP and Azure DevOps integration.

  4. Select Repos > Files, and then select 'Initialize' to create an empty branch:

    Screenshot showing how to initializa a new branch.

  5. In Repos > Files, select Clone > Clone in VS Code

    Screenshot of UI for PBIP and Azure DevOps integration clone repo.

  6. In Visual Studio Code (VS Code) > pick a folder and open

    Screenshot of PBIP and Azure DevOps integration clone repo selection.

    Screenshot of PBIP and Azure DevOps integration clone repo.

  7. Save your Power BI Project files to the selected folder

    Screenshot of saving a PBIP in VS Code.

  8. Commit and sync changes

    Screenshot of UI for Commit in VS Code.

    Screenshot of UI for Sync in VS Code.

    VS Code takes care of publishing your project into Azure DevOps, where you can see your project files.

    Screenshot showing how to see your project in Azure DevOps.

As you can see, with Azure DevOps integration, you can have multiple developers working on the same Power BI project as long as they're synced with the same Azure Devops Git Repo.

If you're using Microsoft Fabric, you can also connect a Fabric workspace to an Azure DevOps Git repo and get all your content automatically deployed into the service. Git and Azure DevOps integration can provide a continuous integration workflow not only from Power BI Desktop to the service, but also from changes made in the service to Power BI Desktop. To learn more, see Microsoft Fabric - Introduction to git integration.