A Microsoft file hosting and synchronization service.
Hi @L Frostowl
What you're seeing is expected behavior when your files are stored inside a synced OneDrive folder. OneDrive is designed to keep the local folder and cloud storage synchronized, so deleting a file from the OneDrive folder on your PC will also delete it from OneDrive in the cloud. You can read more at Work with synced files in File Explorer | Microsoft Support
Regarding the file you already deleted, you may be able to recover it from the OneDrive Recycle Bin:
-Go to OneDrive on the web and sign in with your school account.
-Select Recycle bin from the left navigation pane.
-Find the deleted file, select it, and choose Restore.
If the file was synchronized with your PC, you can also check the Windows Recycle Bin.
For future reference, you can check whether a file is stored locally by looking at its OneDrive status icon in File Explorer. A cloud icon means the file is online-only, while a green check mark indicates that it is available locally.
Since your school OneDrive account is over its storage quota, I would recommend not deleting large numbers of files until you have made sure your important documents are safely stored outside the OneDrive folder.
To keep your files only on your computer:
-Open File Explorer and locate your OneDrive - [School Name] folder.
-Create a folder outside OneDrive, such as C:\Documents\Local Files.
-Copy the files and folders you want to keep into that local folder.
-If some files have a cloud icon, download them first by right-clicking and selecting Always keep on this device.
-Confirm that the copied files open correctly from the new location.
Once you have verified your local copies, you can delete the corresponding copies from OneDrive if you want to free up cloud storage space.
Important: Make sure you have verified your local copies before deleting anything from OneDrive.
If you do not want the school OneDrive account to sync with your PC at all, select the OneDrive cloud icon in the notification area > Settings (Gear icon) > Account > Choose Unlink this PC. This will stop synchronization with the school account. Files stored in OneDrive will remain available through OneDrive on the web, while files you have copied outside the OneDrive folder will remain on your computer.
I hope this helps.