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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
seadude
Regular Visitor

Programmatically Save PDF's to Fileshare/OneDrive

Hello,

 

Does PowerBI Service OR PowerBI Report Server have the ability to save report PDF's to a fileshare/OneDrive folder on a schedule?

Example:

- Every day at 0300

- Save each of our customer reports, as a PDF, to a customer folder in OneDrive or to an on-prem fileshare

Does anyone know how to get static files out of Power BI on a schedule?

 

Thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

6 REPLIES 6
Greg_Deckler
Community Champion
Community Champion

I would use PowerAutomate (Flow) to do that coupled with the Power BI REST API.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler, I'm thinking something like this:

https://docs.microsoft.com/en-us/power-bi/service-url-filters.

Need to able to pass filter parameters to the API. Ever tried this?

@Greg_Deckler,

Ii don't see a API call that can pass parameters to a Report. Do you know how this is accomplised?

Example:

- I have 200 customers

- I want to programmatically send them each a filtered version of the same Report in PowerBI
- How can I send PowerBI the filter query via REST and get the filtered Report as a response?

Is the only way to create a 200 page Report then use the Get Page API?

Thanks!

Anonymous
Not applicable

Correct.
Anonymous
Not applicable

hi @seadude 

 

Until day before yesterday its not possible.  Yesterday MSFT announced a new REST API to programmatically export the report as PDF or PPTX or PNG file.

 

Refer : https://powerbi.microsoft.com/en-us/blog/export-report-to-pdf-pptx-and-png-files-using-power-bi-rest...

 

You can build automation to export and store it automatically to the onedrive folder or shared drive folder.

 

Did I answer your question? Mark my post as a solution!

For posterity,

Here are the REST docs I was looking for: https://docs.microsoft.com/en-us/rest/api/power-bi/

Will try @Greg_Deckler 's idea.

THanks!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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