0
votes

I would like to query all the teams in Office 365. There is no endpoint in graph to run such a query. The only supported ones are for joined teams

https://graph.microsoft.com/v1.0/me/joinedTeams

I also noticed the graph endpoint to query all groups

https://graph.microsoft.com/v1.0/groups

which seems to list the teams as well. So what is the difference between groups and teams?

1
Please have a look at Get List of All Teams API.Wajeed-MSFT

1 Answers

0
votes

To get a list of all groups in the organization that have teams, get a list of all groups and then in code find the ones that have a resourceProvisioningOptions property that contains "Team".

Please check API docs to List all teams in Microsoft Teams for an organization.