List all Microsoft Teams team's Owners and Members
The CLI for Microsoft 365 is a cross-platform command-line interface used to manage or automate Microsoft 365 resources. It is a PnP and community-driven initiative that is growing rapidly over time.
This sample script shows you how you can retrieve the owners and members of Teams in your organization.