{"id":3404,"date":"2023-06-27T11:55:52","date_gmt":"2023-06-27T11:55:52","guid":{"rendered":"https:\/\/www.mailsdaddy.com\/blogs\/?p=3404"},"modified":"2023-08-06T09:56:55","modified_gmt":"2023-08-06T09:56:55","slug":"delete-sharepoint-site-subsite-admin-center-powershell","status":"publish","type":"post","link":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/","title":{"rendered":"Delete SharePoint Site or Subsite \u2013 Admin Center &#038; PowerShell"},"content":{"rendered":"<p>Lots of users looking for a solution \u201cHow to delete SharePoint site or subsite in Microsoft 365?\u201d. So what&#8217;s the process for removing one, two, or more SharePoint sites? This post is a guide to deleting a SharePoint site or subsite in a proper way.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#Know_Before_Removing_Site\" >Know Before Removing Site<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#How_to_Find_Inactive_Sites\" >How to Find Inactive Sites?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#How_to_Delete_SharePoint_site_in_M365\" >How to Delete SharePoint site in M365?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#Use_Powershell_to_delete_SharePoint_site\" >Use Powershell to delete SharePoint site<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Know_Before_Removing_Site\"><\/span>Know Before Removing Site<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>SharePoint is a team collaboration platform for site projects, but often multiple sites are created for the same team or project. In this way, it also takes up more space and also increases the burden on the team members. Removing unused SharePoint sites is the right way to make your workplace efficient.<\/p>\n<p>Here are some points mentions, that we need to keep in mind before removing sites.<\/p>\n<ul>\n<li>To delete SharePoint site, you should have admin account access or claim to be the site owner.<\/li>\n<li>If the wrong SharePoint site gets deleted by mistake then you can recover data in a short period of time as per the retention policy.<\/li>\n<\/ul>\n<p><em><u>Note: Retention policy is different for Classic (93 Days) or Modern sites (30 Days).<\/u><\/em><\/p>\n<ul>\n<li>It doesn&#8217;t matter whether you have a classic site or a modern one as the process is practically the same for both sites. But remember that a classic site is a standalone site while a modern site is an M365 group that includes Planner, Team Channels, OneNote, etc. which has also been deleted along with the site.<\/li>\n<li>Check site usage report to ensure that no one is using the site.<\/li>\n<li>Remove the subsite first otherwise, you will get an error <strong>\u201cSites that have subsites or certain apps can\u2019t be deleted. Please try again after deleting all subsites and removing the apps.\u201d<\/strong><\/li>\n<\/ul>\n<p><strong><em><u>Note: you can check subsite here: site setting &gt;&gt; site hierarchy.<\/u><\/em><\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Find_Inactive_Sites\"><\/span>How to Find Inactive Sites?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A question may arise in your mind &#8220;How to find unused or inactive sites?&#8221; Here I would like to answer that you should check your user&#8217;s activities in SharePoint and Teams.<\/p>\n<p>It is a very simple way:<\/p>\n<ul>\n<li>Open Admin Center of SharePoint &gt; Expand sites<\/li>\n<li>Active sites &gt; Scroll to the right and check the last activity.<\/li>\n<li>You can also filter the last activity by clicking on the down arrow. (Follow the image to check it)<\/li>\n<\/ul>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-3412\" src=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_44_47_497Z.png\" alt=\"inactive-user\" width=\"1544\" height=\"769\" srcset=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_44_47_497Z.png 1544w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_44_47_497Z-300x149.png 300w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_44_47_497Z-1024x510.png 1024w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_44_47_497Z-768x383.png 768w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_44_47_497Z-1536x765.png 1536w\" sizes=\"(max-width: 1544px) 100vw, 1544px\" \/><\/p>\n<p><strong>Via Teams Admin Center<\/strong><\/p>\n<ul>\n<li>Open it &gt;&gt; Analytics &amp; Reports<\/li>\n<li>Usage Reports &gt;&gt; Teams usage report and set the date range.<\/li>\n<li>Click on Run report<\/li>\n<li>You will see the only active teams in the list.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3413\" src=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_52_21_529Z.png\" alt=\"team-admin-center\" width=\"1544\" height=\"777\" srcset=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_52_21_529Z.png 1544w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_52_21_529Z-300x151.png 300w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_52_21_529Z-1024x515.png 1024w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_52_21_529Z-768x386.png 768w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_52_21_529Z-1536x773.png 1536w\" sizes=\"(max-width: 1544px) 100vw, 1544px\" \/><\/p>\n<p>That\u2019s it.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_to_Delete_SharePoint_site_in_M365\"><\/span><strong>How to Delete SharePoint site in M365?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After ensuring the above point, you will follow the below steps to remove SharePoint sites from 2 different locations.<\/p>\n<p><strong>Delete Modern SharePoint Site<\/strong><\/p>\n<ul>\n<li>Open SharePoint site &gt;&gt; Go to the Gear icon and click on it<\/li>\n<li>Choose Site information &gt;&gt; Press the Delete button<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3409\" src=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_10_20_242Z.png\" alt=\"site-informaiton\" width=\"296\" height=\"442\" srcset=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_10_20_242Z.png 296w, https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/image_2023_06_27T11_10_20_242Z-201x300.png 201w\" sizes=\"(max-width: 296px) 100vw, 296px\" \/><\/p>\n<ul>\n<li>It will pop-up a window to confirm that you are going to delete the site along with the resources.<\/li>\n<li>Click on Delete, that\u2019s it.<\/li>\n<\/ul>\n<p><strong>Delete Classic SharePoint Site<\/strong><\/p>\n<ul>\n<li>Open SharePoint site &gt;&gt; Click on the Gear icon<\/li>\n<li>Choose Site setting &gt;&gt; Press Delete this site (under site actions)<\/li>\n<li>It will pop-up warning window, click on delete site along with the resources &gt;&gt; OK<\/li>\n<li>Delete site as Administrator<\/li>\n<\/ul>\n<p>An administrator can also delete the site from the <a href=\"https:\/\/www.mailsdaddy.com\/blogs\/what-should-i-choose-sharepoint-or-onedrive\/\">SharePoint admin center<\/a>. Global admin has the right to delete SharePoint in bulk or individually.<\/p>\n<p><strong>Remove single site from SharePoint Admin center<\/strong><\/p>\n<ul>\n<li>Open Admin Center &gt;&gt; Expand Sites<\/li>\n<li>Choose Active Sites&gt;&gt; Find and click on the site which you want to delete.<\/li>\n<li>Click on the Delete button &gt;&gt; Again press Delete in the warning window.<\/li>\n<\/ul>\n<p>That\u2019s it.<\/p>\n<p><strong>Delete multiple sites from SharePoint Admin Center<\/strong><\/p>\n<ul>\n<li>Once you open admin center &gt;&gt; In Active sites window<\/li>\n<li>First, select the sites which you want to remove<\/li>\n<li>Press on the Bulk edit option<\/li>\n<li>Choose the Delete button in the drop-down<\/li>\n<li>Confirm your action and press the Delete button again.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Use_Powershell_to_delete_SharePoint_site\"><\/span><strong>Use Powershell to delete SharePoint site<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Expertise may love to use Powershell to remove a SharePoint site with some commands. To continue the process, ensure that you have installed a module for SharePoint.<\/p>\n<p>Note: You can use any method to delete a SharePoint site. It will go to the recycle bin only so that you can restore it again if needed.<\/p>\n<p><strong>Cmdlet command to delete a classic SharePoint site<\/strong><\/p>\n<p># Connect to SharePoint Online Services<\/p>\n<pre>Connect-SPOService -Url https:\/\/contoso-admin.sharepoint.com<\/pre>\n<p># Remove the SharePoint Site<\/p>\n<pre>Remove-SPOSite -Identity https:\/\/contoso.sharepoint.com\/sites\/ mailsdaddywork -NoWait<\/pre>\n<p><strong>Cmdlet command to delete a modern SharePoint site<\/strong><\/p>\n<p>First, connect to Exchange online then delete the site by following the command.<\/p>\n<p># Connect to Exchange Online<\/p>\n<pre>Connect-ExchangeOnline -UserPrincipalName admin@contoso.com<\/pre>\n<p># Delete the SharePoint site<\/p>\n<pre>Remove-UnifiedGroup -Identity \"mailsdaddy workplace\"<\/pre>\n<p>To delete any site permanently that is no longer in use. Go to deleted sites &gt;&gt; Select the site which you want to delete then press Permanently Delete SharePoint site.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I have explained this whole post step by step that how you can delete the SharePoint site. You can even remove it completely if you don&#8217;t need it anymore. But remember that if you will not be able to restore it again. Keep in mind the restored limit of the SharePoint site to recover accidentally deleted sites. For more information contact our support team.<\/p>\n<blockquote><p>Read More: <a href=\"https:\/\/www.mailsdaddy.com\/blogs\/office-365-tenant-to-tenant-migration\/\">Tenant Migration Manual Way<\/a><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Lots of users looking for a solution \u201cHow to delete SharePoint site or subsite in Microsoft 365?\u201d. So what&#8217;s the process for removing one, two, or more SharePoint sites? This post is a guide to deleting a SharePoint site or subsite in a proper way. Know Before Removing Site SharePoint is a team collaboration platform [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":3406,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21,59,160],"tags":[],"class_list":["post-3404","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-365","category-powershell","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Delete SharePoint Site or Subsite \u2013 Admin Center &amp; PowerShell<\/title>\n<meta name=\"description\" content=\"Delete a SharePoint site with items in Office 365. Also learn what are the limitations of restoring a deleted SharePoint site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Delete SharePoint Site or Subsite \u2013 Admin Center &amp; PowerShell\" \/>\n<meta property=\"og:description\" content=\"Delete a SharePoint site with items in Office 365. Also learn what are the limitations of restoring a deleted SharePoint site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"MailsDaddy Official Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mailsdaddy\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-27T11:55:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-06T09:56:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/delete-sharepoint-site.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"984\" \/>\n\t<meta property=\"og:image:height\" content=\"554\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Somit Vishwakarma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mailsdaddy\" \/>\n<meta name=\"twitter:site\" content=\"@mailsdaddy\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Somit Vishwakarma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/\"},\"author\":{\"name\":\"Somit Vishwakarma\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#\\\/schema\\\/person\\\/92e081b3a44ee40439d7d52a738c34c7\"},\"headline\":\"Delete SharePoint Site or Subsite \u2013 Admin Center &#038; PowerShell\",\"datePublished\":\"2023-06-27T11:55:52+00:00\",\"dateModified\":\"2023-08-06T09:56:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/\"},\"wordCount\":864,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/delete-sharepoint-site.jpg\",\"articleSection\":[\"Office 365\",\"PowerShell\",\"Technology\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/\",\"url\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/\",\"name\":\"Delete SharePoint Site or Subsite \u2013 Admin Center & PowerShell\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/delete-sharepoint-site.jpg\",\"datePublished\":\"2023-06-27T11:55:52+00:00\",\"dateModified\":\"2023-08-06T09:56:55+00:00\",\"description\":\"Delete a SharePoint site with items in Office 365. Also learn what are the limitations of restoring a deleted SharePoint site.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/delete-sharepoint-site.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/delete-sharepoint-site.jpg\",\"width\":984,\"height\":554,\"caption\":\"delete-sharepoint-site\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/delete-sharepoint-site-subsite-admin-center-powershell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Delete SharePoint Site or Subsite \u2013 Admin Center &#038; PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#website\",\"url\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/\",\"name\":\"MailsDaddy Official Blog\",\"description\":\"Manual Data Recovery and Email Migration Blogs\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#organization\",\"name\":\"MailsDaddy Official Blog\",\"url\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/cropped-christmas-logo.avif\",\"contentUrl\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/cropped-christmas-logo.avif\",\"width\":418,\"height\":112,\"caption\":\"MailsDaddy Official Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/mailsdaddy\\\/\",\"https:\\\/\\\/x.com\\\/mailsdaddy\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/#\\\/schema\\\/person\\\/92e081b3a44ee40439d7d52a738c34c7\",\"name\":\"Somit Vishwakarma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/740198af3e73f713279c531b4c4e633c73eb16952ebdaa2147c066c85c4ed24c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/740198af3e73f713279c531b4c4e633c73eb16952ebdaa2147c066c85c4ed24c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/740198af3e73f713279c531b4c4e633c73eb16952ebdaa2147c066c85c4ed24c?s=96&d=mm&r=g\",\"caption\":\"Somit Vishwakarma\"},\"url\":\"https:\\\/\\\/www.mailsdaddy.com\\\/blogs\\\/author\\\/somit\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Delete SharePoint Site or Subsite \u2013 Admin Center & PowerShell","description":"Delete a SharePoint site with items in Office 365. Also learn what are the limitations of restoring a deleted SharePoint site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Delete SharePoint Site or Subsite \u2013 Admin Center & PowerShell","og_description":"Delete a SharePoint site with items in Office 365. Also learn what are the limitations of restoring a deleted SharePoint site.","og_url":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/","og_site_name":"MailsDaddy Official Blog","article_publisher":"https:\/\/www.facebook.com\/mailsdaddy\/","article_published_time":"2023-06-27T11:55:52+00:00","article_modified_time":"2023-08-06T09:56:55+00:00","og_image":[{"width":984,"height":554,"url":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/delete-sharepoint-site.jpg","type":"image\/jpeg"}],"author":"Somit Vishwakarma","twitter_card":"summary_large_image","twitter_creator":"@mailsdaddy","twitter_site":"@mailsdaddy","twitter_misc":{"Written by":"Somit Vishwakarma","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#article","isPartOf":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/"},"author":{"name":"Somit Vishwakarma","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/person\/92e081b3a44ee40439d7d52a738c34c7"},"headline":"Delete SharePoint Site or Subsite \u2013 Admin Center &#038; PowerShell","datePublished":"2023-06-27T11:55:52+00:00","dateModified":"2023-08-06T09:56:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/"},"wordCount":864,"publisher":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/delete-sharepoint-site.jpg","articleSection":["Office 365","PowerShell","Technology"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/","url":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/","name":"Delete SharePoint Site or Subsite \u2013 Admin Center & PowerShell","isPartOf":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#primaryimage"},"image":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/delete-sharepoint-site.jpg","datePublished":"2023-06-27T11:55:52+00:00","dateModified":"2023-08-06T09:56:55+00:00","description":"Delete a SharePoint site with items in Office 365. Also learn what are the limitations of restoring a deleted SharePoint site.","breadcrumb":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#primaryimage","url":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/delete-sharepoint-site.jpg","contentUrl":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2023\/06\/delete-sharepoint-site.jpg","width":984,"height":554,"caption":"delete-sharepoint-site"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mailsdaddy.com\/blogs\/delete-sharepoint-site-subsite-admin-center-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mailsdaddy.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"Delete SharePoint Site or Subsite \u2013 Admin Center &#038; PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#website","url":"https:\/\/www.mailsdaddy.com\/blogs\/","name":"MailsDaddy Official Blog","description":"Manual Data Recovery and Email Migration Blogs","publisher":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mailsdaddy.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#organization","name":"MailsDaddy Official Blog","url":"https:\/\/www.mailsdaddy.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2025\/12\/cropped-christmas-logo.avif","contentUrl":"https:\/\/www.mailsdaddy.com\/blogs\/wp-content\/uploads\/2025\/12\/cropped-christmas-logo.avif","width":418,"height":112,"caption":"MailsDaddy Official Blog"},"image":{"@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/mailsdaddy\/","https:\/\/x.com\/mailsdaddy"]},{"@type":"Person","@id":"https:\/\/www.mailsdaddy.com\/blogs\/#\/schema\/person\/92e081b3a44ee40439d7d52a738c34c7","name":"Somit Vishwakarma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/740198af3e73f713279c531b4c4e633c73eb16952ebdaa2147c066c85c4ed24c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/740198af3e73f713279c531b4c4e633c73eb16952ebdaa2147c066c85c4ed24c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/740198af3e73f713279c531b4c4e633c73eb16952ebdaa2147c066c85c4ed24c?s=96&d=mm&r=g","caption":"Somit Vishwakarma"},"url":"https:\/\/www.mailsdaddy.com\/blogs\/author\/somit\/"}]}},"_links":{"self":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts\/3404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/comments?post=3404"}],"version-history":[{"count":1,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts\/3404\/revisions"}],"predecessor-version":[{"id":3414,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/posts\/3404\/revisions\/3414"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/media\/3406"}],"wp:attachment":[{"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/media?parent=3404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/categories?post=3404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailsdaddy.com\/blogs\/wp-json\/wp\/v2\/tags?post=3404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}