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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.