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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.