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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Danalber
Advocate II
Advocate II

Deployment Pipeline - Remove old content (delete upstream)

Hi,

I want to delete an obsolete report in my DEV environment (could also be a flow or something else), can I deploy this change (delete report) with the pipeline upwards to TEST and PROD? I didn't find anything and seems strange if I have to delete this report individually in each environment. Thought this should also be handled and tracked with the pipeline.

 

Danalber_0-1720177412595.png

 

Anyone had this issue?

Thanks

BR Daniel

 

 

1 ACCEPTED SOLUTION

Hi @Danalber ,

 

If nothing is there in the dev then how it will compare items of dev with test or prod.If you have deleted report 1 and if you deploying then nothing will flow to next stage and your report will not replaced with nothing.As per my knowledge it's not possible.

 

Thanks,

Sai Teja 

View solution in original post

6 REPLIES 6
ibarrau
Super User
Super User

Hi. Yes, if you deploy it will delete in test what you have removed at dev. It shows a -1 in red to inform you there is a removed item. As the docs says:

The file content lines are numbered and the lines that were changed are marked as follows:

  • Changes shown in the To be modified stage will be removed or overwritten during the next deployment. They're highlighted in red with a '-' sign next to the number.

You can read more about the way it compares in here: https://learn.microsoft.com/en-us/fabric/cicd/deployment-pipelines/compare-pipeline-content?tabs=bro...

I hope that helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Hi @ibarrau ,

Thank you for your reply.

I just tried to deploy, but the deleted flow is not removed in Test. I tried to deploy everything (all changes) or just another flow I wanted to updated but with neither one the change of the deleted flow is pushed upstream. And I cannot selected the delete flow in DEV, as it is deleted.

What am I missing?

Thanks again.

Have a nice day

 

PS: Just double checked the docu, according to that. Deleted items will not be changed, thus deleting upstream doesn't work?! 😕

Danalber_1-1720438551440.png

 

Danalber_0-1720438510120.png

 

Hi @Danalber ,

 

You can use rest API commands and you can drop them easily.

https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/delete-semantic-model?tabs=HTT...

 

 

Thanks,

Sai Teja 

Hi @SaiTejaTalasila ,

Thank you for your reply, I have access and can delete the model or the flow directly but I was hoping that this would also be managed through the pipeline, so we also have a record of the whole deleting process. But seems this is not the case currently.

Have a great day

BR Daniel

Hi @Danalber ,

 

If nothing is there in the dev then how it will compare items of dev with test or prod.If you have deleted report 1 and if you deploying then nothing will flow to next stage and your report will not replaced with nothing.As per my knowledge it's not possible.

 

Thanks,

Sai Teja 

Hi,
well, I was expecting also deleting items would be pushed upstream so it is logged in the History of the deployment pipeline. But unfortunately this seems not to be the case. 😞

I have to delete those entries manually in each environment.

 

But thanks for all the replies.

BR

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors