web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cannot import solution...
Power Apps
Unanswered

Cannot import solution containing Dataflow (Error Code: 80040265, DataflowId already exists under a different environment)

(1) ShareShare
ReportReport
Posted on by 401

Hello!

 

I am trying to import a simple unmanaged solution that contains four dataflows in a new environment. The purpose is to move the solution through ALM phases, from DEV to UAT to PROD. The solution import fails and I get the following message:

 

Error code
80040265
Exception message
Code: BadRequest Content: DataflowId already exists under a different environment

 

The error message is a little ironic... of course the Dataflow ID exists in a different environment, that's what ALM is all about.

 

I had previously been able to migrate dataflows between environments, no problem. Any idea what could be the cause?

 

Thanks!

 

Keep 'em flowin'

 

Charles

 

CharlesS_0-1653931685524.png

 

I have the same question (0)
  • Verified answer
    Charles Seguin Profile Picture
    401 on at

    Hello All!

    So I was able to solve my own problem.

     

    Here are what I believe to be the possible causes of the problem (to Microsoft: these causes may be wrong! If they are, please reply to this thread to educate me and fellow community members):

    1. The solution was imported into the environment by a user other than the owner of the dataflow.

    2. Neither that user or the dataflow owner had an existing dataflow created in the target environment when the  solution was imported.

    3. The dataflow was imported in the environment (shown in system Dataflow table), but left in limbo.

     

    Number 3 above kinda explains the error message. There was a Dataflow with that name in the target environment (and in other environments), but I think that that the corrupted entry in the Dataflow table of the target environment was the problem.

     

    This is how I corrected the issue:

    1. Went in the Dataflow system table and deleted the corrupted rows (it says the table is read-only, but you can delete a row when you edit data in Excel)

    2. Created a dummy dataflow, owned by the same user as the user of the dataflows in the solution I am trying to import. 

    3. Created a new solution with the required dataflows.

    4. Imported the solution as the same owner of the dataflows.

     

    All good, dataflows are flowin!

     

    Keep 'em 'flowin!

     

    Charles

  • v-jefferni Profile Picture
    on at

    Hi @CharlesS ,

     

    Cheers! Please consider accept your reply as solution to help others find it.

     

    Best regards,

  • PowerUniverse Profile Picture
    2 on at
    Hi @Charles,

    How do you determine which dataflow rows are corrupted? The dataflow's ID or name is not specified in the error message or any other location I can think of. This is a critical issue, especially when dealing with numerous dataflows in a solution I am attempting to import. How can we identify the corrupted dataflows?

    So, which records should I remove or replace?

    I am looking forward to your reply,
    Daniel
     
  • Suggested answer
    MarcelLehmann Profile Picture
    378 on at
    My solution was to delete all entries of the dataflows dataverse table with powerautomate and then it worked very well ->table is normally read only

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard