| KB ID: | 4874 |
| Product: | Veeam Backup for Microsoft 365 | 8 |
| Published: | 2026-06-29 |
| Last Modified: | 2026-06-29 |
Ensure you’re running Veeam Backup for Microsoft 365 version 8.5 or later before proceeding.
The following steps are to be completed for each non-immutable object storage repository that contains SharePoint, OneDrive, and Teams files. The steps in this section use PowerShell commands that reference variables set in one step and called in later steps.
If the Test-VBORepository output contains either of the following messages, proceed to Step 3:
The following site has corrupted file data
The following list contains items referencing corrupted files
If neither message appears, no further action is required for that repository.
Run the following cmdlet to scan the repository and flag the affected items for re-backup. Their correct content will be redownloaded during the next backup job run in Step 4. Note that during scanning, the repository remains locked for any other operations, including backups, restores, and management. All backup and restore sessions related to this repository must be closed before running a repair session.
-WebIds parameter:
After the repair session has finished, run the backup jobs containing impacted SharePoint, OneDrive, and Teams files data. Files that are still present in production will be redownloaded with their correct content.
To identify files that could not be redownloaded in Step 4, run the following cmdlet:
The output will be saved to logs located in: C:\ProgramData\Veeam\Backup365\Logs\IntegrityVerification\
Files that could not be redownloaded will have log entries containing the following two messages:
Backed-up file is empty:
RepairHistory: FileWasReset
Error Line Example:
[Info] Integrity verifier generated message (repository ID: {repo-guid}, tenant ID: {tenantID}, type: FilesIntegrityVerifier, severity: Error, text: Backed-up file is empty: OrganizationId: {orgGuid}, SiteId: {siteID-guid}, WebId: {webID-guid}, InternalWebId: {intwebID-guid} (file: Id: {fileID-guid}, Version: 513, ContentLength: 0, BytesInStorage: 0, StorageType:None, RepairHistory: FileWasReset).)
To simplify this process, open the log files in Notepad++ and use the following regex search:
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
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.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case