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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-cgao-msft
Community Support
Community Support

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors