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
MAwwad
Solution Sage
Solution Sage

Exporting Several Pages from 1 app that contains several reports

Hello,

 

 

I have an App on PowerBI services, In this app I have 5 unrelated reports.

 

I want to export to PDF 1 page from each report in the app.

 

What is the best way to do that ?

4 REPLIES 4
Anonymous
Not applicable

HI @MAwwad,

You can use get reports API to get correspond reports from app, then you can write a loop to invoke export API with previous results:

Apps - Get Reports - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Regards,

Xiaoxin Sheng

Hello,

 

I know that you can do this but my question is that how can I refresh the Auth token since it works only for 3600 second !

Anonymous
Not applicable

Hi @MAwwad,

You can store the token and expiry into variables and create function to check the expiry datetime and update token, then you can add this function into the loop and use it before invoke API.

Regards,

Xiaoxin Sheng

Can you help with that ?

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.