SharePoint Metadata Issues
Resolution Checklist
- 1 Understand the role of metadata columns in SharePoint sync
- 2 Clear the Office Document Cache (ODC)
- 3 Repair local OneDrive metadata and database
- 4 Reset the OneDrive sync client to rebuild cache
- 5 Resolve required metadata validation blocks manually
SharePoint Metadata Issues
This article provides a diagnostic checklist and troubleshooting guide to resolve SharePoint Metadata Issues (such as missing column values, properties failing to promote or demote, required metadata synchronization blocks, and term store synchronization failures).
Root Causes / Meaning
SharePoint metadata issues typically occur when local client properties (Office document properties) fail to synchronize with SharePoint online library columns. Key causes include:
- Office Document Cache (ODC) Corruption: The local cache used by Microsoft Office applications (Word, Excel, PowerPoint) conflicts with the OneDrive synchronization engine.
- Required Column Policies: A SharePoint document library has columns marked as โRequired,โ but the uploaded document lacks these properties, blocking synchronization.
- Property Promotion/Demotion Failures: The automated process where Microsoft Office parses metadata properties inside files (
.docx,.xlsx,.pptx) and maps them to SharePoint columns (and vice-versa) gets stuck or is blocked by local file locks. - Invalid Term Store Mapping: The Managed Metadata Service (MMS) terms mapped to a local file are out of sync or have been deprecated/changed in the SharePoint admin center.
Initial Checklist
Before proceeding to advanced fixes, perform these basic checks:
- Check Web Access: Open the library in your web browser and verify if the columns display the metadata correctly.
- Verify Required Fields: Ensure the document has all mandatory fields populated via the SharePoint browser interface.
- Confirm Office Application State: Verify that Microsoft Office is signed in with the same tenant account that has access to the SharePoint site.
Platform-Specific Resolving Steps
Windows Users
Step 1: Clear the Office Document Cache (ODC)
Microsoft Office maintains a separate cache that can conflict with OneDrive sync.
- Close all Microsoft Office applications (Word, Excel, PowerPoint, Outlook).
- Open the Command Prompt as an administrator and terminate the Office Document Cache process.
- Delete the cache files located in the AppData directory.
:: Stop the Office Document Cache handler
taskkill /f /im MSOSYNC.EXE /im CSISYNCCLIENT.EXE
:: Remove the Office Cache folders
rmdir /s /q "%localappdata%\Microsoft\Office\16.0\OfficeFileCache"
rmdir /s /q "%localappdata%\Microsoft\Office\15.0\OfficeFileCache"
Step 2: Force Re-index of Local OneDrive Metadata
Reset the OneDrive client configurations to force it to re-parse all local metadata.
:: Force quit OneDrive
taskkill /f /im OneDrive.exe
:: Reset the OneDrive Sync Client
"%localappdata%\Microsoft\OneDrive\onedrive.exe" /reset
Note: If OneDrive does not restart automatically after a few minutes, run:
start "" "%localappdata%\Microsoft\OneDrive\OneDrive.exe"
macOS Users
Step 1: Force Close OneDrive and Office Processes
Kill any running sync daemons and Office cache managers via Terminal:
# Terminate OneDrive sync client and helper tools
killall OneDrive
killall "Microsoft Word" "Microsoft Excel" "Microsoft PowerPoint" 2>/dev/null
Step 2: Remove Local Office Cache and Container Data
Office metadata caches are kept inside container directories. Removing them forces Office to retrieve fresh schemas from SharePoint.
# Clear Microsoft Office cache containers
rm -rf ~/Library/Containers/com.microsoft.SharePoint-mac
rm -rf ~/Library/Containers/com.microsoft.Word/Data/Library/Caches
rm -rf ~/Library/Containers/com.microsoft.Excel/Data/Library/Caches
rm -rf ~/Library/Group\ Containers/UBF8T346G9.Office/msoclipboard
Step 3: Run the OneDrive Reset Script
macOS OneDrive installations contain a packaged reset utility.
# Execute the built-in standalone reset utility
/Applications/OneDrive.app/Contents/Resources/ResetOneDriveAppStandalone.command
Actionable Command Blocks
Quick Diagnostics Script (PowerShell for Windows)
Inspect files in a directory that might be blocked due to empty required metadata.
# Check for local files with temporary MS Office metadata lock states
Get-ChildItem -Path "$env:USERPROFILE\OneDrive - CloudProjectSoftware" -Recurse -File |
Where-Object { $_.Name -like "~$*" } |
Select-Object Name, FullName
Clearing Sync Database (Bash for macOS)
# Remove cached OneDrive client databases and logs
rm -rf ~/Library/Application\ Support/OneDrive/settings
rm -rf ~/Library/Caches/com.microsoft.OneDrive-mac
Summary Checklist
- Checked SharePoint Online library in the web browser for missing required columns.
- Closed all Office apps and terminated
MSOSYNC.EXE(Windows) or killedOneDrive(macOS). - Deleted local Office Document Cache directories.
- Executed OneDrive
/resetcommand to rebuild local file sync databases. - Verified that Managed Metadata term stores have not been renamed or deleted.