Vasil is a nine-time Microsoft MVP and expert with over a decade of experience in Microsoft cloud, lifecycle management, migration, adoption, and automation.
Knowing who owns any Teams group is a key part of Teams administration. In this article, we'll explore different ways to find out who the owners of a Teams group are.
Connect to Microsoft Teams: before executing any Teams-related cmdlets, you need to connect to the Teams service using administrative credentials. This is accomplished with the command:
Connect-MicrosoftTeams
Retrieve the Group ID: you can find the Group ID (GUID) for a specific Microsoft Teams team by using the Get-Team cmdlet combined with the -DisplayName parameter. This command would look something like this:
Get-Team -DisplayName “Teams Display Name”
Replace “Teams Display Name” with the actual display name of the team you want to query.
Get Team Users: once you have the Group ID, you can retrieve details about the team users, including the owners, by using the Get-TeamUser cmdlet. The structure of the command is as follows:
Get-TeamUser -GroupId <String> -Role OwnerReplace <String> with the actual Group ID you obtained from the previous command.
Example
Here's how the entire process might look in practice:
# Connect to Microsoft TeamsConnect-MicrosoftTeams
# Get the Group ID for the team
$team = Get-Team -DisplayName "My Team"
$groupId = $team.GroupId
# Get owners of the team
Get-TeamUser -GroupId $groupId -Role Owner
Under “Reports”, select “Teams”, then “Teams groups”.
Search for the Teams group you want to know the owner of and click on “Open card in a new tab”.
Click on the “Owners” tab to view the list of owners.
CoreView also has a special report called “Teams members”. In this report, you can filter by user to find all the Teams groups a user is a member or owner of. This is very useful when you want to change a user's Teams membership based on another user.