Check if Office 365 Groups is Teams enabled


Update, read here:

If you use the Microsoft Teams PowerShell module you can only get a list of teams your a member of, even if you are a global admin. With this little script you get a list of all Office 365 Groups and whether its Teams enabled or not. It checks if the group’s mailbox contains a folder type named TeamChat. At first i did a check if there was a folder in conversation history that was named “Team Chat”, but got a tip from Tony Redmond that this changes based on the mailbox language

$TeamsTrueFalse = @()

$Groups = Get-UnifiedGroup

foreach ($Group in $Groups){
$TeamsEnabledCheck = Get-MailboxFolderStatistics -Identity $Group.Alias -IncludeOldestAndNewestItems -FolderScope ConversationHistory | Select-Object FolderType

If ($TeamsEnabledCheck.FolderType -like 'TeamChat') {

$TeamsEnabled = $true

else {
$TeamsEnabled = $false

'Group Alias' = $Group.Alias
'Teams enabled' = $TeamsEnabled




2 thoughts on “Check if Office 365 Groups is Teams enabled

  1. I tried this a couple of weeks ago, but it seems to have stopped working now :/

    I created a new Office 365 Group (from OWA) and it also has the TeamChat foldertype.. Do you know of any new ways to find all the Teams in your org.?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s