Each Microsoft Teams team should have an owner, preferably two. Owners have the same abilities as members, but also have the exclusive abilities of:
- Edit team name/description
- Delete team
- Add members (in a private team, in a public team anyone can add members)
Equally importantly, owners give IT people who are responsible for the management of a team and it’s content throughout its lifecycle.
Owners can make other members into owners. A team can have up to 100 owners. It’s recommended to have multiple owners to help manage the team; this will also prevent orphaned groups if the sole owner leaves your organization.
Occasionally you may find teams have been created and then the owner has left the organisation (user account removed), leaving the team ownerless. Ownerless teams will still function, but if they are private no one can be added or removed.
The Teams Admin Center (Office 365 web admin UI) does have the ability to see details about teams and see teams without owners. They appear with a 0 and an exclamation.
Unfortunately, there is no sorting or filtering in this UI, so if you have hundreds or thousands of teams there is no way to find all the teams without owners.
However, finding the teams with no owners in PowerShell is pretty easy. I put together this simple script based on the new GA Teams PowerShell module. It collects a number of summary details about each team, including the owner, member and guest count.
Get-MicrosoftTeams-TeamSummary
From here it’s as simple as filtering all the teams with 0 owners.
How do you assign a new owner?
That is very simple in the Teams Admin Center, just go into the team and promote one or more of the members to owners.
We have multiple owners listed in O365, but none show in the TEAMS app!
https://techcommunity.microsoft.com/t5/microsoft-teams/group-owner-change-not-coming-through-to-teams/m-p/298851
I executed script “Get-MicrosoftTeams-TeamSummary” from github adding $OutputCollection | Where-Object {$_.OwnerCount -eq 0} | Select-Object DisplayName >c:\temp\TeamsnoOwner.csv but result was with Display names with and without owners. any suggestions of getting only no owners Teams names ?
$OutputCollection | Where-Object {$_.OwnerCount -eq 0} | Select-Object DisplayName
produces no output, yet I definitely have
Script works like a charm, however, is there a way to change the script so Export-Csv creates columns not rows?
Yes this would be possible, I don’t really have time to edit the script, but you could defintely have it output to a CSV with some work