Forum Discussion
john john
Jul 03, 2019Iron Contributor
unable to delete a SP modern team site "The site can't be deleted becuase it's connected to office."
i have created a new sharepoint modern team site using the office 365 admin, then i wanted to remove the site collection and create a brand new one. So from Office 365 >> Groups >> i remove the relat...
Jul 03, 2019
Hi
Got it. See article
https://docs.microsoft.com/en-us/sharepoint/delete-site-collection
You need Powershell to finish this off.
Hope that answers your question.
Best, Chris
Got it. See article
https://docs.microsoft.com/en-us/sharepoint/delete-site-collection
You need Powershell to finish this off.
Hope that answers your question.
Best, Chris
john john
Jul 03, 2019Iron Contributor
ChrisHoardMVP wrote:
Hi
Got it. See article
https://docs.microsoft.com/en-us/sharepoint/delete-site-collection
You need Powershell to finish this off.
Hope that answers your question.
Best, Chris
ChrisHoardMVP seems this does not want to work :), here what i did exactly:-
1. using Office 365 admin center >> I removed the office 365 named OurCompanyTest.
2. Then using Office 365 admin center >> i removed the sharepoint site which have this url /sites/OurCompanyTest/
3. Then using this power-shell command Remove-SPODeletedSite -Identity i removed the deleted SP site.
4. then i went back to SP central admin >> create new team site >> I enter the name of the site to be the same as the deleted site OurCompanyTest >> but the url for the new site got "2" at the end of it as follow /sites/ OurCompanyTest2/.. and this is not what i want to have !! any idea?
- Jul 03, 2019Hmm, we are having a good bit of fun with this one.
A good article is right here - see scenario 2
https://www.morgantechspace.com/2018/07/how-to-reuse-deleted-sharepoint-site-url.html?m=1
You would need to run Powershell Command with the SharePoint module
Remove-SPODeletedSite -Identity https://domain.sharepoint.com/sites/OurCompanyTest
After that run the following to make sure it’s deleted
Get-SPODeletedSite
Let me know how it goes
Best, Chris- Jul 04, 2019