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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Alanator500
Frequent Visitor

PBIX Export with Power BI API

Hello!

I have found that the one thing that I would really want out of Fabric and Power BI is the option to daily export PBIX files as back up. This is something I haven't noticed in the service as an option. This seems very important in the governance area, if someone were to delete the report in the workspace, I'd like to have a copy of the PBIX file available to publish to recover it.

I have been recently dabbling in the Power BI API to get usage metrics. But it also has the export option to use the API for. I am using a service principal to use this API. I have gotten a Power Automation together that gets the workspace IDs and Report IDs and then the goal is the automation uses the Service Principal to export these PBIX files into a Sharepoint folder. Everything works up to the export.

The service principal seems to have all the permissions needed but when I run it, it fails. I was doing some research and saw that this option is only with delegated permissions. Has anyone worked on something like this? Had an automation that would download a copy of the report for backup? Did you use Power Automate. I just want to see if I'm doing something wrong, or if there are limitations.


1 REPLY 1
lbendlin
Super User
Super User

or if there are limitations.

yupsies,  and lots of them.

 

Download a report from the Power BI service to Power BI Desktop - Power BI | Microsoft Learn

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.