SOLVED

View all the Microsoft teams in the organization

%3CLINGO-SUB%20id%3D%22lingo-sub-167717%22%20slang%3D%22en-US%22%3EView%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-167717%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20to%20view%20all%20the%20existing%20teams%20within%20our%20tenant%2C%20is%20that%20possible%20at%20the%20moment%3F%20if%20not-%20can%20you%20please%20advise%20if%20that%20is%20planned%20and%20for%20when%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-167717%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAnalytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-167974%22%20slang%3D%22en-US%22%3ERe%3A%20View%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-167974%22%20slang%3D%22en-US%22%3EYou%20have%20to%20use%20a%20combination%20of%20Teams%20PowerShell%20and%20Groups%20PowerShell%20and%20you%20will%20be%20able%20to%20get%20the%20information.%20I%20believe%20Tony%20Redmond%20has%20a%20script%20demoing%20this%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-167896%22%20slang%3D%22en-US%22%3ERe%3A%20View%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-167896%22%20slang%3D%22en-US%22%3EThey%20were%20going%20to%20list%20all%20Teams%20including%20private%20teams%20when%20you%20click%20Add%20Teams%20within%20the%20app%20on%20march%2023rd%2C%20but%20I%20think%20they%20pulled%20that%20due%20to%20feedback.%20I%20know%20they%20are%20working%20on%20it%20and%20it%20will%20be%20released%2C%20but%20I%20think%20they%20are%20going%20back%20to%20add%20a%20toggle%20switch%20so%20we%20have%20the%20choice%20to%20hide%20a%20Team%20or%20not%2C%20not%20related%20to%20the%20Addresslist%20hide%20option%20that%20was%20going%20to%20control%20if%20you%20could%20see%20the%20Team%20or%20not%20in%20the%20list.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-167781%22%20slang%3D%22en-US%22%3ERe%3A%20View%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-167781%22%20slang%3D%22en-US%22%3E%3CP%3EI%20guess%20you%20are%20looking%20for%20this%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2Fview-a-list-of-all-Teams-that-have-been-created-in-Microsoft%2Ftd-p%2F65067%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2Fview-a-list-of-all-Teams-that-have-been-created-in-Microsoft%2Ftd-p%2F65067%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-167764%22%20slang%3D%22en-US%22%3ERe%3A%20View%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-167764%22%20slang%3D%22en-US%22%3EAh...%20I%20wasn't%20aware%20of%20that.%20%3CBR%20%2F%3E%3CBR%20%2F%3ESorry%20for%20pointing%20you%20in%20the%20wrong%20direction!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-167758%22%20slang%3D%22en-US%22%3ERe%3A%20View%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-167758%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1803%22%20target%3D%22_blank%22%3E%40Paul%20Pascha%3C%2FA%3E%20wrote%3A%3CBR%20%2F%3E%3CP%3EYou%20could%20use%20Microsoft%20Teams%20PowerShell%20module%20and%20the%20Get-Team%20cmdlet%20to%20list%20all%20teams%20in%20your%20tenant%3A%3C%2FP%3E%0A%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnfortunately%20that%20won't%20work%2C%20as%20the%20Get-Team%20cmdlet%20is%20user%20centric%2C%20meaning%20that%20you%20only%20get%20a%20list%20of%20the%20teams%20you%20are%20a%20member%20of%20(which%20I%20know%20makes%20no%20sense).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20seen%20some%20attempts%20of%20solving%20the%20issue%20at%20hand%20with%20powershell%20using%20the%20Get-UnifiedGroup%20and%26nbsp%3B%3CSPAN%3EGet-MailboxFolderStatistics%2C%20check%20this%20thread%20for%20more%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2Fview-a-list-of-all-Teams-that-have-been-created-in-Microsoft%2Ftd-p%2F65067%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2Fview-a-list-of-all-Teams-that-have-been-created-in-Microsoft%2Ftd-p%2F65067%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-167742%22%20slang%3D%22en-US%22%3ERe%3A%20View%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-167742%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20could%20use%20Microsoft%20Teams%20PowerShell%20module%20and%20the%20Get-Team%20cmdlet%20to%20list%20all%20teams%20in%20your%20tenant%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fskypehybridguy%2F2017%2F11%2F07%2Fmicrosoft-teams-powershell-support%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fskypehybridguy%2F2017%2F11%2F07%2Fmicrosoft-teams-powershell-support%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1613993%22%20slang%3D%22en-US%22%3ERe%3A%20View%20all%20the%20Microsoft%20teams%20in%20the%20organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1613993%22%20slang%3D%22en-US%22%3EAccording%20to%20the%20description%20of%20the%20cmdlet%3A%20This%20cmdlet%20supports%20retrieving%20teams%20with%20particular%20properties%2Finformation%2C%20including%20all%20teams%20that%20a%20specific%20user%20belongs%20to%2C%20all%20teams%20that%20have%20been%20archived%2C%20all%20teams%20with%20a%20specific%20display%20name%2C%20or%20%22all%20teams%20in%20the%20organization.%22%3CBR%20%2F%3ESo%20if%20u%20run%20the%20Get-Team%20without%20any%20user%20you%20can%20get%20all%20the%20teams.%3C%2FLINGO-BODY%3E
Highlighted
Senior Member

I would like to view all the existing teams within our tenant, is that possible at the moment? if not- can you please advise if that is planned and for when?

7 Replies
Highlighted

You could use Microsoft Teams PowerShell module and the Get-Team cmdlet to list all teams in your tenant:

 

https://blogs.technet.microsoft.com/skypehybridguy/2017/11/07/microsoft-teams-powershell-support

Highlighted

 


@Paul Pascha wrote:

You could use Microsoft Teams PowerShell module and the Get-Team cmdlet to list all teams in your tenant:


 

Unfortunately that won't work, as the Get-Team cmdlet is user centric, meaning that you only get a list of the teams you are a member of (which I know makes no sense).

 

I have seen some attempts of solving the issue at hand with powershell using the Get-UnifiedGroup and Get-MailboxFolderStatistics, check this thread for more: https://techcommunity.microsoft.com/t5/Microsoft-Teams/view-a-list-of-all-Teams-that-have-been-creat...

Highlighted
Ah... I wasn't aware of that.

Sorry for pointing you in the wrong direction!
Highlighted
Best Response confirmed by Ranin Hsin (Senior Member)
Highlighted
They were going to list all Teams including private teams when you click Add Teams within the app on march 23rd, but I think they pulled that due to feedback. I know they are working on it and it will be released, but I think they are going back to add a toggle switch so we have the choice to hide a Team or not, not related to the Addresslist hide option that was going to control if you could see the Team or not in the list.
Highlighted
You have to use a combination of Teams PowerShell and Groups PowerShell and you will be able to get the information. I believe Tony Redmond has a script demoing this
Highlighted
According to the description of the cmdlet: This cmdlet supports retrieving teams with particular properties/information, including all teams that a specific user belongs to, all teams that have been archived, all teams with a specific display name, or "all teams in the organization."
So if u run the Get-Team without any user you can get all the teams.