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 / Duplicating SharePoint...
Power Automate
Unanswered

Duplicating SharePoint file to new document library without copying

(0) ShareShare
ReportReport
Posted on by

Hi everyone! I'm trying to create an automated flow for documents that meet trigger conditions that creates a duplicate of the file in a new document library when a user edits the file. I've successfully used the template to copy a file when it's edited, but the problem is that edits made to the copied file appear in the original version. Ideally I'm hoping to make a flow that looks like:

 

-User edits file that meets trigger conditions

-File in source library remains unedited

-Duplicate copy of file appears in destination library

-User edits the destination library version before routing for approval

-When edited version is approved, duplicate in original destination library is moved to original source library, overwriting original source file to become new version

 

Has anyone had success with this? I've found plenty of templates that move or copy files, but none so far that duplicate them. Thanks everyone!

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    You could consider using restore to the previous version of File after the user edited the file in source library and copy it to destination library. Then the file in source library remains unedited. Then send the file in destination library for approval, if edited version is approved, copy the edited file to cover the source library.

     

    About use the Send an Http request to SharePoint action to restore file previous version, you can refer to this post:

    https://powerusers.microsoft.com/t5/Building-Flows/Restore-previous-document-version-and-delete-curr...

    And this blog also could help you:

    https://mydevexperience.wordpress.com/2019/06/08/build_msflow_restoredocversion/

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Community Power Platform Member Profile Picture
    on at

    Perfect, that's so helpful! Thanks so much!

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard