Skip to content
M365-23 Draft

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

  1. On each workstation: OneDrive Settings → Account → Stop sync for the old libraries.
  2. 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.
  3. 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.

Ask us about M365-23

Find out what's really going on in your tenant.

Tell us what you run and what's worrying you. We'll recommend the right audit, and tell you honestly if you don't need one.