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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MM280089
New Member

how to get list of reports along with height, width in c#.net api?

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!

2 REPLIES 2
PowerBI_Student
Regular Visitor

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.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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