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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jaryszek
Memorable Member
Memorable Member

Exporting power bi reports in pdf - where files are stored

Hi Guys,

 

i am using PPU license and want to send powershell request to generate pdf report. 
1) Where it will be stored ?
2) Can i change location of storing it using API?

 

Best,
Jacek

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. The thing is, you can't.

Exporting a Power BI report to file using the exportToFile API, is not supported for Premium Per User (PPU).

You need premium to use that specific request of the Rest API.

When you use the API, the export would be like downloading. You take the file in the code and you can for example store it locally on the VM running the code.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

3 REPLIES 3
ibarrau
Super User
Super User

Hi. The thing is, you can't.

Exporting a Power BI report to file using the exportToFile API, is not supported for Premium Per User (PPU).

You need premium to use that specific request of the Rest API.

When you use the API, the export would be like downloading. You take the file in the code and you can for example store it locally on the VM running the code.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

thank you @ibarrau .

So exporting to file is available only for premium per capacity?

Best,
Jacek

Hey! yes. It's for capacity and it must be gen2 capacity.

You can read more about the considerations in here: https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#considerations-and-limitation...

I hope that helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors