Here we will discuss how to resolve the below issue which comes when we try to delete a content type in SharePoint Online site. Recently I have created few site columns, content types programmatically and then attach the content types to SharePoint list in my SharePoint online (Download PDF for FREE) site. Then I have updated something in the content type so when I was trying to delete I got the below error. Another site or list is still using this content type. If you would still like to delete it, please remove the content type from all sites and lists and then try again.
The error looks like below:
I had deleted the list which I was using and I did not have any sub site in that particular site. But when I deleted again it was having the same issue.
Delete from Recycle Bin and Second-stage recycle bin:
The solution which worked for me was, even if I deleted the list from the site, it was there in the Recycle Bin. So to resolve the issue I had to delete the list from Recycle Bin and Second-stage recycle bin also.
Read some sharepoint online tutorials:
- Steps to create a provider hosted add-in in SharePoint Online
- Steps to create Azure WebJobs for SharePoint online and deploy in Microsoft Azure
After that the error did not come. Hope this will be helpful.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)