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 Apps / Trying to copy SharePo...
Power Apps
Unanswered

Trying to copy SharePoint folder - Source or destination invalid

(0) ShareShare
ReportReport
Posted on by

I am trying to design a flow that will copy a folder and all of it's subfolders to another location; This is between 2 different teams, and it has access to both, and can access the folders within each through the copy folder action.

 

I end up with a "Bad request" error and have searched many times for answers but nothing seems to work. I checked the output and get "Source or Destination likely invalid. Check if item or destination has been deleted."

 

I have seen solutions say "create file/folder" instead, however there are many subfolders, and this will be from a template location that will be edited. The basic "copy folder functions works without any haggle, however the problem becomes is the root folder it copies from gets added in front, so say in my test channel it will show /TestChannel/Templatesfolder/"Copied Folders", when it needs to be /TestChannel/"Copied Folders".

 

I added a screenshot of the end object that is having trouble. The information is filled out the same way you would during manual folder selection within the action, and doing that by itself works(but includes the root which I do not want). I tried changing it to the english "Documents" to see if the spaces were the cause(its normally Freigegebene Dokumente". Everything else works. It sees all the subfolders in each loop of my for each. Is it because I need to add it manually and convert the spaces and slashes via a compose like how it would appear in the actual URL?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @KBOT1 ,

    You are welcome to post here, but this seems to be a Power Automate question and you will probably get a quicker response from the experts over at the Power Automate Community

     

    Please click Accept as solution 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 giving it Thumbs Up.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard