Dear LH72,
Thank you for reaching out regarding the issue with deleting your SharePoint site.
The "404 Not Found" error typically indicates that the site has already been deleted. Please ask assistance from your teanant SharePoint admin to help with following steps to proceed.
Confirm Site Deletion Status:
- Check the SharePoint Admin Center under the "Deleted Sites" section to see if the site is listed there.
- If it appears in the deleted sites, you can either restore it or permanently delete itfrom this section.
Recheck URL Accuracy:
- Ensure that the URL you are using is correct and matches the site's original address. If you couldn't find it from Deleted sites page, you may check from Active sites page by searching part of the site name or site URL to confirm the URL you entered is correct.
Access through PowerShell (if necessary):
If the site is not visible in the admin center but you believe it exists, you can use PowerShell commands like Get-SPOSite and Get-SPODeletedSite to check its status. And then restore it with command Restore-SPODeletedSite.
- Install SharePoint Online Management Shell and run the following commands to connect to SharePoint Online: Connect-SPOService -Url https://[your-organization]-admin.sharepoint.com
Note: Enter admin credentials when prompted.
- Run this command to check if it is still "active"(change the URL to your SharePoint site URL): Get-SPOSite -Identity https://<Your-Domain>.sharepoint.com/sites/sitename
Note: If it returns result in "active" status, you can jump to last command to grant permission directly.
- Run this command to check if it is deleted but able to be recovered(change the URL to your SharePoint site URL): Get-SPODeletedSite -Identity https://<Your-Domain>.sharepoint.com/sites/sitename
- Run this command to restore it if it is deleted: Restore-SPODeletedSite -Identity https://<Your-Domain>.sharepoint.com/sites/sitename
I hope this helps! Please let me know if you need any further assistance.
Best regards,
Community Moderator | Sophia