Power Automate:How to Move Files Between Folders in SharePoint|Move files from one folder to another

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hello friends welcome to this YouTube channel myself rosin and in this video we will see how to move files from one folder to another folder in SharePoint using power automate flow we are going to use move file action to move files and subfolders Source folder to destination folder now let's begin to create our Loop before that we want to choose the source folder to move it to the destination folder in my case here you can see I have two folders in the documents Library one is Source folder another one is destination folder when I click on the source folder you can see two documents are presented and one subfolder is presented inside this subfolder one more file is also present now in this example I want to move all the source folder things to the destination folder where my destination folder is empty you can see the folder is empty initially log into to the power automate flow using the Microsoft credential and click on the create option here choose instant Cloud flow enter the flow name here choose the trigger as manually trigger a flow and click on the create option here now select new step and search for the get file property to get all the file properties from the document library in SharePoint now choose the get file properties only and select the site address and choose the library name in my case it is document library and we can also limit entries to the folder so here I am going to move only the source file to the destination file so from the show picker go to the share documents here you can see the source folder is presented click on the source folder if you want to include the nested items we can choose yes yes by default it will not be move the nested items so in my case I'm going to click yes so that I can move the sub folder that is presented in the source folder to the destination folder now select new Step here search for move file action choose the move file action here now in the same way configure the Sho site address and files to move based on the file ident so select the file identifier from the Dynamic content here search for the identifier click on it it will automatically so that it can be look through all the items that are presented in the source folder here we have to provide the destination site address from the drop down choose the destination site address in my case I'm going to use the same site address and choose the destination folder from shop my is destination folder here you can see if another file is already there then we have three different option we can fail this move file action or we can move the same files with a new name or we can replace the file here I'm going to show you all the three examples so initially we will see the replace action and click save now our flow is ready click on the test option choose manually click test it is asking for sign in permission click continue and choose the Run flow once the flow run successfully in the SharePoint document Library we can see it moves all the files and sub folders that are presented in the source folder to the destination folder here you can see our source folder is empty now and in the destination folder we can see the two files and the subfolders with the Excel workbook this is how to move files from one folder to another folder in SharePoint using power automate flow now we will edit our flow and now we will see the second action if the file is already there then in case two we will see move file with a new name this is the action now I have selected in my source folder there is no file so I'm going to add the employee files again which is already presented in destination file so I'm going to upload employee files here you can see now in my source folder I have employees workbook which is also presented in the destination folder and the action I using here is move with the new name if the file is already presented in the destination folder so now we are going to test this flow save and test now click run flow option and click once the flow run successfully we can see now our Source folder is empty and in the destination folder it creates file with the new name called employees 1 now again we are going to edit this flow and in the third case we will fail this action if the file is already presented click on Save option to save a flow and again in the source folder I'm going to upload the employee files you can see now employees workbook is uploaded here and if the file is already existed in the Des ation folder then the move file action should get failed that is the third case so click on the test option click run flow click done FL is running here you can see the floor and file just because file of folder with the employees is already exist at the destination and in our Sho document Library you can see if you refresh the page also the file is not moved to the destination folder just because with the same name it is already presented so it remains in the source folder itself and the move file action is failed here now in the same way we will see another example here in this Source folder I'm going to create new folder called test here you can see in the destination folder the test folder is presented now I will edit this flow with move with a new name if the file is already there and in my test folder also I'm going to upload the customer file which is already also presented in the destination folder here you can see in my source folder the test folder is presented with one customer Excel workbook and in the destination folder also it is presented with the same name the same Excel workbook now in the move file action we have selected the option move with the new name we will test our flow to see how it works click on the Run flow option click done once our flow run successfully we can see from The Source folder all the three files that has been moved to the destination file you can see the employee file has been created with the new name called employee 2 and the test folder which is created as test one with the same work same customers workbook this is how to move files and folders from one folder to another folder in SharePoint using power automate flow with the help of move file action with this we came to the end of this video where we have learned how to move files from one folder to another folder in SharePoint using flow I hope you understood this concept and these are the free video tutorials that are presented in our YouTube Channel please check it out and please do subscribe to our you YouTube channel for more videos thank you
Info
Channel: TSInfo Technologies
Views: 3,222
Rating: undefined out of 5
Keywords: Tsinfo technologies, english, How to Move Files Between Folders in SharePoint, Move files from one folder to another, How to Move files from one folder to another using Power Automate, Move files from one folder to another in SharePoint using flow, Move or copy files in SharePoint using flow, How to move files from one document library to another in SharePoint using Power Automate, SharePoint move file to another folder Power Automate
Id: Ew4-ATDR8t0
Channel Id: undefined
Length: 6min 32sec (392 seconds)
Published: Sat Feb 17 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.