What Teams SystemEventMessages are returned by the Export API?

Graham Norris 61 Reputation points
2024-09-05T00:10:40.2066667+00:00

I am trying to export Teams content for meetings. The unique thing about a meeting compared to a chat is that a chat tends to go on and on indefinitely, but a meeting normally has a discrete ending and once it's over, people tend to leave. This means that after a meeting is over, when you query its participants the list has a higher probability of being incomplete or wrong than a channel or IM/MIM chat conversation would. So, I am interested in using join/leave/member added/ member deleted system event messages to fill in these gaps.

The Export API documentation says that Export does support member added and leave events.

https://learn.microsoft.com/en-us/microsoftteams/export-teams-content

control

But it hasn't been updated for a few years and may be incomplete.

I have seen that both MemberJoined/MemberLeft as well as MemberAdded/MemberDeleted events come from the regular user chat message API, v1/users/userId/chats/chatId/messages. This is using Graph Explorer with delegated permissions.

Here are real join/leave/member-added/member-deleted events in the Teams GUI:Capture

And here are the representations of these events returned in the v1 Graph ChatMessage API using Graph Explorer:

joined

added

I am not seeing any of these events using the Export API. By Export API I mean https://graph.microsoft.com/v1.0/users/userId/chats/getAllMessages() Does anyone know whether they are supposed to come?

For this I'm using application level permissions. I am correctly licensed and lots of messages do come; but they're all chat messages and I don't get my join/leave/added/deleted events.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,326 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,289 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,346 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Graham Norris 61 Reputation points
    2024-10-24T21:51:15.6133333+00:00

    User's image

    User's image

    MS updated their docs about three weeks ago with an official answer to this question. I am still wondering whether EventMessage support for meetings is forthcoming?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.