Fix: SharePoint Word Templates Corrupted by OneDrive Sync Conflicts

Microsoft SharePoint logoMicrosoft Word logo

A customer contacted us because their quote templates in SharePoint had started producing documents with old headers, duplicated content, and leftover placeholder text. Staff were sending out proposals with the wrong branding and outdated information mixed in. After investigating, we found the templates had been gradually corrupted by a combination of OneDrive sync conflicts and users editing the master templates directly instead of working from copies. Here is how to fix it and prevent it from happening again.

Symptoms

Word document templates stored in a SharePoint document library start producing corrupted output:

Templates contain merged or duplicated content, old headers or footers reappear, placeholder text remains in the body of documents, or formatting is inconsistent.

  • Opening a template shows content from previous versions mixed with current content.
  • Headers, footers, or logos from old branding appear unexpectedly.
  • Placeholder fields (e.g., “[Client Name]”, “[Date]”) that were previously filled in reappear blank.
  • The same template looks different depending on whether it is opened in Word Desktop or Word for the web.
  • OneDrive may have created “keep both” copies of the file (e.g., Quote Template (1).docx).

Affected Software

  • Application: Microsoft Word (desktop and web)
  • Platform: Windows 10 / Windows 11 / macOS
  • Related Services: SharePoint Online, OneDrive for Business

Cause

This type of template corruption is usually caused by a combination of factors:

  • Users editing the master template directly instead of creating a copy first. When someone fills in a template and saves it, they overwrite the clean version with their client-specific data.
  • OneDrive sync conflicts. When two people edit the same file at the same time (or the same person edits on two devices), OneDrive may merge changes or create “keep both” copies. Over time, these merges introduce content from previous versions.
  • Mixing Word Desktop and Word for the web. Editing the same template in both the desktop app and the web version can cause formatting and content conflicts, especially with headers, footers, and styles.
  • Older templates being reused and overwritten for new jobs over time, accumulating layers of old content.

Resolution

Step 1: Restore Clean Templates from Version History

SharePoint Online keeps version history by default, so you can roll individual files back to a clean state:

  1. Open the SharePoint document library where the template is stored in your browser.
  2. Hover over the file name, click the three dots (…) and select Version history.
  3. In the version history list, find an earlier version that predates the corruption.
  4. Click on the date to preview it and confirm it looks correct.
  5. Click Restore.

SharePoint keeps the current (corrupted) version and makes the restored copy the latest version, so nothing is permanently lost.

Step 2: Remove “Keep Both” Duplicates

  1. In the SharePoint library, look for files with (1) or (2) in the filename (e.g., Quote Template (1).docx).
  2. Open each one to check whether it contains useful content or is a sync conflict copy.
  3. Delete the duplicates once you have confirmed the master template is clean.

Step 3: Prevent Future Corruption

After restoring the templates, put these practices in place:

Use a “Save As Copy” workflow

Add a short instruction to the first page of each template (e.g., “Save a copy of this template before editing. Do not edit this file directly.”). Users should:

  1. Open the template from SharePoint.
  2. Click File > Save As (or Save a Copy) and save it to the appropriate client/project folder.
  3. Edit the copy, not the original.

Avoid mixing Desktop and Web editing on templates

Pick one method for editing templates and stick with it. If users need to edit a template, use Word Desktop. If they just need to fill in fields, consider using Word for the web. Do not switch between the two on the same file.

Consider unsyncing the templates library

Keep OneDrive sync enabled for regular working folders, but consider leaving the master templates library unsynced (web access only). This eliminates sync conflicts entirely for the templates. Users access them through the browser and save copies locally or to their working folder.

Lock templates with restricted permissions

Set the templates library to read-only for most users, with only administrators or template owners having edit access. This prevents accidental overwrites.

Verify the Fix

  1. Open each restored template and confirm the content, headers, footers, and formatting are correct.
  2. Create a new document from the template using the “Save As Copy” method and verify it works as expected.
  3. Check that no “keep both” duplicates remain in the library.

Important Notes

  • Version history is your safety net. SharePoint keeps up to 500 versions by default. If a template has been gradually corrupted over many months, you may need to go back further in the version history to find a clean copy.
  • Check all templates. If one template is corrupted, others in the same library may be affected too. Review the full set.
  • “Keep both” files are a warning sign. If you see files with (1) suffixes appearing in your SharePoint library, it means sync conflicts are occurring. Investigate the cause before they lead to corruption.
  • Co-authoring is different from sync conflicts. Real-time co-authoring in Word for the web handles simultaneous editing gracefully. Sync conflicts happen when offline edits or desktop/web crossover cause OneDrive to merge changes after the fact.

If you need help managing SharePoint templates or resolving sync conflicts, get in touch with our team.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.