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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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