Sunday, December 15, 2013

How to Delete Site with Its Subsites in SharePoint - Quick Way!

Problem:  SharePoint doesn't allow you to delete a site with its sub-sites. In other words You cannot delete SharePoint Subsite which has one or more child subsites. You'll have to individually remove each and every child subsite prior removing parent subsite.

Can't delete subsite in SharePoint 2013:
You'll end up in these errors if you try to delete a site with its subsites.

Sorry, something went wrong

There was a problem deleting Web site "/Subsite". Sites that have subsites or certain apps can't be deleted. Please try again after deleting all subsites and removing the apps.

SharePoint 2007 Error: Error deleting web site "/subsiteurl". You can't delete a site that has subsites.

So, to delete a site with subsites in SharePoint, first we have to delete all child subsites and then delete the parent site. What if you have large number of subsites?

Solution: Use "Content and Structure Manager".
Here is the quick trick to delete a subsite from SharePoint site:
  • Go To: Site Actions >> Site Settings >> Under Site Administration, click on "Content and Structure" link. (In SharePoint 2013, its "Content and Structure Logs")
  • Select the check-box on each subsite you want to delete, and choose "Delete" button from the "Actions" menu.
    delete site with subsites
Please note, Content and structure feature is based on "Publishing Feature". You must enable Publishing feature to get content and structure. Obviously, Its not available in SharePoint Foundation!

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.

Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...