A Microsoft file hosting and synchronization service.
When OneDrive storage is full, OneDrive can no longer upload, edit, or sync new files, and existing files become read-only. That is why file movement involving folders that are being synced by OneDrive can fail even if the PC itself still has local disk space.
For the current issue:
- Sign in to OneDrive on the web and check the Recycle Bin.
- If the deleted files are there, select them and choose Restore.
- If many files were deleted by mistake, restoring from the OneDrive Recycle Bin is the supported recovery path.
- Get back under the storage quota.
- In OneDrive on the web, open Storage used or Manage your OneDrive storage.
- Review the largest files.
- Delete files that are no longer needed.
- Empty the Recycle Bin, because Recycle Bin items also count against the quota.
- If needed, buy more storage.
- If the files are still on the PC in the OneDrive folder and sync is working again, let OneDrive finish syncing before making more changes.
- If the goal is to stop syncing files from the PC:
- Open the OneDrive icon in the taskbar.
- Go to Settings > Account.
- Use Choose folders to stop syncing unwanted folders to the computer.
- If needed, use Pause syncing and then Quit OneDrive.
- To stop using the account on that PC, go to Settings > Account > Unlink this PC.
Important detail: files inside the OneDrive folder are part of OneDrive sync. Deleting or moving them there can also remove them from synced locations. Files stored outside the OneDrive folder do not have that sync relationship.
About copying photos between phone and laptop: OneDrive is not required for direct device-to-device copying. The problem described happened because the files were being handled inside OneDrive-synced folders, so OneDrive storage limits affected those actions.
If OneDrive shows a deletion warning such as files being erased on a date, sign in before that date and make sure the account is back under the storage limit.
References: