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 action not w...
Power Automate
Suggested Answer

Copy File action not working

(0) ShareShare
ReportReport
Posted on by 4
Hello all,
 
It amazes me how such a 'seemingly' simple procedure is so hard to configure Power Automate to accomplish. 
 
I am attempting to create a flow that when a file(s) are uploaded to a SharePoint library, and/or it's folders/subfolders, it makes a copy of that file to another site within the tenant. I have built the flow imaged below;
 
 
 
When I test the flow it just seems to hang at the For Each section, doesn't fail or complete.
 
I'm not sure where the issue is or how to overcome it.
 
Anyone have any ideas, I'd really appreciate any help on this.
 
Thankyou MDK
 
Categories:
I have the same question (0)
  • Suggested answer
    Vish WR Profile Picture
    3,748 on at
     

    The issue looks like the flow is getting stuck in the Apply to each loop while using the SharePoint Copy file action. Most likely causes are either a wrong file identifier/path being passed or the flow retriggering itself after copying the file.

    The simplest and most reliable fix is to avoid the Copy file action altogether and instead use:

    When a file is created
       â†“
    Get file content
       â†“
    Create file

     

    Also:

    • emove unnecessary Apply to each
    • Disable concurrency in loops
    • Make sure the destination library is not retriggering the same flow
    • Verify correct SharePoint permissions and file paths

    This pattern is much more stable for SharePoint-to-SharePoint file movement in Power Automate.

    Vishnu WR
     
    Please âœ… Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥


     
  • DK-15051436-0 Profile Picture
    4 on at
    Thank you @Vish WR, I'll give that a shot and let you know.
     
    Cheers!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard