This article documents how to request Microsoft Graph Export API for Teams access, which is needed to enable Veeam Backup for Microsoft 365 6a to utilize that API to protect Teams chats.
After Microsoft has approved access to the Teams Protected APIs and Veeam Backup for Microsoft 365 6a is installed, follow the steps in KB4340 to enable the use of those APIs to protect Teams chats.
Veeam Backup for Microsoft 365 6a provides an option to leverage Microsoft Graph Export API for Teams 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.. However, because these APIs access sensitive data, they are considered protected APIs, and to access these APIs, the backup administrator must fill out a form to request access from Microsoft. This Veeam KB article documents what information the Microsoft form (Request access to protected APIs) requires.
Support for Microsoft Graph Export API for Teams was implemented in Veeam Backup for Microsoft 365 6a because soon Microsoft will deprecate the ability for EWS APIs to access the TeamsMessagesData folder. By default Veeam Backup for Microsoft 365 6a and previous versions utilized EWS APIs to protect the TeamsMessagsesData folder. After Microsoft deprecates EWS API access to the TeamsMessagesData folder, the only way to backup Teams public channel message using Veeam Backup for Microsoft 365 will be to utilize the Teams Export APIs.
Important Notes:
When adding an organization with modern authentication to Veeam Backup for Microsoft 365, after following the login prompts, you will end up with an app registration. You will need information about this app registration to request Protected API access in the next section.
As documented in Protected APIs in Microsoft Teams:
To request access to these protected APIs, complete the following request form.
Note: Microsoft's review process may take up to two weeks to be completed.
To simplify the request process, Veeam has documented the fields you will fill out to request Protected API access. Where possible text below will have a copy button so that you can easily paste the text into the form. Each step number below correlates to the numbered entry in the "Request access to protected APIs " form (as of 2022-08-09).
If you notice that the Microsoft form has changed and no longer aligns with the information below, please Send KB Feedback.
Click [ Next ]
Click [ Submit ]
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case