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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jaryszek
Post Patron
Post Patron

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors