Reactions: Export APIs support reactions initiated by a user on a Teams message. Using Export APIs you can retrieve the files attached in the messages. Message Attachments: Export APIs include the links to the attachments that are sent as part of messages. User Deleted Messages: Messages that are deleted by users from the Teams client can be accessed using export APIs up to 21 days from the time of deletion. Any messages that are sent by users who are configured for hybrid environment will be accessible using Export APIs.
Hybrid Environment: Export APIs support messages sent by users who are provisioned on Hybrid Environment (on-premises Exchange and Teams). If you are already familiar with integrating an app with the Microsoft identity platform to get tokens, see the Next Steps section for information and samples specific to Microsoft Graph. To get an access token, your app must be registered with the Microsoft identity platform and be authorized by either a user or an administrator for access to the Microsoft Graph resources it needs. The access token contains information about your app and the permissions it has for the resources and APIs available through Microsoft Graph. What is supported by the Teams Export APIs?īulk Export of Teams Message: Teams Export APIs support up to 200 RPS Per App Per tenant and 600 RPS for an Application, with these limits you should be able to bulk export of Teams messages.Īpplication Context: To call Microsoft Graph, your app must acquire an access token from the Microsoft identity platform. Export APIs can retrieve all the messages created or updated during the given date range. Example 2: If you want to programmatically export all user or team messages daily by providing a date range.Example 1: If you have enabled Microsoft Teams in your organization and want to export all the Microsoft Teams messages to date programmatically by passing the date range for a given user or team.Here are some examples on how you can use these export APIs: The chat message can be a root chat message or part of a reply thread that is defined by the replyToId property in the chat message. Chat Message represents an individual chat message within a channel or chat. If your organization needs to export Microsoft Teams messages, you are able to extract them using Teams Export APIs.
Teams Export APIs allow you to export 1:1, group chat, meeting chats, and channel messages from Microsoft Teams.