Remove SharePoint sync from workstations after a file-platform move
After moving files off SharePoint, stop the old syncs and clean up leftover folders so nobody keeps working in the old copy.
Draft. The fix is known and correct, but we're still writing up the full step-by-step.
Why
After a move to another file platform, leftover OneDrive sync relationships to the old SharePoint libraries keep users working in the wrong place, and they keep syncing data you meant to retire.
Steps
- On each workstation: OneDrive Settings → Account → Stop sync for the old libraries.
- Remove the leftover local folders once you’ve confirmed they’re no longer syncing and nothing in them is newer than the new platform’s copy.
- Remove any Intune or GPO policy that auto-mounts those libraries (Configure team site libraries to sync automatically). Otherwise they come back.
At scale
A script can report each machine’s sync state and clean up leftover folders. Run it in report-only mode first.
This guide is being expanded with the full script.
Seeing this in your environment?
We can check for this, and everything around it, as part of an audit.