Jul 03 2019 02:26 PM - edited Jul 03 2019 02:33 PM
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 related office 365 group. then i went to office 365 >> SharePoint >> i remove the related sharepoint site. this moved the site to the recycle bin. but when i selected the deleted sharepoint site >> the "Permanently delete" button was disabled, and i got this message "The site can't be permanently deleted because it's connected to an Office 365 group.." as follow:-
and idea what is going on?
Jul 03 2019 02:42 PM - edited Jul 03 2019 03:12 PM
Jul 03 2019 02:48 PM - edited Jul 03 2019 02:50 PM
@Christopher Hoard wrote:
Hi @John John
Long standing issue - deleting an Office 365 Group before deleting the Site Collection
See article here:
https://techcommunity.microsoft.com/t5/Office-365-Groups/Force-delete-Group-Site-Collection-after-Gr...
There is a workaround identified in here to delete the site. However this doesn’t seem to work for everyone. General consensus seems to be if it doesn’t work for you then to raise a ticket to support on this one.
Hope that answers your question
Best, Chris
I restored the deleted sharepoint site and the deleted Office 365 group. then i removed the Office 365 group >> but the SP site still showed inside the active sites list, and i got a message that this site does not have Office 365 group and if i want to delete it,, so i remove the SP site and i got the same message when i tried to remove it permanent from recycle bin ... seems deleting an Office 365 Group before deleting the Site Collection will not work also..
Jul 03 2019 03:08 PM - edited Jul 03 2019 03:11 PM
Jul 03 2019 03:52 PM - edited Jul 03 2019 03:54 PM
@Christopher Hoard 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
@Christopher Hoard 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 2019 04:03 PM - edited Jul 03 2019 04:06 PM
Jul 04 2019 05:11 AM
Feb 10 2020 01:50 AM - edited Feb 10 2020 01:51 AM
Hi everyone with the same problem.
I haven't read every link and solution so maybe my way to solve this issue was suggested and / or failed already.
But here is what helped me:
1. deleted site via share point admin center
2. because i wasn't able to permanently delete that site under "deleted sites" i deleted the office Group permanently via azure admin center
3. still, it wasn't possible to delete site permanently so i restored it. Got message that the office group couldn't be found so it will restore without group. Yes, fine
4. Finally, just as it emerged I deleted it again
5. now it was possible to delete it permanently.
Hope this will help people who still have this issue.
Feb 24 2020 01:04 PM - edited Feb 24 2020 01:05 PM
@Gordon_nomatter Your solution worked for me, thank you.
Mar 25 2020 09:30 AM
@Gordon_nomatterThank's it worked for me too.