Microsoft Teams backup and restore certification using Microsoft Teams export APIs

A new Microsoft Teams certification has appeared, Microsoft Teams Backup & Restore Certification. “Microsoft Teams Backup & Restore certification assures customers that each participating partner’s solution has been tested and verified to deliver the quality, compatibility, and reliability they expect from Microsoft solutions.”

Veeam and Rubrik are the first two ISVs to be certified. I haven’t found any official Microsoft certification documentation yet.

The certification is for ISVs using the Microsoft Graph Export APIs to export data, including the Microsoft Graph Export API for Microsoft Teams messages.

Microsoft Teams backup history and new Teams Export API

Previously, there was no API access to access Teams messages. The ISVs collected messages from the TeamsMessageData folder of the Exchange group mailbox. Microsoft used this hidden folder to archive messages sent within a Teams channel or between individual users or groups.

As Tony Redmond reported, in July 2022, Microsoft announced that it would begin restricting access to Teams message data through Exchange Web Services (EWS) beginning September 30, 2022. Microsoft recommends organizations that have need to export Teams message data to use Teams export. Graph API instead.

On January 31, 2023, Microsoft will begin deprecating all access to the TeamsMessageData folder, and the Teams export APIs will remain the only way to work with Teams message data going forward.

About the Microsoft Teams Chart Export API

The Microsoft Graph for Teams Export API supports exporting Teams messages and message-hosted content (attachments, reactions, chat message properties) for a specific user or team subject to compliance. Deleted messages are also accessible through the API up to 21 days after deletion.

Export APIs support up to 200 RPS per app per tenant and 600 RPS per app. These limits allow retrieval of historical content and can bulk export Teams messages.

Microsoft Teams APIs in Microsoft Graph that access sensitive data are considered “protected APIs”. These APIs require you to perform additional validation beyond app permissions and consent before using them. You can request access to use them here. Most protected API scenarios use metered APIs (cost to use) and an Azure subscription must be provided.

License requirements and costs for Teams Export APIs

There are two models for using these APIs:

Template A: S+C or Security and Compliance Application Scenarios

  • Only for applications performing security and/or compliance functions,
  • Users for whom data is collected must have E5 licenses
  • Users are given a predefined capacity.
  • Predefined capacity is per user, calculated per month, and aggregated at the tenant level.
  • For use beyond stocked capacity, app owners are charged for API consumption.

Model B: General Use Scenarios

  • For all non-S+C scenarios such as backup.
  • There are no license requirements (user or otherwise) or predefined capacity.
  • Application owners will be billed monthly for API calls through an Azure subscription.

Veeam Backup for Microsoft 365 uses Model B, which means Teams message data protection will cost you $0.00075 per message. At the end of the month, the amount spent on API usage will be included in your bill from Microsoft — Veeam itself does not charge any fees.


Get ready for Veeam Backup for Microsoft 365, backing up Teams chats using the newly released Teams export APIs)

Previous G20 summit marks start of EV conversion movement in Indonesia: VP
Next Logan Sargeant, Colton Herta and Andretti