列出谁参加了 MS Teams 会议以及他们参加了多长时间

List who attended an MS Teams meeting and for how long they attended

我想列出谁参加了 MS Teams 会议以及他们参加了多长时间,以便他们可以因参加培训而获得荣誉 session。

我查看了 Graph API v1 和 beta 版本。会议有一个名为 meetingParticipantInfo 的 object,但我没有看到任何可以表明该参与者是否实际参加了会议的信息。有没有办法获得这些信息,理想情况下,参与者参加了多长时间?或者有其他方法可以通过机器人获取这些信息吗?

https://docs.microsoft.com/en-us/graph/api/resources/meetingparticipants?view=graph-rest-beta

(CDR 的)呼叫详细记录可能是您要查找的信息,因为它们应该包含该信息,请参阅 https://techcommunity.microsoft.com/t5/Microsoft-Teams-Blog/Microsoft-Teams-launches-eDiscovery-for-Calling-and-Meetings/ba-p/210947 . I don't believe any of the Graph API's will surface that information but you can get the raw information from a Mailbox using EWS this is what I use https://dev.to/gscales/accessing-microsoft-teams-summary-records-cdr-s-for-calls-and-meetings-using-exchange-web-services-3581 . If you use a tool like mfcMapi https://github.com/stephenegriffin/mfcmapi/releases 您可以浏览邮箱以查看 CDR 是否可用以及是否有您需要的信息需要编写任何代码。

您应该为此功能投票:https://microsoftteams.uservoice.com/forums/555103-public/suggestions/33989875-view-or-export-a-list-of-users-who-attended-a-meet

那你可以试试这个:https://techcommunity.microsoft.com/t5/microsoft-teams-blog/microsoft-teams-launches-ediscovery-for-calling-and-meetings/ba-p/210947

我尝试开发一个调用 Graph 的应用程序 API,所以如果我成功了,我会分享它 ;-)

截至 Feb 2020, Microsoft Graph API now includes microsoft.graph.callRecords(测试版、预览版)。

如果您调用扩展的会话信息,您可以获得每个会话的 startDateTimeendDateTime,分别是 "time when the first user joined the session" 和 "time when the last user left the session"。

GET https://graph.microsoft.com/beta/communications/callRecords/{id}?$expand=sessions($expand=segments)

Here's 通话记录会话字段的文档。