Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

OneDrive "UPLOAD BLOCKED" when saving from Microsoft 365 apps: the app and OneDrive are signed in as different accounts

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A user opens a file that lives in a OneDrive-synced folder, edits it in Word, Excel or PowerPoint, and clicks Save. Instead of saving, the app shows an error message that begins with the words "UPLOAD BLOCKED". The message does not say which account or which permission is missing.

Microsoft has a page for exactly this message. Its cause is specific and checkable: the Microsoft 365 app is signed in with an account that has no permission to upload to the OneDrive that is syncing the file. The page gives four methods, to be tried in a stated order. The sections below follow them, with the checks that show whether the cause fits.

Nothing before the Fix section changes anything.

What the error means

Microsoft describes the scenario like this: you open and edit a OneDrive-synced file in a Microsoft 365 app, such as Word, PowerPoint or Excel, and when you try to save the file you receive this error message:

UPLOAD BLOCKED: We couldn't verify you have the necessary permissions to upload the file.

The cause on the page: "This issue occurs if you sign in to the Microsoft 365 app by using an account that doesn't have permission to upload files to OneDrive." Microsoft's example uses two accounts on different domains. Files are synced to OneDrive with user@fabrikam.onmicrosoft.com, but the Microsoft 365 app is signed in as user@contoso.onmicrosoft.com, which has no permission to upload files to that OneDrive. Saving then fails with the message.

So the message is about identity, not about the file, the disk or the network. The page does not say what happens when more than one account is signed in to the app at once, and it does not say how Office chooses which account to use for an upload. It gives a remedy that removes the extra accounts.

Likely causes

Cause What you see How to confirm
The Microsoft 365 app is signed in as a different account from the one OneDrive syncs with UPLOAD BLOCKED on Save, for files in the synced folder Compare the account on the OneDrive Account tab with the accounts under File, Account in the app
Stored Windows credentials for OneDrive or Office are still in place (our reading; the page names no such cause, it only lists removing them as Method 2) The same message after the accounts agree The Windows Credential Manager list of generic credentials related to OneDrive and MicrosoftOffice16 or MicrosoftOffice15
A OneDrive configuration problem The message continues after the account and credentials are corrected The page names this as a fix for "OneDrive configuration issues": unlink and re-link
Windows is missing updates (our reading; the page names no such cause, it only lists installing updates as Method 4) The message continues after the three methods above The page's fourth method: install available Windows updates

The page gives no counts. The rows follow the order of the page's methods, not likelihood.

Prove the cause before changing anything

All of these read only.

  1. Ask the user to show the exact message and the file's location. The page's scenario is a file synced by OneDrive and edited in a Microsoft 365 app. A message about a file on a network share or another service is a different case.

  2. Find the account OneDrive is signed in with. The page gives these steps: select the OneDrive icon in the taskbar notification area, select Help & Settings, then Settings, and on the Account tab note the signed-in account.

  3. Find the accounts the app is signed in with. In the affected app (Word, Excel or PowerPoint), select File, then Account. The page refers to the signed-in accounts under Connected Services. Note every account listed, not just the first.

  4. Compare the two. If the Microsoft 365 app lists an account that is not the OneDrive account, the page's cause fits. If the accounts are the same, the message points to the credentials, the configuration or Windows updates, the later methods on the page.

  5. Record the result: the OneDrive account, the app's accounts, and the time the message appeared.

Example (illustrative): at a Melbourne architecture practice, drafting-pc11 syncs the user's work OneDrive as sam@practice.example.com.au. Word's File, Account page also shows a second account that the user added when opening a client's file. Saving a drawing note from the synced folder fails with UPLOAD BLOCKED. Two accounts in the app, one of them different from OneDrive's, matches the page's cause.

Fix

Microsoft says to try the methods in the given order and move to the next only if the one before did not fix it.

Method 1: use the same account in the app and in OneDrive

Disruptive step: The next steps remove accounts from the Microsoft 365 app, pause OneDrive sync, quit OneDrive, and close all Microsoft 365 apps. Unsaved work in any Office app is lost if the app is closed without saving, and sync is paused. The page pauses sync for 2, 8 or 24 hours and does not say how a pause ends.

Before you start, write down the OneDrive account from step 2 above and the full list of accounts shown under Connected Services in the app. They are your record of what was there.

  1. Select the OneDrive icon in the taskbar notification area. Select Help & Settings, then Settings. On the Account tab, note the signed-in account.
  2. Open the affected Microsoft 365 app, select File, then Account. Under Connected Services, select Remove to remove all accounts except the account you noted in step 1.
  3. Select the OneDrive icon, select Help & Settings, then Pause syncing, and choose 2 hours, 8 hours or 24 hours.
  4. Select Help & Settings, then Quit OneDrive.
  5. Close all Microsoft 365 apps.
  6. Restart OneDrive and the affected Microsoft 365 app.
  7. Try again to save the files to OneDrive.

