Forum Discussion

Robin Nilsson's avatar
Robin Nilsson
Bronze Contributor
Dec 02, 2019
Solved

Best way to delete orphaned private channel sites?

I was testing private channels in my business tenant, where I am the only member - along with 2 guest accounts.

When I tried creating a private channel, it seemed to work - but when I tried to go to the Files tab I got a variety of errors. I've seen this problem mentioned before, so thought I'd wait it out over the holiday.

 

I found that the actual SharePoint site wasn't fully set up - it didn't look the same as a private channel site in my work tenant. And each time I tried to go to the file tab in Teams, it actually created another site collection. 

 

I deleted the private channels through teams, then deleted the team itself through teams.. But all these private channel sites still exist - I've got 12 orphan site collections...

 

What is the best way to get rid of these through Powershell? They don't show up anywhere in admin. Is the usual Remove-SPOSite / Remove-SPODeletedSite good enough? Is there any other object I need to delete?

  • Use PowerShell, yes. And Teams leaving SPO sites behind when deleted is a well known "issue", or "feature", depending on who you ask 🙂

  • Use PowerShell, yes. And Teams leaving SPO sites behind when deleted is a well known "issue", or "feature", depending on who you ask 🙂

    • Robin Nilsson's avatar
      Robin Nilsson
      Bronze Contributor
      Perfect, thanks. In this case I'd say issue, since private channel sites are currently invisible in the admin center 🙂 Now off to test again to see why private channels aren't working in my tenant.
      • Robin Nilsson's avatar
        Robin Nilsson
        Bronze Contributor
        And in case anyone else is having issues with private channels, this is what I am seeing Dec 2, 2019..
        It's only specific to my personal tenant, a Business Essentials. My work E3 works fine.
        Happens in app, browsers, mobile.
        Create PC, site is created. Sometimes with a storage quota of 26214400, sometimes with a quota of 1048576. That's a bit strange.
        Go to files tab in Teams, get scenario errors (663, 439, 430) different each time.
        Each time I go to files tab it creates a new SPO site. /sites/TEAM-CHANNEL for first, then -CHANNEL2, then -CHANNEL29, then -CHANNEL5, always a unique site name.
        If I go directly to the site, I can see the document library, that looks fine, but the Members/Owners/Visitors permission groups aren't created.

        Off to figure out how I can log a support call without a phone# - admin center only allows calls it seems. Maybe it's not fully deployed in my tenant....

Resources