Fix Permanently Deleting a SharePoint Site is Greyed Out Error
This site can't be permanently deleted because it's connected to a Microsoft 365 group.
This site can't be permanently deleted because it's connected to a Microsoft 365 group.
SharePoint admins will notice that the ‘Permanently delete’ option is greyed out in the Deleted sites section when attempting to permanently delete a group-connected team site via the SharePoint admin center.
To permanently delete the team site connected to a Microsoft 365 group, use the SharePoint Online Management Shell.
Note: Microsoft 365 groups are a key part of the collaboration structure within Microsoft 365, connecting resources like emails, files, and calendar events.
While the SharePoint admin center restricts permanent deletion, the SharePoint Online Management Shell provides the flexibility to delete Microsoft 365 group-connected sites without restrictions.
Run the following PowerShell cmdlet to install the SharePoint Online Management Shell:
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Execute the following cmdlets to import and connect to the SharePoint Online PowerShell module:
Import-Module Microsoft.Online.SharePoint.PowerShell
Connect-SPOService –Url https://<Tenant>-admin.sharepoint.com
To permanently delete the site, run the cmdlet below. Replace <mention_the_URL_to_delete_the_site> with the URL of the site you want to delete.
Remove-SPODeletedSite -Identity <mention_the_URL_to_delete_the_site>
By following the above steps, you can permanently delete the team site in SharePoint Online using the SPO Management PowerShell.
AdminDroid 365 provides complete visibility into SharePoint Online site collections, groups, sharing activities, file & folders permissions, etc., allowing you to manage your SharePoint Online efficiently.
Perform critical SharePoint Online admin actions from a single console and track them effortlessly.
Review all SharePoint activities in a dedicated portal and take immediate action wherever necessary.
Access key SharePoint insights in one place, from site usage analytics to sharing risk detections, for smart decisions.
Monitor every SharePoint site, along with file and folder activities, permissions, sharing settings, and storage details to ensure effective governance
Gain a complete visibility into site creations, deletions, and permissions, & take smarter actions to secure SharePoint Online.
If these solutions don’t resolve your issue, feel free to leave a comment in the below ‘Discussion Forum’. We’ll assist you to the best of our ability. However, if none of the solutions worked, you may need to contact Microsoft Support for additional help.