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 / SharePoint "move file"...
Power Automate
Answered

SharePoint "move file" and file versioning

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

The Setup:

I've been working on a flow that routes files to specific folders based upon file name within SharePoint upon being uploaded, this is working great. Often an updated file will be uploaded a second or third time and routed to the same location, I am using the "Move File" function in Power Automate.

 

The Issue:

When a file is moved using the "Move File" function to a SharePoint folder where the file already exists it will either replace (erase version history), append a digit to the end, or fail the action depending on what I tell it to do.

 

Question:

Is there a way to preserve file versioning in SharePoint? Perhaps the "Move File" function isn't the right function to use?

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

    Hi @Anonymous ,

     

    Sorry for the function to preserve file version is not supported in the Move file action in sharepoint currently, if you want to preserve the file version, I suggest that you could take a try with the Update file action, and you need to set the library for allowing version history.

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    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
    Microsoft Employee on at

    "update file" was exactly what i needed, thank you.

  • ClaireAllen Profile Picture
    762 on at

    Hi,
    Would it be possible for you to share a screen shot of your flow?
    I am trying to do something very similar, but I've yet found a way to increase the version number when a file with the same name is moved to a document library.
    @v-alzhan-msft , do you have any information that can help me?
    Thank you in advance
    Claire

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello community,

     

    I also have the same/similar behaviour. Does anyone have a constructive suggestion on how to achieve the same result with the update file action?

    Move file currently overwrites the version number.

    Many thanks in advance.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard