https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2I0MDkxIiwiaGFzaCI6IjQzMjQxMGZmLWRjYjUtNDU1Ni04ZGM2LTg1MzA3NjhjODZmNCJ9
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

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
Please rate how helpful this article was to you:
5 out of 5 based on 4 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

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

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

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.