I have an empty SharePoint online list (which use to contain data), and when i try to delete this custom list using the UI, i got this error:-

enter image description here

so can anyone advice on this error please?

  • 1
    Do you have full control permission on this list? Are you sure there are no items and list is empty? Also try deleting the items for this list from recycle bin and then try deleting this list. May 26 '20 at 9:00
  • 1
    @GaneshSanap i am the office 365 admin + the items were removed from the 2 stages recycle bins + i am the site collection admin.. not sure what is going on !
    – John John
    May 26 '20 at 9:33
  • 1
    This is strange. Never faced similar issue before. Have you tried it deleting using PowerShell? Try this. May 26 '20 at 9:34

Try to delete the list through PowerShell.

$SiteURL = "site collection URL"
$ListName ="list name"

Connect-PnPOnline -Url $SiteURL -Credentials (Get-Credential)

If(Get-PnPList -Identity $ListName)
  Remove-PnPList -Identity $ListName -Force
  Write-host -f Green "List '$ListName' Deleted Successfully!"
  Write-host -f Yellow "Could not find List '$ListName'"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.