I am building a longer flow but one of the actions in there involves moving all files and folders inside a library to a different library (inside folders). The move completes without any issues but the flow throws an error.
Here is a much simpler version of the steps that are throwing the error (even though it moves all files):
This flow works fine if there are only files in the source. But if there are folders and subfolders in the library, then the error shows up (even though all folders do move). As you can see the Get File Properties action already does not include nested items so the move action should only run on items in the root of the library (and not have entries for nested items).
The error is shown for each folder in the library and just says "Not Found". However, as I mentioned, the folder and all its content moves just fine.
I have thought about using the Move Folder action but there can be individual files in the root of the library as well that should be moved.
Please advise on how to get rid of the error.
Could you put in a Condition control and check the "Is Folder" property of each?
Is Folder is true then Move Folder.
Is Folder is false then Move File.
Condition - Is Folder
This way you are using the correct action for the type of file/folder.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2