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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
PowerWhy
Helper IV
Helper IV

How to overwrite dataflow with json file while keeping the same dataflow id?

Hello,

 

To backup up a dataflow's logic I download the json file. If I need to restore a dataflow's logic I need to be able to overwrite an existing dataflow with the backup json file, but keep the dataflow id the same. Please can you tell me how to do this / if it's possible?

 

I'm trying to do this because in power bi query editor the dataflow is defined by dataflowid not dataflowname (I know the power bi query editor M code can be tweaked to query by dataflowname instead of dataflowid but this is somewhat manual and introduces some risk due to the code being complicated).

 

Thank you for any help,

 

CW

1 REPLY 1
dbeavon3
Memorable Member
Memorable Member

@PowerWhy It is possible.  It is part of the "imports" REST api for dataflows.  It is an extremely unintuitive API and very buggy as well.  It is only supported if you use the REST API for the initial import and all subsequent ones after that. 

Even if you follow the rules, you will probably still encounter bugs (eg. importing with different credentials and what-not).

I would recommend you proceed with caution and open a support ticket with CSS as soon as you run into trouble.  They should be able to guide you thru the rest of the way.  I think they have staffed hundreds of CSS engineers, as a way to compensate for the buggy and confusing behavior of the software.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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