Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hello
Is it possible to deploy a dataflow with an Azure DevOps pipeline ?
Just for information I'm using a Service Principal to run the pipeline.
Thanks in Advance,
Charline
Solved! Go to Solution.
Hi @Charline_74,
You can take a look at the following link about azure DevOps to invoke rest API, then you can refer them to use azure DevOps to integrate power bi rest API.
Invoke HTTP REST API task - Azure Pipelines | Microsoft Learn
Dataflows - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Notice:
current power bi seems not support to use API directly create a dataflow, so I think you may need to create it at first, and then you can use API to modify them.
Regards,
Xiaoxin Sheng
hello @carolpz,
The solution I found is to use a Service Account + The deployment task of the Power BI Automation Tools extension
Hi @Charline_74 - you can you the import api to upload the dataflow json. Imports - Post Import In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn. The irony is that you need to use Power BI to create the json file.
Hello, @Charline_74. Did you find a solution for deploying dataflow with Devops?
@v-shex-msft is there a way to move the dataflow from a workspace to another using APIs? I only see APIs to change, but not to deploy (even by power bi Deployment pipelines).
I'm looking for a solution to dataflow deployment, but I couldn't find a way to automate this.
Thank you in advance.
Carol
hello @carolpz,
The solution I found is to use a Service Account + The deployment task of the Power BI Automation Tools extension
Looks like an interesting tool but it lists in the limitations that it cannot be used to deploy dataflows with a service principal.
Hi @Charline_74,
You can take a look at the following link about azure DevOps to invoke rest API, then you can refer them to use azure DevOps to integrate power bi rest API.
Invoke HTTP REST API task - Azure Pipelines | Microsoft Learn
Dataflows - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Notice:
current power bi seems not support to use API directly create a dataflow, so I think you may need to create it at first, and then you can use API to modify them.
Regards,
Xiaoxin Sheng