Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Unanswered

Dataflow Primary Key

(0) ShareShare
ReportReport
Posted on by 5

I have created a dataflow with a SQL Connection. Every time I run the dataflow I receive an error that my primary key cannot be created because it is a duplicate.  I delete the Primary Key and continue to get the same error.  How can I avoid getting this error continually when I have recreated the primary key.  I have deleted the flow and connection after recreating the key and still get the error when processing the newly created dataflow and connection. 

 

Categories:
  • EricRegnier Profile Picture
    8,714 Most Valuable Professional on at
    Re: Dataflow Primary Key

    Hi @lynnem,

    That's most likely because the records are not cleared in the destination Dataverse table, so every time the dataflow runs it tries to insert duplicates. In the Dataflow, enable the option "Delete rows that no longer exists".

    EricRegnier_0-1607146815688.png Hope this helps!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics