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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.