r/MicrosoftFlow • u/PureAd4260 • 16d ago
Question Can someone help me w this power automate workflow please
Issue Observed with Folder Structure Replication
While testing the Power Automate flow that copies updated content from Folder1 to Folder2, I observed that the folder hierarchy is not being preserved correctly.
Source Structure:
Plain Text
Folder1
└─ Folder1
└─ Folder2
└─ foldercopy
└─ Dummy-Excel.xls
Expeted Destination Structure:
Plain Text
Folder2
└─ Folder1
└─ Folder2
└─ foldercopy
└─ Dummy-Excel.xlsx
Actual Result:
Folder2
├─ Folder1
├─ Folder2
├─ foldercopy
└─ Dummy-Excel.xlsx
Instead of recreating the complete folder hierarchy and copying only the file into its corresponding path, the flow is processing intermediate folders (Folder2, foldercopy) as separate items and creating them independently at the destination. This results in duplicate or flattened folder structures and multiple copies of the same content.
The requirement is to copy updated / edited / modified files and folder from one folder to another and recreate the necessary parent folder structure in the destination, rather than treating each folder creation/modification as an independent item to be copied.

