Fix SharePoint Sync Repeating Every Session in AVD with FSLogix
Question details
OneDrive and SharePoint libraries reprocess over 100,000 changes upon every new sign-in instead of retaining the sync state.

- Product
- OneDrive / SharePoint / FSLogix
- Device & OS
- Azure Virtual Desktop
- Scenario
- Users signing out and signing back into an Azure Virtual Desktop (AVD) environment using FSLogix profile containers.
- Observed behavior
- Sync processes correctly on the initial sign-in but fails to retain metadata, causing a massive re-sync upon subsequent sign-ins.
Ensure you have administrative access to your Azure Virtual Desktop (AVD) host pool and can modify the FSLogix profile container configurations and redirections.
Configure FSLogix Profile to Retain OneDrive Metadata
Verify and adjust the FSLogix profile exclusions to ensure OneDrive and SharePoint sync metadata is not being discarded between user sessions.
When OneDrive reprocesses hundreds of thousands of changes upon login, it indicates that the local sync metadata is lost. FSLogix must be configured to capture and retain the specific directories where OneDrive stores this data.
Open your FSLogix redirections.xml file and verify that the %localappdata%\Microsoft\OneDrive directory is not being excluded from the roaming profile.
If you are using the Office Container (ODFC) alongside the Profile Container, ensure that the OneDrive data inclusion is properly enabled in your Group Policy or Registry settings.
Consult the official Microsoft documentation for FSLogix and OneDrive to ensure your antivirus and profile exclusion lists adhere to recommended best practices for non-persistent VDI.

Escalate to FSLogix Microsoft Support
If configuration changes do not resolve the missing metadata issue, seek specialized assistance from the Microsoft Q&A community or Azure support.
Try WPS Office for a Lightweight VDI Experience
Heavy infrastructure configurations and complex roaming profile dependencies can complicate your virtual desktop deployments. WPS Office offers a lightweight, robust alternative to Microsoft Office that is perfectly suited for virtualized and low-resource environments without sacrificing compatibility.

Frequently Asked Questions
Why does OneDrive re-sync everything on every AVD login?
This occurs when the FSLogix profile is configured to exclude or discard the local AppData directory where OneDrive stores its sync metadata. Without this metadata, OneDrive cannot determine what has changed and is forced to recount all files.
Does FSLogix support OneDrive in non-persistent environments?
Yes, FSLogix is designed to support OneDrive in non-persistent environments by encapsulating the user profile in a VHD/VHDX container, which allows the OneDrive cache and metadata to roam seamlessly with the user.
Where is the OneDrive sync metadata stored locally?
OneDrive primarily stores its required sync metadata and configuration files in the user's %localappdata%\Microsoft\OneDrive directory. This path must be persisted across AVD sessions to avoid continuous full syncs.




