SharePoint 2013 sites are not deleted

Some times when trying to delete site and then restoring it, it fails and you keep getting error "No content databases are available for this operation"
You will discover that the site is not really deleted

To check if the site is deleted use this command:
Get-SPDeletedSite

To remove the site use this command:
Remove-SPDeletedSite -Identity xxxxx

so the safest process to delete site is:
Remove-SPSite –Identity URL
Get-SPDeletedSite  to get the deleted site identity
 Remove-SPDeletedSite -Identity xxx         to force deletion

Comments

Popular posts from this blog

Adjust the Search SharePoint Performance level

SharePoint 2013 User Profile synchronization versus import

Usage and Popularity Trends Report not showing correct numbers