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 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?

Copyfolder.jpg
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,762 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

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 Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard