IT Support Playbooks / IT Support Guides
Diagnose a sync problem without deleting cloud files
Compare the local file, OneDrive sync status and online copy before resolving a sync issue.
Environment and inputs: Everyday IT support · Windows PowerShell examples unless specified
Understand the problem
Note the filename and which OneDrive account owns it. Open that account in the browser and find the file or its folder.
Gather the evidence
Use Get-Item with the real local path in place of the sample. It reports metadata such as the local path, size, modification time and attributes.
Get-Item -LiteralPath "$env:USERPROFILE\OneDrive\Documents\example.docx" | Select-Object FullName, Length, LastWriteTime, Attributes
Check the result
Compare the timestamps with the online copy and check the sync icon or activity message. A file can appear in the local folder as an online-only placeholder.
Choose the next step
If the local file contains newer edits, save a separate copy before resolving the sync error. Check the OneDrive activity message for a specific cause, such as a naming conflict or paused sync.
Document the outcome
Confirm the intended file opens on the web after recovery. Deleting a file inside the sync folder can also delete the online copy.