To undo it: the accounts you removed can be added again from File, then Account in the app, and the page restarts OneDrive in its last steps. The page does not describe ending a pause early, so check the OneDrive menu that you paused sync from. Use the record you wrote down to re-add only the accounts that were really needed. The page gives no separate undo steps for this method.

Method 2: remove the credentials related to OneDrive and Microsoft 365 apps

Disruptive step: The next steps sign the user out of every account in the Office apps and delete the stored Windows credentials for OneDrive and Office. Everything signed in through those credentials asks for sign-in again, and unsaved work in open Office apps can be lost if they are closed without saving.

Before you start, note the names of the generic credentials you are about to remove, as shown in Credential Manager. The page gives no way to export them, so the record is names only, and the way back is signing in again.

  1. Open the affected Microsoft 365 app, select File, then Account. Under User Information, select Sign out for all accounts.
  2. Close all Microsoft 365 apps.
  3. Select Start, enter credentials, and select Credential Manager.
  4. Select Windows Credentials.
  5. Under Generic Credentials, select the credentials related to OneDrive, MicrosoftOffice16 and MicrosoftOffice15, and then select Remove.
  6. Restart OneDrive and the affected Microsoft 365 app, and sign in to them again by using the same account.
  7. Try again to save the files to OneDrive.

To undo it: signing in again, with the account noted in the proof step, recreates the sign-in state for OneDrive and the app. The removed credentials are not restored from a copy; the page gives none.

Method 3: unlink and re-link OneDrive

Disruptive step: The next steps unlink this computer from the OneDrive account. Sync stops until the account is signed in again, and the sign-in step asks the user to choose the folder again.

The page says this method can fix OneDrive configuration issues and points to Microsoft's "Unlink and re-link OneDrive" page. That page says unlinking and re-linking can help solve some sync problems, and that no data will be lost because local folders are only disconnected from the cloud for a short while, with changes made while unlinked synced once re-linking is complete.

Before you start, note the path of the OneDrive folder on the computer, so you can choose it again.

  1. Select the OneDrive icon in the notification area to show the pop-up.
  2. Select the Help and Settings icon, then Settings.
  3. Go to the Account tab.
  4. Select Unlink this PC, then Unlink account.
  5. Sign in again when prompted. When OneDrive says that a folder already exists, select Use this folder.
  6. Wait for the files and folders to sync back, then try again to save the files to OneDrive.

The Support page has an extra step headed "Clear sign in credentials", which deletes a file named PreSignInSettingsConfig.json. It is not used here, because the page does not say what the deletion changes beyond signing in again.

To undo it: unlinking is reversed by signing in again, which is step 5. The page says that is how the account is re-linked.

Method 4: install the available Windows updates

Disruptive step: The next step installs Windows updates. Updates can take time, and Windows can ask for a restart; the page gives no detail on either. Microsoft's page gives no way to remove the updates afterwards, so this step cannot be undone from the page.

The page says to check for and install all available updates, then restart the affected Microsoft 365 app and try again to save the files to OneDrive, and points to Microsoft's "Update Windows" page for the steps.

Install the available Windows updates using the Update Windows page, then restart the affected app and try the save again.

To undo it: Microsoft's page gives no way to remove updates installed this way. Plan this method with the person who manages Windows updates on the computer.

Confirm the fix

  • Saving from Word, Excel or PowerPoint to the synced folder completes with no UPLOAD BLOCKED message.
  • The OneDrive Account tab and the app's File, Account list agree on a single account that has permission to upload.
  • The file shows as synced in OneDrive afterwards, and a second save works as well as the first.
  • The ticket records which method fixed it and the accounts before and after.

What to watch afterwards

  • The same user adding another account to an Office app. The page's cause is exactly that mix, so a second sign-in can bring the message back.
  • Shared computers and hosted Remote Desktop servers, where several accounts sign in over time. The page does not describe them, so check each profile separately.
  • Credentials left behind after a user changes accounts. The page's second method removes those stored for OneDrive and Office.
  • Sync state after Method 1. The page's pause choices are 2, 8 or 24 hours, so check that sync is running again once the pause ends.

Risks and limits

These steps have not been run or lab-tested.

The page applies to OneDrive for Business and Microsoft 365 apps and gives no version range. It explains the cause only as an account without permission to upload; it does not explain how the app and OneDrive pick the account to use. Its methods remove accounts and credentials, and the page gives no way to restore a removed credential other than signing in again. It does not describe Mac behaviour for this message; the unlink page has Mac steps, but the page does not say they apply. The page does not say how long the fixes take to work, and Microsoft's pages give no counts for how many cases each cause covers.

Sources