SOLVED

Finding which sharepoint sites have a teams channel as well

%3CLINGO-SUB%20id%3D%22lingo-sub-2427411%22%20slang%3D%22en-US%22%3EFinding%20which%20sharepoint%20sites%20have%20a%20teams%20channel%20as%20well%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2427411%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20recently%20started%20working%20on%20a%20job%20to%20audit%20%2F%20clean%20up%20my%20companies%20tenant%2C%20I%20am%20trying%20to%20find%20a%20way%20using%20PowerShell%20where%20I%20can%20list%20all%20the%20active%20sites%20(already%20got%20that%20part)%2C%20but%20I%20also%20want%20to%20confirm%20if%20there%20is%20a%20Teams%20Channel%20linked%20%2F%20connected%20to%20the%20SharePoint%20Site.%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20this%20can%20be%20done%20using%20Powershell%20or%20via%20the%20Admin%20Centres%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2427411%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2428926%22%20slang%3D%22en-US%22%3ERe%3A%20Finding%20which%20sharepoint%20sites%20have%20a%20teams%20channel%20as%20well%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2428926%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F992929%22%20target%3D%22_blank%22%3E%40coxygt%3C%2FA%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EGet-PnPMicrosoft365Group%20-IncludeHasTeam%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3ESource%3A%20%3CA%20href%3D%22https%3A%2F%2Fveronicageek.com%2Fmicrosoft-365%2Fsharepoint-online%2Fcheck-if-a-sharepoint-site-has-a-microsoft-team-associated-to-it-using-powershell-pnp%2F2021%2F01%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fveronicageek.com%2Fmicrosoft-365%2Fsharepoint-online%2Fcheck-if-a-sharepoint-site-has-a-microsoft-team-associated-to-it-using-powershell-pnp%2F2021%2F01%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I've recently started working on a job to audit / clean up my companies tenant, I am trying to find a way using PowerShell where I can list all the active sites (already got that part), but I also want to confirm if there is a Teams Channel linked / connected to the SharePoint Site.

Is there a way this can be done using Powershell or via the Admin Centres?

2 Replies
best response confirmed by coxygt (New Contributor)
Thanks for the reply Andy, appreciate it. In terms of the permissions it requires, what exactly is this doing? I have installed the module ok, but when you first connect, it then directs to a website with a code, then advises that AAD registration etc?