“Delete this list” Missing in SharePoint? Here is the solution!

Problem: “Delete this list” option missing in SharePoint list settings! I wanted to delete a particular list in SharePoint but could not find the option to delete in the list settings. I tried deleting it from the list ribbon menu, SharePoint Designer, Content and structure tool, Explorer view, PowerShell, but none helped.

sharepoint delete this list missing

Root Cause:

Delete this list option is not available because the “Allow Deletion” flag is set to FALSE to save the list from accidental deletions. If you have noticed, in some SharePoint lists and libraries (E.g., “Farm Templates” library), “Delete this List” or “Delete this Document Library” links are missing by default to prevent the delete option.

Tips: You can use SharePoint Manager tool as well, to set the “AllowDeletion” flag!

Solution:

Here is how we can revert the “Allow Deletion” flag to enable the “Delete this list” link in SharePoint by setting.

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
 
#Variables
$SiteUrl="https://intranet.crescent.com"
$ListName="AppConfig"
 
#Get Web and List
$web = Get-SPWeb $SiteUrl
$List = $Web.Lists[$ListName]

#Turn ON AllowDeletion Flag
$List.AllowDeletion = $True
$List.Update()

Once this flag is set to true, we can delete the list in any way described.

delete list from sharepoint powershell

BTW, you may not see the “Delete this list” option if you don’t have “Edit” or more access rights!

Please be advised, You are not supposed to delete any system lists which could break your site! Here is another article to delete a list from SharePoint using PowerShell: How to Delete a SharePoint List using PowerShell?

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *