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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Power BI REST API GetReportsInGroupAsAdmin returning deleted items, anyway around this?

Hi folks,

 

I'm using the GetReportsInGroupAsAdmin and GetDatasetsInGroupAsAdmin methods in the REST API to create an inventory of items in our tenant.  We are not on Premium.

 

I've found that these methods return items that do NOT appear in the service UI.  I assume they were there and are deleted.  The Dataset and Report objects that are returned do not have any State property that indicates these items are not valid.  I'm wondering if anyone has seen this and/or has a solution.  There is a filter parm for the calls but I'm unsure of what property could be used as one does not get returned in the response that would indicate the deletion.

 

I could call the GetDatasetByID method passing in the group and dataset id and that method does create a NotFound exception but I'd rather not go that route.  I also noticed that the regular GetDatasetsInGroup method does NOT return the deleted items.

 

I am using the wrapper assembly provided on Nuget.

 

Any ideas are appreciated,

Thanks

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.