To prevent OneDrive from automatically deleting files, you should check the following settings:
- Check Sync Settings: Ensure that the folders you are syncing do not include files that you do not want to be deleted. If files are deleted locally in a folder that is synced with OneDrive, those deletions will be reflected in OneDrive.
- Retention Policies: Be aware that retention policies might affect how long files are kept in OneDrive. If your organization has set up retention policies, they may automatically delete files after a certain period.
- Storage Limit: Ensure that you are not exceeding your OneDrive storage limit. If you exceed your storage, OneDrive may automatically delete files to free up space.
- Check for Third-Party Applications: Sometimes, third-party applications or local settings may inadvertently delete files. Ensure that no other software is affecting your OneDrive files.
If you continue to experience issues, consider unlinking and relinking your OneDrive account or resetting the OneDrive app to resolve any configuration issues.
References: