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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
vinaypat2023
New Member

Backing up Power BI dataflows as .json file

Hello

I'm looking for a solution for backing up the Dataflows in the Sharepoint folder 
I am able to follow and gather all the requirments as metioned in this documentations but we face multiple errors while testing the flow in Powershell 

https://cooptimize.org/are-you-backing-up-your-power-bi-dataflows-here-are-two-ways-to-ensure-you-ne...

Wanted to know if anyone has a proper working solution for backing up Dataflows.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vinaypat2023 ,

 

If you enable the Azure storage connection on your Power BI workspace, a copy of your dataflow definition and snapshots are automatically stored in a data lake. You can then recover a deleted or modified dataflow by downloading its model.json file from the data lake, then importing it back to Power BI.

You can use Power Automate or Azure Logic Apps to export your dataflow definition to a JSON file, then store it in SharePoint or Azure Data Lake Gen2. Using either of these methods enables you to back up your dataflow using alternative file storage options and automate the process.

You can also manually export your dataflow to a JSON file and import it to another workspace or location. Manually exporting your dataflow is simple and quick, but is a manual process that must be done each time you want to back up your dataflow.

Dataflows best practices - Power BI | Microsoft Learn

 

Best regards.
Community Support Team_Caitlyn

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @vinaypat2023 ,

 

If you enable the Azure storage connection on your Power BI workspace, a copy of your dataflow definition and snapshots are automatically stored in a data lake. You can then recover a deleted or modified dataflow by downloading its model.json file from the data lake, then importing it back to Power BI.

You can use Power Automate or Azure Logic Apps to export your dataflow definition to a JSON file, then store it in SharePoint or Azure Data Lake Gen2. Using either of these methods enables you to back up your dataflow using alternative file storage options and automate the process.

You can also manually export your dataflow to a JSON file and import it to another workspace or location. Manually exporting your dataflow is simple and quick, but is a manual process that must be done each time you want to back up your dataflow.

Dataflows best practices - Power BI | Microsoft Learn

 

Best regards.
Community Support Team_Caitlyn

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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