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 / OneDrive for Business ...
Power Automate
Answered

OneDrive for Business Copy New File when Modified

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a working flow that copies an Excel file from one ODFB folder to another whenever the source file is modified. I want to have a new file created each time the source file is modified. Currently, flow appears to replace the copied file with an updated version each time the flow runs.

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

    Hi nscharer,

     

    I assume that you may need to add something different on the file name so that it won’t replace the file with an updated version.


    To test this issue, I add a Compose action to get current time then add a timestamp on the file name, so the file saved to the OneDrive For Business folder will have a different name with the previous version.


    Hope my flow configuration could be a reference for you:

    3.PNG

     

    Please try it on your side to see if this will meet your needs.

     

    Hope this documentation about Workflow definition language could also be a reference for you:
    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Works great! Thank you Mabel!

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 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard