I am trying to copy all my existing folder from onedrive business to personal onedrive. But my flow stop at apply to each.
Please help!
Solved! Go to Solution.
Hi @ggwp_i12354
The "List file in folder" action included in the OneDrive connector can only retrieve files under the specified folder and do not include files under subfolders.
If you want to get the files under the subfolder in OneDrive. Please consider submit an idea in the Microsoft Flow idea forum:
https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas
If you want to create a file in OnDrive at the same time when a file is created in OneDrive for business, you can use the trigger When a file is created.
I set up a flow, you can refer to the screenshots below to see if it helps.
Expression:
Expression:
Save and test the flow.
When a file is created in OneDrive for business folder,the file will be created in OneDrive.(No need to create a folder manually in OneDrive, if the folder does not exist, flow will automatically create it )
Hope the content above may help you.
Best Regards
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ggwp_i12354
The "List file in folder" action included in the OneDrive connector can only retrieve files under the specified folder and do not include files under subfolders.
If you want to get the files under the subfolder in OneDrive. Please consider submit an idea in the Microsoft Flow idea forum:
https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas
If you want to create a file in OnDrive at the same time when a file is created in OneDrive for business, you can use the trigger When a file is created.
I set up a flow, you can refer to the screenshots below to see if it helps.
Expression:
Expression:
Save and test the flow.
When a file is created in OneDrive for business folder,the file will be created in OneDrive.(No need to create a folder manually in OneDrive, if the folder does not exist, flow will automatically create it )
Hope the content above may help you.
Best Regards
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.