Hi,
I am trying to create a flow where I can delete a large number of subfolders within a folder. I want to keep the master folder but need to get rid of all its contents. This action will need to be completed once a year. Does anyone have any ideas or solutions?
Solved! Go to Solution.
My list is also a document library. Just type in the document library name as a custom value and it will find it with no problem.
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
Where are you deleting the folders from?
One Drive, SharePoint, A File Share, Your local computer?
This sounds more like a PowerShell thing than a Flow thing. Just my 2 Cents.
I am trying to delete them off SharePoint Online
Okay, last question.
You said
@Brycekauffman wrote:I want to keep the master folder but need to get rid of all its contents.
Does that mean, any files and folders in the root directory as well?
HI @Brycekauffman, you can do this using the image below. So in this example I have a master folder called Accreditation and then a subfolder called New with a lot of subfolders in it. You can delete New and all the sub folders in it - but not the main Accreditation folder - by:
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
It looks like my folders are set up in a document libreary and not a list. There for in the Delete Item flow it is not recongizing my folder structure in the "list name" section. What would be a good substitute? @RobElliott
My list is also a document library. Just type in the document library name as a custom value and it will find it with no problem.
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
43 | |
38 | |
36 | |
23 |
User | Count |
---|---|
47 | |
31 | |
29 | |
29 | |
28 |