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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors