Notifications
Announcements
All,
In the following Power Automate - I am copying files from one document library to another.This works fine with the exception that in the target location when folders are involved it copiesthe folder and the contents but also adds a second copy of the files on the root location:
I tried the following as described here which doesn't work so looking for other ways to solve this:
https://tomriha.com/how-to-copy-sharepoint-files-including-folder-structure-in-power-automate/
Dear K,
You are doubling up on your loops ... you loop through your first 'Get items' and then you loop again through your 2nd 'Get items (properties)', resulting in duplicates. Ensure you only loop through the items once and you are good.
Happy flowing,
Koen
Thanks - for the tip that first Get Items is reading from a list so it's needed I believe as I set-up a list to possibly if needed copy to multiple locations as outlined here: Copy files between multiple SP libraries in a single Power Automate flow (tomriha.com)
that first loop is reading from the Source locations:
Therefore - any suggestions for where in the process this needs moved to so that I don't get duplicate folders in the target.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 525 Super User 2025 Season 2
Tomac 324 Moderator
abm abm 232 Most Valuable Professional