Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,404 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Using PowerShell I would like to retrieve the list of Teams that a user is a member of.
You can also use the Get-Team -User user@keyman .com cmdlet: https://learn.microsoft.com/en-us/powershell/module/teams/get-team?view=teams-ps
You can get a list of Teams that a user is a member of by using the Microsoft Graph PowerShell module.
$user = get-MgUser -Filter "DisplayName eq '<User Name>'"
get-MgUserJoinedTeam -UserId $user.Id