@@KeaPointTechTips This will work only on the same tenant. Your suggested second way of copying files will work only with files, not with folders. I am testing it now and I dont see possibility to copy files with folders together on different tenant. I can create files and folders separately but still it is not solution for me and no idea how can I join folder/files in correct logic.
Thank you ! I had an task where i needed to copy nested folders from SharePoint to Azure Blob Worked really well as SharePoint doesn't have a default connector.
Thanks, very useful. If I was creating a new MS Team Channel from a new item on a Sharepoint List. The new team is created and then I would like populate with some standard folders and documents using your technique. I can do both parts separately but cannot seem to work out how to create both from a single flow.
You can create a single flow which will first create teams and channels and then you can get channel folder path (SharePoint library channel folder path) and can create sub folder structure.
@@KeaPointTechTips Ok I managed to solve this but had to use two Power Automate flows. If I tried copying the folders in the same flow that created the new MS Team it always failed with an issue relating to folder path or permissions. It seems the new Teams resource was locked in some way as a delay didnt work either. The simple solution was to get the first flow to update the list once it had created the new team. The second flow then tracked the same list for a modification of a status column. If it is changed to authorised itthen I ran your copy folder flow with the Teams name being passed as variable from the list.
Could it be possible to fetch recursively a SharePoint document library in Power automate and moving (not copying) the files to Azure blob storage or Azure Files service? Many thanks for the content
Very good video, I tried to run it on a Document library which has 14 folders but it only copied 5 folders and not the rest, it does not show any errors and in the video you have not mentioned anything about number of folders, is there anything in this flow that limits the number of folders within the document library?
Hi i am trying to copy data from a source library A to another tenant B I have setup the flow on the destination tenant B and set the get files and copy folder connections for both Tenant A and B (A being the files needed and B being the destination) However should I be running this flow on the source tenant (A) or should it work if i was "pulling" the data using the destination tenant B? As everything works on the flow when tested other than the "copy folder" part at the end throws an error or "Unauthorised"
@@KeaPointTechTips But I will not work because copying requires 1 connection which will block another. For destination is connection b, for source is connection a - there is only option to use common connection which is not possible. So this action is for the same tenant.
@@KeaPointTechTips But that is example of files only. It works but when you have folders inside ? How to combine both folders/files in one flow, scheduled one on different tenants.
@@KeaPointTechTipsThank you for your video. It is really helpful. I want to copy folders to different tenant, can you please help or elaborate how to use "copy folders" function?
Nice work as always. A few quick question, if I edit a document in the source Document Library, will this copy the edited version of the document replacing the old one?... Also, this flow will only copy across new documents and folder and skip other folders and files if they exist in the destination DL, is that correct?
You can not copy document library with power automate. You can use PowerShell or third party tool to copy document library. If you have created the content types then you can create a new document library and assign the content type to have all the metadata properties available in the new library.
QQ - Will this replicate the complete folder structure ? IE: SITE - Document Library - PRS Team - Folder1 - Folder2 - Folder3 ... Folder200 - You mention it stops 3 folders below the main folder.
This is the best Sharepoint tutorial I've ever seen. Going to check out all of your other videos.
I'm so glad you found the tutorial helpful! I hope you enjoy the rest of the videos too!
@@KeaPointTechTips This will work only on the same tenant. Your suggested second way of copying files will work only with files, not with folders. I am testing it now and I dont see possibility to copy files with folders together on different tenant. I can create files and folders separately but still it is not solution for me and no idea how can I join folder/files in correct logic.
This was exactly what I was looking for and you laid it out so clearly! Thank you so much!!
Glad it was helpful!
Very useful and that's exactly what I needed for my Project as a solution to complex JSON coding. Thank you so much
You are welcome Karolina!
Fantastic series. This was very helpful.
I'm so glad you found the series helpful! Your feedback means a lot to me.
Thank you ! I had an task where i needed to copy nested folders from SharePoint to Azure Blob Worked really well as SharePoint doesn't have a default connector.
You are welcome Darran!
hey, im working on a similar project any chance you could help me?
Very useful, Thank you :) quick question. If there away to get it to skip if the file/folder is there already rather than replacing?
Honestly this helped me a lot. Many many thanks
Glad to hear it!
Thanks, very useful. If I was creating a new MS Team Channel from a new item on a Sharepoint List. The new team is created and then I would like populate with some standard folders and documents using your technique. I can do both parts separately but cannot seem to work out how to create both from a single flow.
You can create a single flow which will first create teams and channels and then you can get channel folder path (SharePoint library channel folder path) and can create sub folder structure.
@@KeaPointTechTips thanks, I'll give that a go
@@KeaPointTechTips Ok I managed to solve this but had to use two Power Automate flows. If I tried copying the folders in the same flow that created the new MS Team it always failed with an issue relating to folder path or permissions. It seems the new Teams resource was locked in some way as a delay didnt work either. The simple solution was to get the first flow to update the list once it had created the new team. The second flow then tracked the same list for a modification of a status column. If it is changed to authorised itthen I ran your copy folder flow with the Teams name being passed as variable from the list.
Could it be possible to fetch recursively a SharePoint document library in Power automate and moving (not copying) the files to Azure blob storage or Azure Files service? Many thanks for the content
Hi, thanks for this it's really useful, but when I run the flow again it only copies the folders and not the files, it does not replace them?
Very good video, I tried to run it on a Document library which has 14 folders but it only copied 5 folders and not the rest, it does not show any errors and in the video you have not mentioned anything about number of folders, is there anything in this flow that limits the number of folders within the document library?
awesome!
Thx very useful. Is it possible to something similar from Sharepoint to One drive?
Thanks. Yes, possible. the destination is onedrive in your case instead of a SharePoint document library
Hi i am trying to copy data from a source library A to another tenant B I have setup the flow on the destination tenant B and set the get files and copy folder connections for both Tenant A and B (A being the files needed and B being the destination)
However should I be running this flow on the source tenant (A) or should it work if i was "pulling" the data using the destination tenant B? As everything works on the flow when tested other than the "copy folder" part at the end throws an error or "Unauthorised"
Thank you for the helpful tutorial. Could you share how to modify it to enable file and folder copying between two different SharePoint tenants?
You just need to change the URL and connection in power automate copy actions
what is the best way to create a flow to copy any added or updated item in one site library to another site library?
you can create flow, set trigger on item added or updated, then add copy file action to copy to another site.
So will this replace the files if it's already present in the destination.
Note: I am thinking to use this flow to take a backup.
Yes, it will replace. if it already exists.
@@KeaPointTechTips
I had created a flow which would fail after generating similar output. Thank you for the solution.
Great script ! Is it possible to process large library (i have 400 folder and 4000 files) ?
Great, can this be applied to copying between two different tenants
Yes, you can. Just need to connect copy action with other tenant credentials.
@@KeaPointTechTips But I will not work because copying requires 1 connection which will block another. For destination is connection b, for source is connection a - there is only option to use common connection which is not possible. So this action is for the same tenant.
Can this flow be used to Copy Folder to Share point of two Different Tenants ?
Does this work if the subfolders dont use the same lengths?
If I have a description field for each folder, is it possible for that to copy to a different SharePoint library, too?
You should be able to copy metadata too.
Absolute beauty, but how do you copy between different tenant?
I have already made a video on how to copy cross tenant ua-cam.com/video/xSySOCTsrLM/v-deo.html
@@KeaPointTechTips Thanks a lot
@@KeaPointTechTips But that is example of files only. It works but when you have folders inside ? How to combine both folders/files in one flow, scheduled one on different tenants.
Can this flow be used to Copy Folder between Share point of two Different Tenants ? It seems not for me.
Yes you can, You just need to use target tenant account login for the flow action that is adding file and folders to new location.
@@KeaPointTechTipsThank you for your video. It is really helpful.
I want to copy folders to different tenant, can you please help or elaborate how to use "copy folders" function?
Hi Eric - Did you accomplish this task to migrate folders to another SharePoint tenant?
Can you help me how?
Nice work as always. A few quick question, if I edit a document in the source Document Library, will this copy the edited version of the document replacing the old one?... Also, this flow will only copy across new documents and folder and skip other folders and files if they exist in the destination DL, is that correct?
Thank you. I have not tested this scenario.
Can we copy document library with the help of powerautomate flow with content tupe
You can not copy document library with power automate. You can use PowerShell or third party tool to copy document library. If you have created the content types then you can create a new document library and assign the content type to have all the metadata properties available in the new library.
this is cool, can you please assit, am trying to copy from one drive sub folders to sharepoint
Hello, what assistance do you required?
Wonderful video. Can you make such video for moving folders instead of copying? Or let me know how to do it
Thanks, I will add that to my to do list.
@@KeaPointTechTips have you created any video on copy folder from default sharepoint library to other tenant ? if yes please let us know
@@KeaPointTechTips So is there any progress how to have scheduled powerautomate flow which can copy/move files with folders/subfolders?
Hello, I need help with PA. How can I reach out to you ?
How about the case if workflow got errors in between and how if use move to and flow breaks in between
You can add a parallel condition and run a different action when a step fails.
This is awesome, however, I need to do this for an Azure Blob.
I have done a video on copying documents on Azure Blob storage. Have a look.
QQ - Will this replicate the complete folder structure ? IE: SITE - Document Library - PRS Team - Folder1 - Folder2 - Folder3 ... Folder200 - You mention it stops 3 folders below the main folder.