When you, as a SharePoint Administrator and above in Microsoft 365, delete a site (previously called a "site collection"), it's retained as a deleted site for 93 days. Deleting a site deletes everything within it, including:
Document libraries and files.
Lists and list data.
Site settings and history.
Any subsites and their contents.
You should notify the site admins and any subsite owners before you delete a site so they can move their data to another location, and also tell users when the sites will be deleted.
Warning
We do not recommend deleting the root site for your organization. If you do, all your SharePoint sites will be inaccessible until you restore the site or create a new root site. Instead of deleting the root site, we recommend replacing it. Learn more about the root site and how to replace it
Note
Deleted sites in the Recycle Bin do not count toward the organization’s total storage usage. It will take up to 48 hours for the storage usage to update.
By using the SharePoint admin center, you can delete both classic and modern sites. As a a SharePoint Administrator and above in Microsoft 365, you can now delete sites that belong to Microsoft 365 groups. Deleting these sites will delete the group and all its resources, including the Outlook mailbox and calendar, and any Teams channels.
Go to Active sites in the SharePoint admin center, and sign in with an account that has admin permissions for your organization.
Note
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Active sites page.
To delete a hub site, you first need to unregister it as a hub site.
Deleted Microsoft 365 groups are retained for only 30 days.
For info about deleting a site by using PowerShell, see Remove-SPOSite.
Permanently delete a site
To reuse a URL from a deleted site (recreate a site), you need to permanently delete the site. After the site is permanently deleted, it might take up to 24 hours for the URL to become available. On the Deleted sites page of the new SharePoint admin center, you can permanently delete all sites except those that belong to Microsoft 365 groups.
Go to Deleted sites in the SharePoint admin center, and sign in with an account that has admin permissions for your organization.
Note
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Deleted sites page.
In the left column, select a site.
Select Delete, and to confirm, select Delete.
To permanently delete sites (including Microsoft 365 group-connected team sites) by using PowerShell, follow these steps:
Download the latest SharePoint Online Management Shell.
Note
If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and uninstall "SharePoint Online Management Shell."
Connect to SharePoint as a Global Administrator or SharePoint Administrator in Microsoft 365. To learn how, see Getting started with SharePoint Online Management Shell.
(Where https://contoso.sharepoint.com/sites/sitetoremove is the URL of the site you want to permanently delete). For more info about using this command, see Remove-SPODeletedSite.
Summary of options
Site type
How to delete
How to permanently delete
Root site
Not recommended. Replace the root site with a different site. When the site is no longer a root site, its URL will be /sites/archive-datetime, and you can delete it from the Active sites page of the new SharePoint admin center or by using PowerShell
From the Deleted sites page of the new SharePoint admin center or by using PowerShell
Communication sites
Delete them from the Active sites page of the new SharePoint admin center or by using PowerShell
From the Deleted sites page of the new SharePoint admin center or by using PowerShell
Microsoft 365 group-connected team sites
Delete Microsoft 365 groups and all their resources from the Microsoft 365 admin center, the Active sites page of the new SharePoint admin center, or by using PowerShell
From PowerShell only
Hub sites (those designated with "(Hub site)" in the Hub column)
Unregister them as hub sites from the Active sites page of the new SharePoint admin center, or by using PowerShell, and then delete them based on their site type
Based on their site type
Classic sites
Delete them from the Active sites page of the new SharePoint admin center or by using PowerShell
From the Deleted sites page of the new SharePoint admin center or by using PowerShell
Note
Sites associated with a hub can be deleted like any other site based on their template.
You can use the Restore-SPODeletedSite cmdlet to restore a site collection from the Recycle Bin. To delete a site collection permanently, first move the site collection to the Recycle Bin by using the Remove-SPOSite cmdlet and then delete it from the Recycle Bin by using the Remove-SPODeletedSite cmdlet.
You can use the Restore-SPODeletedSite cmdlet to restore a site collection from the Recycle Bin. To delete a site collection permanently, first move the site collection to the Recycle Bin by using the Remove-SPOSite cmdlet and then delete it from the Recycle Bin by using the Remove-SPODeletedSite cmdlet.
In SharePoint, open the document library and select the item you want to delete. (Avoid selecting the file name itself, because that would open the file.) ...
Select Delete. on the toolbar above the list.
Select Delete in the message box to confirm your action.
On the Deleted sites page of the new SharePoint admin center, you can permanently delete all sites except those that belong to Microsoft 365 groups. Go to Deleted sites in the SharePoint admin center, and sign in with an account that has admin permissions for your organization.
A: To disable SharePoint, go to the SharePoint admin center, navigate to the site collection, click on “Settings,” and choose “Deactivate.” Confirm the deactivation to disable SharePoint.
In the Quick Launch bar on the left side of the screen, navigate to the library that you want to delete. , then select Library settings. In the Settings page, in the middle column under Permissions and Management, select Delete this document library.
A hub is used organize sites with a shared theming, navigation, search and news roll ups. A home site serves as the top level portal with unique functionality like special SP mobile treatment, organizational news, tenant wide search, integration with SP start page, etc.
Go to the Permissions page for the list, library, or survey using the steps in the previous section. In the Name list, select the checkbox next to the name of the user or group that you want to remove permissions from. Select Remove User Permissions.
Delete SharePoint Online Folder using PnP PowerShell
This can be done by running the following cmdlet: Connect-PnPOnline. Once connected, you can delete the folder by running the Remove-PnPFolder command. You will need to replace “Name” with the actual name of the folder you want to delete.
When you delete a Microsoft 365 group, all group resources, including SharePoint site, mailbox conversations, Teams, notebook, and Planner tasks also get deleted. So, to delete a SharePoint group connected site, you must need to delete the Microsoft 365 group first.
Deleting a list or library can also be done using the PnP PowerShell. Make sure the PnP PowerShell module is installed on your computer, and connect to your SharePoint Online site. Once you're connected, use the Remove-PnPList cmdlet to delete the desired list or library.
Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.
We notice you're using an ad blocker
Without advertising income, we can't keep making this site awesome for you.