Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I'm trying to get report list with different properties such as report id, name, emabedded url, height, width etc in c# .net api.
I'm able to get the report list along with id, name, url but not able to get the report properties like height, width, pages etc. I can see we can do that via embedding each report which is not optimal. Is there any api which provides all list without embedding it? Because imagine if we've 1000 reports and need to sync each by embedding on client-side to get just the width, height and pages list.
Looking forward to get some positive responses. Thank you!
Hi @MM280089
Have you ever tried the getreportsasadmin API?
The API returns a subset of the following list of report properties. The subset depends on the API called, caller permissions, and the availability of data in the Power BI database.
Refer to: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/reports-get-reports-as-admin#definitions
Regards
Red
Yes, but few properties are missing like original height, width etc.