This article documents the procedure for enabling Veeam Backup for Microsoft 365 to backup Teams public channel posts using the Teams Export APIs.Veeam 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 7 and previous versions, by default, EWS APIs are used to back up the TeamsMessagesData folder; however, Microsoft has deprecated Exchange Web Services (EWS) backup for the TeamsMessagesData folder. With EWS API access to the TeamsMessagesData folder now deprecated, the only way for Veeam Backup for Microsoft 365 to back up Teams public channel posts is using the Teams Graph Export APIs.
Follow these steps to activate the new method to back up Teams data via Teams Export APIs:
Before Veeam Backup for Microsoft 365 8, additional steps were required to configure the software to utilize Teams Graph APIs.
If Veeam Backup for Microsoft 365 version 7 or 7a is in use, review the Additional Preparation Steps section of this article.
The following steps are not required for Veeam Backup for Microsoft 365 version 8 or higher.
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 public channel posts.
*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