Copy SharePoint Library Files Including Nested Folders Structure using Power Automate

  Рет қаралды 22,937

KeaPoint Tech Tips

KeaPoint Tech Tips

2 жыл бұрын

In this video, I will show you how to copy the SharePoint library documents with nested folder structure from one SharePoint site to another. This can be useful if you need to move documents or data between different sites as part of SharePoint template provisioning to include contents/files automatically or purely for testing purposes.
🔴 ** BE OUR FRIEND **
✅ Website: www.keapoint.com
✅ LinkedIn: h / 18782324
✅ Twitter: / kea_point
✅ Facebook: / keapointuk
🔎 HASHTAGS 🔎
#PowerAutomate
#SharePoint
#DocumentLibrary

Пікірлер: 45
@shakesbeer23
@shakesbeer23 Жыл бұрын
This was exactly what I was looking for and you laid it out so clearly! Thank you so much!!
@KeaPointTechTips
@KeaPointTechTips 11 ай бұрын
Glad it was helpful!
@karolinaunderwood1039
@karolinaunderwood1039 2 жыл бұрын
Very useful and that's exactly what I needed for my Project as a solution to complex JSON coding. Thank you so much
@KeaPointTechTips
@KeaPointTechTips 2 жыл бұрын
You are welcome Karolina!
@gazelle2016
@gazelle2016 Ай бұрын
Honestly this helped me a lot. Many many thanks
@KeaPointTechTips
@KeaPointTechTips Ай бұрын
Glad to hear it!
@darranpage9569
@darranpage9569 2 жыл бұрын
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.
@KeaPointTechTips
@KeaPointTechTips 2 жыл бұрын
You are welcome Darran!
@1tucos145
@1tucos145 Жыл бұрын
hey, im working on a similar project any chance you could help me?
@ChrisDewey-wl6id
@ChrisDewey-wl6id Жыл бұрын
Very useful, Thank you :) quick question. If there away to get it to skip if the file/folder is there already rather than replacing?
@mastalayne
@mastalayne Жыл бұрын
awesome!
@stewartmcgovern2k10
@stewartmcgovern2k10 Жыл бұрын
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?
@mohammadshoaibsidiqi6251
@mohammadshoaibsidiqi6251 Жыл бұрын
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?
@SensiVybz
@SensiVybz Жыл бұрын
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"
@cubaseproducer
@cubaseproducer 9 ай бұрын
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
@andrewhall9581
@andrewhall9581 2 жыл бұрын
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.
@KeaPointTechTips
@KeaPointTechTips 2 жыл бұрын
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.
@andrewhall9581
@andrewhall9581 2 жыл бұрын
@@KeaPointTechTips thanks, I'll give that a go
@andrewhall9581
@andrewhall9581 2 жыл бұрын
@@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.
@joezajac2156
@joezajac2156 Жыл бұрын
Does this work if the subfolders dont use the same lengths?
@jayatirthajoshi
@jayatirthajoshi Жыл бұрын
Can this flow be used to Copy Folder to Share point of two Different Tenants ?
@francoislejoyeux5995
@francoislejoyeux5995 Жыл бұрын
Great script ! Is it possible to process large library (i have 400 folder and 4000 files) ?
@victordauden9173
@victordauden9173 2 жыл бұрын
Thx very useful. Is it possible to something similar from Sharepoint to One drive?
@KeaPointTechTips
@KeaPointTechTips 2 жыл бұрын
Thanks. Yes, possible. the destination is onedrive in your case instead of a SharePoint document library
@andrewmaybir352
@andrewmaybir352 4 ай бұрын
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?
@KeaPointTechTips
@KeaPointTechTips 17 күн бұрын
Thank you. I have not tested this scenario.
@yusufvohra4449
@yusufvohra4449 8 ай бұрын
Wonderful video. Can you make such video for moving folders instead of copying? Or let me know how to do it
@KeaPointTechTips
@KeaPointTechTips 8 ай бұрын
Thanks, I will add that to my to do list.
@milan23584
@milan23584 4 ай бұрын
@@KeaPointTechTips have you created any video on copy folder from default sharepoint library to other tenant ? if yes please let us know
@decentmendreams
@decentmendreams Жыл бұрын
Hello, I need help with PA. How can I reach out to you ?
@0xac829
@0xac829 3 ай бұрын
This is awesome, however, I need to do this for an Azure Blob.
@KeaPointTechTips
@KeaPointTechTips 2 ай бұрын
I have done a video on copying documents on Azure Blob storage. Have a look.
@bhushanmittal7842
@bhushanmittal7842 Жыл бұрын
How about the case if workflow got errors in between and how if use move to and flow breaks in between
@KeaPointTechTips
@KeaPointTechTips Жыл бұрын
You can add a parallel condition and run a different action when a step fails.
@downtownsudiebrown
@downtownsudiebrown 2 ай бұрын
If I have a description field for each folder, is it possible for that to copy to a different SharePoint library, too?
@KeaPointTechTips
@KeaPointTechTips 2 ай бұрын
You should be able to copy metadata too.
@harsh_36
@harsh_36 2 жыл бұрын
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.
@KeaPointTechTips
@KeaPointTechTips 2 жыл бұрын
Yes, it will replace. if it already exists.
@harsh_36
@harsh_36 2 жыл бұрын
@@KeaPointTechTips I had created a flow which would fail after generating similar output. Thank you for the solution.
@classicjambhale7033
@classicjambhale7033 27 күн бұрын
Can we copy document library with the help of powerautomate flow with content tupe
@KeaPointTechTips
@KeaPointTechTips 27 күн бұрын
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.
@EricEgwiko
@EricEgwiko Ай бұрын
Can this flow be used to Copy Folder between Share point of two Different Tenants ? It seems not for me.
@KeaPointTechTips
@KeaPointTechTips Ай бұрын
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.
@halvadandu
@halvadandu 12 күн бұрын
​@@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?
@halvadandu
@halvadandu 12 күн бұрын
Hi Eric - Did you accomplish this task to migrate folders to another SharePoint tenant? Can you help me how?
Automate Copying of Nested Folder Structure in SharePoint Document Library
9:11
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 21 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 19 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 34 МЛН
Does a folder already exist inside SharePoint library - Power Automate
13:15
Copy SharePoint Site Pages To Another Site - Power Automate
8:36
Copy SharePoint File with Folder Structure to Another Library
12:22
Dhruvin Shah
Рет қаралды 2,8 М.
How to use Power Automate Get Files (Properties only)
22:56
Alireza Aliabadi
Рет қаралды 32 М.
PowerAutomate - Copy & Rename Files to new SharePoint library
7:58
M365 Tech Help
Рет қаралды 44 М.
How to Copy a SharePoint Folder Structure to Another Folder
5:50
A Creative Opinion
Рет қаралды 5 М.
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 21 МЛН