What is the best way to find private channel

Bronze Contributor

Hi,

I got a request to find home (team) for random private channel. I have only a name of the private channel.

 

get-team | % { $TeamID = $_.groupid ;  Get-TeamChannel -GroupId $_.GroupID } | Where-Object { $_.DisplayName -eq "The Lost Private Channel" } | % { Write-Host $TeamID $_.DisplayName }

 

But obviously this is super slow when you have thousands of teams.

 

Has anybody else having any better possibilities to find the private channels?

 

1 Reply
Another way could be, when finally rolled out, to look for the PC site in the SPO Admin Center