This article documents the procedure for enabling Veeam Backup for Microsoft 365 to use the Teams Export APIs to backup Teams chatsVeeam Backup for Microsoft 365 backs up Teams channel messages. For more information on the limitations of Teams chat backup, click here..
In Veeam Backup for Microsoft 365 6a, by default, EWS APIs are used to back up the TeamsMessagesData folder, however Microsoft plans to deprecate Exchange Web Services (EWS) backup for the TeamsMessagesData folder in the future. After EWS API access to the TeamsMessagesData folder is deprecated, the only way for Veeam Backup for Microsoft 365 to back up Teams chatsVeeam Backup for Microsoft 365 backs up Teams channel messages. For more information on the limitations of Teams chat backup, click here. will be using the Teams Graph Export APIs.
After EWS API access is deprecated, if Veeam Backup for Microsoft 365 is not switched to the new Teams Graph Export APIs, backup jobs will display the following warning:
Folder TeamsMessagesData was skipped from processing.
Follow these steps to activate the new method to back up Teams data via Teams Export APIs:
Make sure your Microsoft 365 organization has access to the Teams Export APIs.
KB4322: How to request access to Microsoft Graph Teams Export APIs
On the Veeam Backup for Microsoft 365 server, in an Administrative PowerShell window, run the following PowerShell command:
Alternatively, right-click the Veeam Backup for Microsoft 365 PowerShell shortcut on the desktop and select Run as Administrator.
Note: Enabling Teams Graph API Backup for a proxy is irreversible. Once a proxy has been configured to use the Microsoft Graph Export API for Teams, it cannot be reverted to use EWS.
On the Veeam Backup for Microsoft 365 server, in an Administrative PowerShell window*, perform the following steps to enable usage of the Graph Export API for Teams on each of the Proxies that will use the new API to back up Teams chatsVeeam Backup for Microsoft 365 backs up Teams channel messages. For more information on the limitations of Teams chat backup, click here..
*Alternatively, right-click the Veeam Backup for Microsoft 365 PowerShell shortcut on the desktop and select Run as Administrator.
Show in the example below:
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case