#1 Global Leader in Data Resilience

How to Activate Access to Microsoft Graph Teams Export APIs

KB ID: 4322
Product: Veeam Backup for Microsoft 365 | 7.0 | 7a | 8 | 8.1
Published: 2022-06-11
Last Modified: 2025-08-28
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Preliminary Action

This article documents how to configure your app registration to access the Microsoft Graph Export API for Teams, which is necessary to enable Veeam Backup for Microsoft 365 6a and newer to protect Teams public channel posts. Once the Teams Protected APIs are accessible and Veeam Backup for Microsoft 365 6a or later is installed, follow the steps in KB4340 to enable the use of those APIs.

As of 25 August 2025, the Teams Export API is available free of charge. After assigning the necessary permissions to your app registration and enabling this functionality in Veeam Backup for Microsoft 365, no further action is needed.

Purpose

Veeam Backup for Microsoft 365 6a and later provides an option to leverage the Microsoft Graph Export API for Teams to back up Teams public channel posts.

Support for Microsoft Graph Export API for Teams was implemented in Veeam Backup for Microsoft 365 6a and later because Microsoft deprecated the ability for EWS APIs to access the TeamsMessagesData folder.

By default, Veeam Backup for Microsoft 365 7.0 and previous versions will attempt to utilize EWS APIs to protect the TeamsMessagesData folder. However, as Microsoft has now deprecated EWS API access to the TeamsMessagesData folder, the only way to back up Teams public channel posts will be to configure Veeam Backup for Microsoft 365 to utilize the Teams Export APIs.

Important Notes:

 

Solution

Step 1: Register App

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.

  1. Log into portal.azure.com and select Microsoft Entra ID.
    If your account has access to more than one directory, ensure you have selected the relevant one.
  2. Within the Basic information section, gather the Tenant ID.
  3. In the Veeam Backup for Microsoft 365 Console, right-click the Organization and select 'Edit organization'. Gather the Application ID.
  4. Under App Registrations in Microsoft Entra ID, review the API permissions assigned to the app registration used.
    Ensure that the application permission for Microsoft Graph for ChannelMessage.Read.All is assigned.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

Veeam Backup & Replication
Veeam Data Cloud for Microsoft 365
Veeam Data Cloud for Microsoft Entra ID
Veeam Data Cloud for Salesforce
Veeam Data Cloud for Microsoft Azure
Veeam Data Cloud Vault
Veeam Backup for Microsoft 365
Veeam Backup for Microsoft Entra ID
Veeam Backup for Salesforce
Veeam ONE
Veeam Service Provider Console
Veeam Agent for Microsoft Windows
Veeam Agent for Linux
Veeam Backup for Nutanix AHV
Veeam Backup for AWS
Veeam Backup for Microsoft Azure
Veeam Backup for Google Cloud
Veeam Backup for Oracle Linux Virtualization Manager and Red Hat Virtualization
Veeam Management Pack for Microsoft System Center
Veeam Recovery Orchestrator
Veeam Agent for Mac
Veeam Agent for IBM AIX
Veeam Agent for Oracle Solaris
Veeam Cloud Connect
Veeam Kasten for Kubernetes
By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.