AutoSave is greyed out, or saving fails with "Upload Failed"
A document in OneDrive or SharePoint will not save back, offering only to keep a local copy. AutoSave being unavailable is usually a symptom of the same thing: Office does not believe the file is in a location it can co-author from.
What you see
The AutoSave toggle is greyed out on a file that is plainly in OneDrive, or a save produces "Upload Failed" with a Save a Copy button. Sometimes an "Upload blocked" or conflict pane appears with two versions to reconcile.
What is actually wrong
Co-authoring needs the file opened through the sync client or from the service, with a valid sign-in. Opening the same file through a mapped drive to a SharePoint URL, a UNC path, or a second copy of the folder outside the sync root gives a path Office cannot co-author from. Where the file is in the right place, the cause is usually a stale token or a genuine edit conflict.
Codes and articles
Start here — find out which fix applies
A script that runs the 2 inspection commands from the write-up below and prints what each one returned. It reads the machine and changes nothing — every command that could write, delete, start or stop is excluded from it by construction. Run this first, then pick the fix its output points at.
Fixes (3)
Rescue the work first, then resolve the conflict
Always do this before anything else. Everything below risks the unsaved changes that are sitting in the open window.
Do not close the document, and do not restart anything. The only copy of the unsaved work is in memory in that window.
Use Save a Copy, or File → Save As, and write the file to the local disk with a new name — the desktop is fine.
This is the single most important step on this page. Every other fix here involves closing the file or signing out, and any of them will discard the changes if they have not been written somewhere first.
Confirm the local copy opens and contains the work before going any further.
Get-ChildItem "$env:USERPROFILE\Desktop" -Filter '*.docx' | Sort-Object LastWriteTime -Descending | Select-Object -First 3 Name, LastWriteTime, LengthIf a conflict pane is showing, work through it — it shows your version against the server version and lets you choose per change. Resolve it before saving.
Once the work is safe locally, close the document and reopen it from the sync folder, then paste or merge the changes back.
Open the file from a location that can co-author
The file was opened through a mapped drive, a UNC path, or a copy of the folder outside the sync root.
Find out what path the document is actually open from — File → Info shows it under the file name.
Check whether that path is inside the sync root.
Get-ItemProperty 'HKCU:\Software\Microsoft\OneDrive\Accounts\Business1' -ErrorAction SilentlyContinue | Select-Object UserFolder, DisplayNameA mapped drive letter pointing at a SharePoint URL, or a second synced copy under a different profile, gives Office a path it will not co-author from. The file saves locally and the sync client uploads it afterwards, which is where the conflicts come from.
Close the document and reopen it from the OneDrive or SharePoint folder in Explorer — the one with the cloud status icons — or from the browser via Open in Desktop App.
Where a mapped drive to SharePoint is in use across a team, replace it with a synced library or a shortcut added to OneDrive. Mapped drives to SharePoint are not supported for this and break in exactly this way.
Refresh the sign-in behind the sync
The path is correct and the work is safe locally, but saving still fails. This fix signs the user out and clears the document cache, both of which discard changes that were never uploaded — take the local copy from the first fix before you start.
Confirm the work is saved locally first, as above. This fix signs the user out.
Signing out of Office closes documents. Anything unsaved at that point is gone, and this is the step where that happens.
Check the sync client is running and not paused or in an error state — the cloud icon in the notification area shows this.
Sign out of Office from File → Account → Sign out, close every Office application, and sign back in.
Get-Process WINWORD,EXCEL,POWERPNT,OUTLOOK -ErrorAction SilentlyContinue | Stop-Process -ForceIf it persists, clear the Office document cache, which holds the local copies Office uploads from.
Remove-Item "$env:LOCALAPPDATA\Microsoft\Office\16.0\OfficeFileCache" -Recurse -Force -ErrorAction SilentlyContinueThe cache is where an upload sits when it fails. Clearing it discards pending uploads that were never going to succeed — which is why the local copy taken earlier matters. Office rebuilds the cache on the next open.
Reopen the document from the sync folder and confirm it saves.
Related faults
Where this stops. This write-up was written and checked by hand. It says what each step changes, how to confirm it worked and how to reverse it, and anything destructive is flagged before you reach it. If it does not match what your machine is doing, search the Support Centre for the exact code or message — and when something needs a person, get in touch.