{"id":2085,"date":"2015-11-19T00:38:00","date_gmt":"2015-11-19T00:38:00","guid":{"rendered":"https:\/\/seek.itgroove.net\/?p=139"},"modified":"2023-02-24T21:39:39","modified_gmt":"2023-02-24T21:39:39","slug":"delete-and-recreate-a-sharepoint-online-root-site-collection","status":"publish","type":"post","link":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/","title":{"rendered":"Delete and Recreate a SharePoint Online Root Site Collection"},"content":{"rendered":"<p>In Office 365 SharePoint Online we haven&#8217;t had a need to delete and recreate any root site collections yet. \u00a0Mainly because we have been working with clients from the moment they begin their journey to the cloud and are able to advise them to create a separate \/SandboxSite Collections instead of testing in the root. \u00a0However we&#8217;re finally reaching the point of the adoption cycle in Canada where people are spinning up their own tenancy to try out SharePoint Online. \u00a0This leads to them activating features, installing test apps, creating test data, etc., which in turn results in new site columns, content types, administration menus, lists and libraries, list\/library settings changes list action buttons, workflows, etc. \u00a0Many of these configuration changes are virtually irreversible or so hard to reverse that it&#8217;s not worth the time it takes to hunt them down.<\/p>\n<p>So today we finally had a need to delete and recreate a root site collection. \u00a0It was relatively painless, but there were a couple little gotchas worth sharing. \u00a0The short story is:<\/p>\n<ul>\n<li>The written support article at\u00a0<a href=\"https:\/\/support.microsoft.com\/en-ca\/kb\/2559901\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/support.microsoft.com\/en-ca\/kb\/2559901<\/a> doesn&#8217;t\u00a0provide an easy visual for how to\u00a0permanently delete a site collection from the recycle bin<\/li>\n<li>There seems to be an issue with creating a new\u00a0root site collection using the Publishing Portal template, but the Team Site template seems to work fine<\/li>\n<\/ul>\n<h2>Screenshots<\/h2>\n<p>When you delete your root site collection SPOnline provides a check box warning you that access to SharePoint will be disrupted:<\/p>\n<p><a href=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-146\" src=\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg\" alt=\"01\" width=\"300\" height=\"267\" srcset=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/01-300x267.jpg 300w, https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/01.jpg 566w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Take note that your SharePoint Online sites will be accessible for a minute or two while the system fully deletes the root site collection.<\/p>\n<p>But once the delete job finishes, this is the warning you will see on all of your other SharePoint site collections when the root site collection is deleted:<\/p>\n<p><a href=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-147\" src=\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/03-300x93.jpg\" alt=\"03\" width=\"300\" height=\"93\" srcset=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/03-300x93.jpg 300w, https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/03.jpg 308w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>What threw me for a bit of a loop initially (and it&#8217;s my fault for not being patient and exactly following the procedure at <a href=\"https:\/\/support.microsoft.com\/en-ca\/kb\/2559901\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/support.microsoft.com\/en-ca\/kb\/2559901<\/a>) is the fact that the &#8220;<strong class=\"uiterm\">Permanently delete the site collection from the recycle bin and continue<\/strong>&#8221; option is not in the ribbon in the SharePoint admin center Recycle Bin, like documents would be within a Site collection:<\/p>\n<p><a href=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-148\" src=\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/05-300x143.jpg\" alt=\"05\" width=\"300\" height=\"143\" \/><\/a><\/p>\n<p>So here is the visual for how a &#8216;permanently delete&#8217; check box appears on the create a new site collection form (this community discussion forum thread was helpful\u00a0<a href=\"https:\/\/community.office365.com\/en-us\/f\/154\/t\/234563\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/community.office365.com\/en-us\/f\/154\/t\/234563<\/a>):<\/p>\n<p><a href=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-149\" src=\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/06-300x216.jpg\" alt=\"06\" width=\"300\" height=\"216\" srcset=\"https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/06-300x216.jpg 300w, https:\/\/regroove.ca\/archive\/wp-content\/uploads\/sites\/6\/2015\/11\/06.jpg 652w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>Publishing Portal template<\/h2>\n<p>This blogger had an issue with creating a new root site collection based on the Publishing Portal\u00a0<a href=\"http:\/\/bexgordon.com\/?p=148\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/bexgordon.com\/?p=148<\/a>\u00a0I think I might have had similar symptoms but the blog post is a little too short to know for sure, and I didn&#8217;t have the time for further testing to try his PowerShell commands.<\/p>\n<p>What I saw was the &#8216;permanently delete&#8217; check box not work a couple of times when I clicked ok &#8211; However closing and reopening the dialog box solved that. \u00a0And I also consistently recreated an issue where I selected the first template option called &#8220;Publishing Portal&#8221; but the system provisioned a new site collection using\u00a0the second option for &#8220;Enterprise Wiki&#8221; for some reason&#8230;<\/p>\n<p>We didn&#8217;t need to pursue that any further as we were able to start from a &#8220;Team Site&#8221; template and turn on the publishing features we needed.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Office 365 SharePoint Online we haven&#8217;t had a need to delete and recreate any root site collections yet. \u00a0Mainly because we have been working with clients from the moment they begin their journey to the cloud and are able to advise them to create a separate \/SandboxSite Collections instead of testing in the root. &hellip; <a href=\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/\"><\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[24,7],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Delete and Recreate a SharePoint Online Root Site Collection - Archive<\/title>\n<meta name=\"description\" content=\"Delete and Recreate a SharePoint Online Root Site Collection\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Delete and Recreate a SharePoint Online Root Site Collection - Archive\" \/>\n<meta property=\"og:description\" content=\"Delete and Recreate a SharePoint Online Root Site Collection\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/\" \/>\n<meta property=\"og:site_name\" content=\"Archive\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-19T00:38:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T21:39:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg\" \/>\n<meta name=\"author\" content=\"Bruce Smith (Alumni)\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bruce Smith (Alumni)\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/\",\"url\":\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/\",\"name\":\"Delete and Recreate a SharePoint Online Root Site Collection - Archive\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg\",\"datePublished\":\"2015-11-19T00:38:00+00:00\",\"dateModified\":\"2023-02-24T21:39:39+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/c3d090ee19d138a019a862686486e8a7\"},\"description\":\"Delete and Recreate a SharePoint Online Root Site Collection\",\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#primaryimage\",\"url\":\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg\",\"contentUrl\":\"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog Archive\",\"item\":\"https:\/\/regroove.ca\/archive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Delete and Recreate a SharePoint Online Root Site Collection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/archive\/#website\",\"url\":\"https:\/\/regroove.ca\/archive\/\",\"name\":\"Archive\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/archive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/c3d090ee19d138a019a862686486e8a7\",\"name\":\"Bruce Smith (Alumni)\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/02a09e0d68069fd910e5203d2d7aa7f9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/02a09e0d68069fd910e5203d2d7aa7f9?s=96&d=mm&r=g\",\"caption\":\"Bruce Smith (Alumni)\"},\"url\":\"https:\/\/regroove.ca\/archive\/author\/bsmith\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Delete and Recreate a SharePoint Online Root Site Collection - Archive","description":"Delete and Recreate a SharePoint Online Root Site Collection","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:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/","og_locale":"en_US","og_type":"article","og_title":"Delete and Recreate a SharePoint Online Root Site Collection - Archive","og_description":"Delete and Recreate a SharePoint Online Root Site Collection","og_url":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/","og_site_name":"Archive","article_published_time":"2015-11-19T00:38:00+00:00","article_modified_time":"2023-02-24T21:39:39+00:00","og_image":[{"url":"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg"}],"author":"Bruce Smith (Alumni)","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bruce Smith (Alumni)","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/","url":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/","name":"Delete and Recreate a SharePoint Online Root Site Collection - Archive","isPartOf":{"@id":"https:\/\/regroove.ca\/archive\/#website"},"primaryImageOfPage":{"@id":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#primaryimage"},"image":{"@id":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#primaryimage"},"thumbnailUrl":"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg","datePublished":"2015-11-19T00:38:00+00:00","dateModified":"2023-02-24T21:39:39+00:00","author":{"@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/c3d090ee19d138a019a862686486e8a7"},"description":"Delete and Recreate a SharePoint Online Root Site Collection","breadcrumb":{"@id":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#primaryimage","url":"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg","contentUrl":"http:\/\/seek.itgroove.net\/wp-content\/uploads\/sites\/9\/2015\/11\/01-300x267.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/archive\/2015\/11\/19\/delete-and-recreate-a-sharepoint-online-root-site-collection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Archive","item":"https:\/\/regroove.ca\/archive\/"},{"@type":"ListItem","position":2,"name":"Delete and Recreate a SharePoint Online Root Site Collection"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/archive\/#website","url":"https:\/\/regroove.ca\/archive\/","name":"Archive","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/archive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/c3d090ee19d138a019a862686486e8a7","name":"Bruce Smith (Alumni)","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/02a09e0d68069fd910e5203d2d7aa7f9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/02a09e0d68069fd910e5203d2d7aa7f9?s=96&d=mm&r=g","caption":"Bruce Smith (Alumni)"},"url":"https:\/\/regroove.ca\/archive\/author\/bsmith\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/2085"}],"collection":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/comments?post=2085"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/2085\/revisions"}],"predecessor-version":[{"id":2771,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/2085\/revisions\/2771"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/media?parent=2085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/categories?post=2085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/tags?post=2085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}