Views:

Open Powershell prompt

Do only once

                PS> Find-Module MSOnline

                PS> Install-Module MSOnline

Do the following for each tenant

                PS> Import-Module MSOline

                PS> Connect-MsolService <Fill in your info in the dialog the appears>

Check state of the permission to create teams

                PS> Get-MsolCompanyInformation | fl UsersPermissionToCreateGroupsEnabled

                If false, you are done.

Update the setting and then check to see if it stuck          

PS> Set-MsolCompanySettings -UsersPermissionToCreateGroupsEnabled $False

                PS> Get-MsolCompanyInformation | fl UsersPermissionToCreateGroupsEnabled