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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
aashton
Helper V
Helper V

Deploying pbix through Azure pipeline loses data source

We have a continued problem where pbix files deployed through an Azure pipeline lose their datasource.  So, say I have a pbix file connecting to an Azure SQL Database.  I publish this to a Dev workspace.  I then, using our pipeline, deploy this file into a Test and Prod workspace.  However, when I go to open it in Test or Prod, I get nothing but errors and blank visuals, so I will download the file to see what happened, and there is no data sources in the file.  We can't figure out what we are doing wrong??

1 ACCEPTED SOLUTION
otravers
Community Champion
Community Champion

Deployment pipelines push metadata only, you need to refresh the dataset after deployment.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @aashton ,

 

The official documentation says this:

After the deployment is complete, refresh the datasets so that you can use the newly copied content. The dataset refresh is required because data isn't copied from one stage to another. To understand which item properties are copied during the deployment process, and which item properties are not copied, review the item properties copied during deployment section.

 

For more details, please refer to this:

Deploying content to an empty stage

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

otravers
Community Champion
Community Champion

Deployment pipelines push metadata only, you need to refresh the dataset after deployment.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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