You open a folder in OneDrive for Business on the web and see no files. Yet the same folder on your local Windows PC contains documents, images, or spreadsheets. This discrepancy usually means the files were never uploaded to the cloud or were moved out of the OneDrive sync folder after syncing had already completed. The web interface only shows files that are stored in your OneDrive cloud storage, so anything missing from the web has not been synced or has been deleted from the cloud. This article explains the three most common reasons for this problem and provides step-by-step fixes to restore the missing files to OneDrive for Business web.
Key Takeaways: Restoring Files to OneDrive for Business Web
- OneDrive sync app > Settings > Account > Unlink this PC: Resets the sync relationship so files that exist only locally are re-uploaded to the cloud.
- OneDrive web > Recycle bin: Restores files that were accidentally deleted from the cloud but still exist in your local OneDrive folder.
- Windows File Explorer > OneDrive folder > Status column: Shows whether each file is synced to the cloud or exists only on the local device.
Why OneDrive Web Shows an Empty Folder While Local Files Exist
OneDrive for Business maintains two separate copies of your files: one on your local hard drive and one in the Microsoft 365 cloud. The web interface displays only the cloud copy. When a folder appears empty on the web but contains files locally, one of three conditions is true.
Files Were Never Uploaded to the Cloud
If you copied or moved files into your local OneDrive folder after the sync app had already finished syncing, those files remain local-only. The sync app must detect them and upload them. If the sync app is paused, disconnected, or if the files were placed outside the designated OneDrive folder, they will not appear on the web.
Files Were Deleted from the Cloud
When you delete a file from OneDrive web or from a synced device, the sync app removes it from the cloud but may leave a local copy if the file is marked as “Always keep on this device.” The local copy remains in your OneDrive folder, but the web shows the folder as empty because the cloud copy is gone.
Sync Is Blocked or Restricted by IT Policy
Your organization’s OneDrive admin may have set file type restrictions, sync limits, or blocked Known Folder Move. If a file type is blocked, the sync app skips it and never uploads it. The file stays local but never reaches the cloud, so the web folder appears empty for those files.
Steps to Restore Missing Files to OneDrive Web
Before you start, check the status of each file in your local OneDrive folder. Open File Explorer, navigate to your OneDrive folder, and add the Status column if it is not visible. Right-click a column header and select Status. Files with a green check mark are synced. Files with a solid blue cloud icon are online-only. Files with no status icon are local-only and will not appear on the web.
- Check OneDrive sync status
Right-click the OneDrive cloud icon in the system tray near the clock. Select View sync problems. If you see errors for the affected folder, note the error code. Common error codes include 0x8007016A (file type blocked) and 0x8004de40 (sync paused). Resolve those errors first. - Pause and resume sync
Right-click the OneDrive cloud icon. Click Pause syncing and choose 2 hours. Wait 30 seconds, then right-click again and click Resume syncing. This forces the sync app to re-scan your local folder and upload any files that were missed. - Restore files from OneDrive Recycle bin
Go to onedrive.com and sign in with your work or school account. In the left navigation pane, click Recycle bin. If you see your missing files there, select them and click Restore. The files will reappear in the web folder and sync back down to your local PC. - Unlink and relink your OneDrive account
Right-click the OneDrive cloud icon. Select Settings. Go to the Account tab. Click Unlink this PC. In the confirmation dialog, click Unlink account. After unlinking, sign in again with your work or school account. Choose the same OneDrive folder location. The sync app will re-scan all local files and upload any that are missing from the cloud. This process can take several hours for large folders. - Move files out of and back into the OneDrive folder
If the above steps do not work, move the local-only files to a different folder on your desktop or Documents. Wait 30 seconds, then move them back into your OneDrive folder. This triggers a new upload event. The files should then appear on OneDrive web within a few minutes. - Check file type restrictions with your IT admin
If certain file types never sync, your organization may have blocked them. Contact your Microsoft 365 admin and ask them to review the OneDrive file type block list in the Microsoft 365 admin center. The setting is at Admin centers > SharePoint > Policies > Access control > Block file extensions. Ask the admin to remove any extensions that you need.
If OneDrive Web Still Shows an Empty Folder
OneDrive web shows folder but no files after unlinking
Unlinking and relinking does not delete cloud files. If the folder still appears empty on the web after relinking, the files were likely deleted from the cloud before you unlinked. Check the Second-stage recycle bin. In OneDrive web, click Recycle bin, then click Second-stage recycle bin at the bottom of the page. Files deleted from the first recycle bin remain here for up to 93 days. Restore them from this location.
Folder is empty on web but local files have a blue cloud icon
A blue cloud icon means the file is online-only. The sync app has not downloaded it to this PC. If the folder on the web is empty, the files were deleted from the cloud, but the local placeholder icons remain. Open File Explorer, right-click the folder, and select Properties. Go to the Previous Versions tab. If a previous version exists, select it and click Restore. This restores the folder contents from a cloud snapshot.
OneDrive sync app is not running
If the OneDrive cloud icon is missing from the system tray, the sync app may be stopped. Press Ctrl+Shift+Esc to open Task Manager. Look for Microsoft OneDrive in the Processes list. If it is not there, open the Start menu, search for OneDrive, and launch the app. Sign in again if prompted. After the app starts, it will sync any pending uploads.
Local-Only Files vs Cloud-Only Files: Key Differences
| Item | Local-only file | Cloud-only file |
|---|---|---|
| Description | Exists on your hard drive but not in OneDrive cloud storage | Exists in OneDrive cloud storage but not on your local hard drive |
| File Explorer status icon | No icon or a solid green check mark with no cloud overlay | Blue cloud icon |
| Visible on OneDrive web | No | Yes |
| Accessible from other devices | No | Yes |
| Recovery method if deleted locally | Cannot be recovered from cloud | Can be restored from OneDrive Recycle bin |
To avoid confusion in the future, set your OneDrive sync app to show the Status column in File Explorer. Right-click a column header and select Status. This column tells you immediately whether a file is synced to the cloud or exists only on your device. If you see files with no status icon, right-click them and select Upload to OneDrive to force a sync.
If you frequently move large batches of files into your OneDrive folder, pause sync before moving them, then resume sync afterward. This prevents the sync app from missing files during the transfer. You can also use the OneDrive web Upload button to upload files directly, bypassing the local sync app entirely.
For folders that contain thousands of files, consider using the OneDrive sync app setting “Files On-Demand” with the option “Always keep on this device” only for files you need offline. This reduces the risk of the sync app failing to upload all files due to folder size limits. OneDrive for Business has a limit of 300,000 files per library. If your folder exceeds that, the sync app will stop syncing and the extra files will remain local-only.