# Connecting to Teams Connect-MicrosoftTeams # Connecting to Azure AD Connect-AzureAD #Get list of all Teams $AllTeams = get-team # For each team extract members foreach ($team in $AllTeams) { $groupmembers = Get-AzureADGroupMember -ObjectId $team.groupid foreach ($member in $groupmembers)...