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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
VijayP
Super User
Super User

Cleaning Workspaces in Power Bi Service

Hi

 

In Power BI Service one team uploaded many reports and few are duplicate. Now we need to clean up. 

The known approach is to individually check each dataset and then clean Workspaces.

Is there any batch activity using metadata or any other process to save time.

 

Suggestion will be appreciated!

Regards

Vijay Perepa




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

I would rather check on them individually to ensure that you do not delete a valid report?

If it is in multiple app workspaces then you could delete them. I still would do it manually, to ensure the right app workspaces are deleted.

You could this API to delete the datasets which would also delete the report (But NOT the dashboard)

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/deletedatasetingroup

And you could use PowerShell to loop through the datasets to delete them if need be.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

Hi there

I would rather check on them individually to ensure that you do not delete a valid report?

If it is in multiple app workspaces then you could delete them. I still would do it manually, to ensure the right app workspaces are deleted.

You could this API to delete the datasets which would also delete the report (But NOT the dashboard)

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/deletedatasetingroup

And you could use PowerShell to loop through the datasets to delete them if need be.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.