使用 Graph 查询所有团队
Query all teams using Graph
我想查询 Office 365 中的所有团队。图表中没有端点 运行 这样的查询。唯一支持的是加入的团队
https://graph.microsoft.com/v1.0/me/joinedTeams
我还注意到查询所有组的图形端点
https://graph.microsoft.com/v1.0/groups
这似乎也列出了团队。那么小组和团队有什么区别呢?
要获取组织中拥有团队的所有组的列表,请获取所有组的列表,然后在代码中找到具有包含 "Team" 的 resourceProvisioningOptions 属性 的组。
请检查 API 文档到 List all teams in Microsoft Teams for an organization。
我想查询 Office 365 中的所有团队。图表中没有端点 运行 这样的查询。唯一支持的是加入的团队
https://graph.microsoft.com/v1.0/me/joinedTeams
我还注意到查询所有组的图形端点
https://graph.microsoft.com/v1.0/groups
这似乎也列出了团队。那么小组和团队有什么区别呢?
要获取组织中拥有团队的所有组的列表,请获取所有组的列表,然后在代码中找到具有包含 "Team" 的 resourceProvisioningOptions 属性 的组。
请检查 API 文档到 List all teams in Microsoft Teams for an organization。