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 / Copy file from OneDriv...
Power Automate
Answered

Copy file from OneDrive for Business to File System

(0) ShareShare
ReportReport
Posted on by 15

Hi 

I have an automated  flow that will copy files from my one drive for business to my own file system. I have an on-premise gateway setup so the copy will work. The flow works file the first time it runs. The problem is that the files I wish to copy will always have the same name.  When I put the same file name into the one drive for business folder it does not pick it up after the first run.  If I use a new file name it will run.  How can I set the flow to copy the files every time the One drive for business folder receives a new file regardless of the name. 

 

My flow has 2 steps 

Step 1 - One Drive for Business (When a file is created)

Step 2 - File System (Create a file)

 

thanks

Michael

Categories:
I have the same question (0)
  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    Hi @mecr123 ,

     

    Just did a few tests and it appears when you upload a new file with a new filename, you get the choice to replace or keep both.  When you replace, it simply overwrites and PA treats as as a modified file.

     

    The workaround would be to save a copy of your flow and change the trigger to cater for modifications as well.  In essence, two flows.

     

    There's an idea here if you want to upvote.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

     

  • MECR Profile Picture
    15 on at

    Hi Eric

    thanks for the reply

    I have created 2 flows -  

    1) When a file is created

    2) when a file is modified

     

    I still cannot get it to create the files from the One Drive for business to my File System. I have 3 files, they always will have the same name.   To test this I basically move the files out of one drive and then move back. The flow still does not pick them up. 

     

    regards

    Michael

     

     

     

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard