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