Exchange backup fails after upgrading to Veeam Backup for Microsoft 365 v5

KB ID: 4169
Product: Veeam Backup for Microsoft 365 | Veeam Backup for Microsoft Office 365 5.0
Published: 2021-05-21
Last Modified: 2021-05-28
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.

Challenge

After upgrading Veeam Backup for Microsoft 365 to v5, backup of Exchange Online data may fail with “Unauthorized (401)” error.

The issue affects organizations using Modern authentication and legacy protocols with application secret. 

Cause

Starting v5 Veeam Backup for Microsoft 365 has switched to the SOAP Autodiscover service for resolving users during Exchange backup. To use this API, the application used for the organization’s backup must be assigned with the full_access_as_app permission. 

Solution

To add the "full_access_as_app" permission to your Azure AD app registration, do the following:

  1. Sign in to the Azure portal
  2. Go to Azure Active Directory > App registrations, and select your application.
  3. Select API permissions > Add a permission > APIs my organization uses
  4. Select Office 365 Exchange Online API in the list, go to the Application permissions tab and select the "full_access_as_app" permission.

More information

Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

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

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
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.