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:-
so can anyone advice on this error please?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI 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:-
so can anyone advice on this error please?
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!"
}
Else
{
Write-host -f Yellow "Could not find List '$ListName'"
}