Sharepoint you have to delete all the items in this folder before you can delete this folder. If I go into the folder, I can delete each of the subfolders individually so I don't think this is related to check-out. I get this error: You have to delete all the items in this folder before you delete the folder When trying to delete whole folders off of OneDrive, I'm met wi/ this error/prompt. Coming from the debacle over at community Jul 12, 2024 · I can no longer select more than one folder with subfolders to delete them. I normally have no issue doing that before, but when I check the site permissions, I get this message: Jun 6, 2021 · When the site is on hold, files can be deleted directly but folders cannot be deleted unless all sub-items are deleted. The error message hints a solution - delete all files/folders within the folder and then delete the main folder. . Aug 20, 2018 · In conclusion, the error message “You have to delete all the items in this folder before you can delete the folder” can be resolved by simply deleting or moving the items within the folder. Jan 2, 2025 · Thanks for checking, Dave. It's very annoying going into each subfolder & deleting all the files before actually being able to delete the parent folder. Here are few ways you can try, whichever is convenient. So, trying to delete a folder is a lot like trying to remove a status like “Needs Review” and expecting all files that have that status to disappear with it. However, when I use it, I get the message " You have to delete all the items in this folder before you can delete the folder. I would like to delete it all by deleting the top level folder, however I keep getting an error Feb 27, 2022 · How to fix "You have to delete all the items" I have this script that delete OneDrive folder but I'm alway getting this error so just wondering how can I fix this?. " Nov 24, 2021 · Once you realize folders don’t really exist in SharePoint, it all makes more sense. If the issue persists, please try to move the content to another folder and try to delete them. Hi @jebz , To delete all contents from a folder, you can use the Delete item action. In Delete item action, you need to retrieve list name from Peek code in Get files action, copy table id and paste in the List name field in Delete item action: Note that in Get file action, Include Nested Aug 6, 2024 · I have been using "Send an HTTP request to SharePoint" with the below details to delete a folder and all of its contents in one action for over 9 months now. Incidentally, I love that this forum allows users to reply to a comment. It's been an issue for months so it doesn't feel temporary. Is there a way to just delete the folder entirely? Any help will greatly be appreciated. Apr 4, 2023 · Hi, I am currently trying to delete folders on my sharepoint but encountered this problem for the first time: You have to delete all the items in this folder before you can delete the folder. Apr 18, 2019 · I have a SharePoint folder where I accidentally dropped a folder with a many subdirectories and files. It's not supported to delete folders using Delete file action. Two weeks ago, this started failing with message that the folder needs to be empty before it can be deleted. I'm not sure what version of SharePoint we have or how to check that. Mar 11, 2024 · That worked perfectly, thank you so much. Aug 6, 2021 · Some posts on the web state that the Delete Item action will delete all subfolders and files for a folder. May 25, 2020 · When trying to delete a folder from Microsoft 365/Office 365 SharePoint, we get following error (Even if we are using Microsoft 365 Global Administrator) “ You have to delete all the items in this folder before you can delete the folder “ Mar 6, 2021 · Since you are not able to delete the entire folder, you may try open the folder and then select all items and deleted them using OneDrive website. ybzjfn shg tuuyf tdacd vkitebe oflkli tuouw ayeagg vzsnfno apml