Forum Discussion

Ruben Kertesz's avatar
Ruben Kertesz
Iron Contributor
Nov 13, 2016

Cannot delete sharepoint after I delete a group

I deleted a test group but the sharepoint site did not delete and I don't see in in the sharepoint admin center. It is hidden from my view. I tried deleting the site from within the site itself (settings menu --> site settings) but doing that just brings me back to the documents folder :smileymad:

12 Replies

  • Tomas Paulas's avatar
    Tomas Paulas
    Brass Contributor

    Great guys, thank you for your help here. Any clue about other leftovers ? Exchange, Teams...

     

    Thanks

    Tomas

  • You can try using PowerShell to delete the site collection, here are the scripts.  A SharePoint site collection created by an Office 365 group currently will not show up in the SharePoint Online admin center. 

    • Martin Crisp's avatar
      Martin Crisp
      Copper Contributor

      that site with the powershell scripts no longer exists.

       

      I have the same problem described above.  I deleted some groups but their sites still remain.  I tried to go in and delete the sistes from sharepoint admin but there is not option to delete them.

      • StefanFried's avatar
        StefanFried
        Iron Contributor

        Are you talking about deleting a Group SPO Site ?  (a SPO Site which was created via an O365 Group)

         

        I had (or still have) exactly the same case where a SPO Site remain available after i deleted the O365 Group.

        In order to delete a SPO, you need to add an globald admin account as an owner to the site

         

        Set-SPOSite -Identity https://<name>/sites/<sitename> -owner <your global admin account>

         

        afterwards trigger the removal by issuing this cmdlet

        Remove-SPOSite -Identity https://<name>/sites/<sitename> -NoWait

         

        SideNote:

        i had the issue that i couldn't add an owner to ANY Group SPO's. So i had to open a MS support ticket for that :(

         

        hope that helps

  • The Group site should be deleted when the Group is deleted...if that's not the case, to avoid the redirection, append to the Url ?noredirect=true

Resources