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 Automate / Solution "xxx" failed ...
Power Automate
Unanswered

Solution "xxx" failed to import: Import failed: An item with the same key has already been added.

(0) ShareShare
ReportReport
Posted on by

I am working on two environment named "Test" and "Dev".  The same unmanaged solution is deployed to these 2 environments.

 

Then I edit the App, Flows, Env variables in Test. After some changes I exported from Test and import to Dev. It is fine.

After that I modified the App, Flows, and Env variables in Dev. Then export to a solution with new version number. However, when I tried to import it back to "Test", I got below error:

 

Solution "xxx" failed to import: Import failed: An item with the same key has already been added.

 

I checked the log "xxx_import.xml" the error is failed at the App.

Solution xxxAppxxx App  Failure Import failed: An item with the same key has already been added. 

 

What could be the problem?

Categories:
I have the same question (0)
  • Gopala_Krishna Profile Picture
    1,495 on at

    @Anonymous 

    This happens because of failure in schema validation. For example let's consider you have a table students in Dev and Students in Test environment. Now when you attempt to import the solution you will have the same error as listed above as the name of the table between two environments is different.

     

    Check all the custom tables you have created between Dev and UAT and validate if the schema names for all of those tables is matching or not.

    Please refer the this blog post for more detailed insights

    Link2

     

    If the information shared helps you please consider giving a thumbs up and mark solution as resolved

    Please follow my website PowerCards for more information related to Power Platform
  • Community Power Platform Member Profile Picture
    on at

    Hi Gopala thanks for your reply. I forgot to mention my data source is SharePoint online and no Dataverse is involved.

  • Community Power Platform Member Profile Picture
    on at

    It is resolved by remove the content in environment variable before export solution. Thanks.

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard