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 / Copying a folder and f...
Power Automate
Answered

Copying a folder and file to another location

(2) ShareShare
ReportReport
Posted on by 54
I have started a flow which i thought would copy a folder and the contents but it does not seem to get past the switch action. I have a switch as will need this to run for multiple different locations.
Below is the structure I have done so far but any tips or anything I am missing please let me know.
 
Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
    Hi 
     
    Did you mean to say that it is not passing through the first case ? is it passing default case always ?
     
    Also show the value u are using for Switch actions - so that it would help in resolving the query.
     
    Thanks & Regards,

    Nived N :rocket:

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    :magnifying_glass_tilted_left: Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! :raising_hands:

  • jdrm1 Profile Picture
    54 on at
    No it is stopping at the switch.
     
    It set to the dynamic folder path option
  • jdrm1 Profile Picture
    54 on at
    Basically when a new folder gets created on the site (this folder name will always be different) it will also have a new file created in the new folder. (file name will also always be different)
    I then need to copy this folder and the contents to another folder on the same sharepoint site.
    This will need to run for multiple folder locations so thought if I use a switch I could have them all in the same flow rather than making 20 different flows.

    I am more than happy to restart the whole flow if someone could help me get it created.
  • Verified answer
    jdrm1 Profile Picture
    54 on at
    Do not worry I figured it out. was missing a /

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard