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

Community site session details

Session Id : clLVHBrZN3Es8aGD0QizkV
Power Automate - Building Flows
Answered

Remove Sharepoint duplicate files based on two fields in the file properties

Like (0) ShareShare
ReportReport
Posted on 10 Aug 2023 09:38:00 by 32

I've got a Sharepoint Library with PDF files,

what I'd like to do is to remove duplicates based the properties in the file.

 

So for instance if I have two files that have duplicate property data in Field A and Field E, then I would want to delete the oldest one.

 

Does anyone have a good flow to do this?

I have the same question (0)
  • Verified answer
    takolota1 Profile Picture
    4,933 Moderator on 10 Aug 2023 at 14:26:15
    Re: Remove Sharepoint duplicate files based on two fields in the file properties

    As long as you can run something to get all the file property fields, then you could plug your target property fields into this template & set it to delete the oldest ones: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Find-and-Remove-Duplicates/td-p/2191403

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 725 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 363 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 341

Last 30 days Overall leaderboard