“Cannot change WebPart ExportMode to ‘All’. WebPart will be skipped” warning when performing backup of SharePoint sites

KB ID: 4091
Product: Veeam Backup for Microsoft 365 | Veeam Backup for Microsoft Office 365 4.0 | Veeam Backup for Microsoft Office 365 5.0 | 6.0
Published: 2021-01-21
Last Modified: 2022-05-05
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.

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

When performing a backup of some SharePoint sites, the "Cannot change WebPart ExportMode to 'All'. WebPart will be skipped" warning may appear if the modern app-only authentication method is used.

Cause

To back up Web Parts with the Modern App-Only Authentication method, Veeam Backup for Microsoft 365 requires setting the "Export Mode" property of the web part from "False" to "True" to make this Web Part exportable and available for backup. Sometimes changing the "Export Mode" property is prohibited by a SharePoint administrator, and thus Veeam Backup for Microsoft 365 cannot change it and back up the Web Part. When this occurs, the "Cannot change WebPart ExportMode to 'All'. WebPart will be skipped" warning is shown.

Solution

To allow changing the "Export Mode", you need to enable the "Allow custom script" option on the affected SharePoint sites.

If you want to back up Personal Sites or OneDrives, follow the steps described in this article:

For any other SharePoint sites, follow the steps described in this article:

 

Workaround

Since changing the "Export Mode" property of the Web Part is only required when the Modern App-Only Authentication method is used, you can avoid these warnings by changing the authentication method to Basic Authentication or Modern Authentication with Legacy Protocols Allowed.
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 Policy.
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.