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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Duplicates in a ShareP...
Power Automate
Answered

Duplicates in a SharePoint Asset Management List

(0) ShareShare
ReportReport
Posted on by 43

I need to delete duplicate SharePoint records in a list made up of users' equipment (fields like "Service Tag", "Barcode", and "Approval ID" etc. I have been trying in vain to apply lessons I've seen here and elsewhere on how to effectively (1) identify the duplicates and (2) delete them, or at least update the records in some way I can then manually delete them.  I have seen a lot of posts with ideas that should help, but I either delete all the records or none of them... Right now, the list is around 500-800 records, but it will likely grow exponentially in the next few weeks as it captures our 7,000 users' information. 

 

Categories:
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    So let's say you have 3 entries that are all the same -- which one should be kept, which one should be deleted? Is it whichever was added first? Does it matter?

    Are there any more columns in the row that need to be compared?

  • SP-24071929-0 Profile Picture
    43 on at

    Hi, @Rhiassuring 

     

    Yes, I am usually prone to delete all but the most recent one if there's a choice.  This is the closest I've come to making something work (I added an Odata filter of a known set of duplicates in my list to test the flow -- that's the part underlined with Red)  I know that specific record has a space in front of the first character, so I can fix that manually later...

    Part 1Part 1Part 2Part 2

  • Verified answer
    SP-24071929-0 Profile Picture
    43 on at

    Thank you, @Anonymous ! and to you too, @Rhiassuring 

     

    @Anonymous --  I found your article from 4 July of this year and followed your directions on the flow, and It inspired me to make some changes to my flow and it is working now:   

    I posted my flow here in case this helps someone else: 

    DeleteDup.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard