SOLVED

Unable to delete List in SharePoint Online

%3CLINGO-SUB%20id%3D%22lingo-sub-2439369%22%20slang%3D%22en-US%22%3EUnable%20to%20delete%20List%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2439369%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20I%20try%20to%20delete%20a%20list%20in%20SharePoint%20Online%2C%20I%20am%20asked%20if%20I%20want%20to%20send%20the%20item(s)%20to%20the%20site%20Recycle%20Bin%2C%20but%20when%20I%20click%20on%20the%20'Delete'%20button%2C%20I%20just%20get%20a%20message%20that%20says%20%221%20item%20wasn't%20deleted%22%20and%20that%20it%20failed.%20It%20is%20in%20a%20site%20where%20I%20was%20able%20to%20delete%20about%205%20lists%20that%20I%20created%2C%20but%20unable%20to%20delete%205%20others%20that%20I%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2439369%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2443558%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20List%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2443558%22%20slang%3D%22en-US%22%3EIt%E2%80%99s%20possible%20those%20lists%20have%20items%20in%20them%3F%20If%20any%20kind%20of%20retention%20policy%20is%20turned%20on%20your%20sites%20you%20can%E2%80%99t%20delete%20folders%20and%20lists%20the%20have%20content%20in%20them%20until%20you%20delete%20all%20the%20items%20in%20the%20list%20first%20so%20copies%20of%20the%20content%20move%20over%20to%20the%20item%20retention%20library.%3C%2FLINGO-BODY%3E
New Contributor

When I try to delete a list in SharePoint Online, I am asked if I want to send the item(s) to the site Recycle Bin, but when I click on the 'Delete' button, I just get a message that says "1 item wasn't deleted" and that it failed. It is in a site where I was able to delete about 5 lists that I created, but unable to delete 5 others that I created.

 

2 Replies
best response confirmed by BamaDog27 (New Contributor)
Solution
It’s possible those lists have items in them? If any kind of retention policy is turned on your sites you can’t delete folders and lists the have content in them until you delete all the items in the list first so copies of the content move over to the item retention library.
Chris,
Thanks for the response. I didn't realize that you can't delete a list with data in it. Even though none of my lists had data in them, you got me to go into the lists and try to delete them from within the list. That is when I finally received the message I needed to solve this. We have a main list which is for our workflow and we have other lists that the main workflow list uses. When I went into "Settings" for one of the "other lists" and selected "Delete this list", I get the message "You cannot send this list to the site Recycle Bin. This list has the following related list(s) [ListName]. After some trial and error, I found that if I delete my "other lists" from the main list, then I can delete my "other lists". Once my "other lists" are deleted, I am able to delete my main list.