1-800-691-1991 | 9am - 8pm ET
EN

“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 Office 365 5.0, Veeam Backup for Microsoft Office 365 4.0
Published: 2021-01-21
Last Modified: 2021-01-21

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 Office 365 requires to change 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 Office 365 cannot change it and back up the Web Part. In this case, 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:

https://docs.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script#to-allow-custom-script-on-onedrive-or-user-created-sites.

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

https://docs.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script#to-allow-custom-script-on-other-sharepoint-sites.

 

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.

More information

KB ID: 4091
Product: Veeam Backup for Microsoft Office 365 5.0, Veeam Backup for Microsoft Office 365 4.0
Published: 2021-01-21
Last Modified: 2021-01-21

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later
Knowledge base content request
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.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.