A Microsoft file hosting and synchronization service.
Dear Melissa,
Good day! Thanks for posting in the community. We are happy to help you.
According to your description, you are looking for ways to prevent important files from being accidentally deleted. If my understanding is right, Microsoft does provide a feature for this scenario. You can create a retention policy/retention label and apply them to SharePoint and OneDrive. After that, you can prevent important files from being deleted. Also, for the retention policy/retention label, you can configure retention settings for the following outcomes:
- Retain-only: Retain content forever or for a specified period of time.
- Delete-only: Permanently delete content after a specified period of time.
- Retain and then delete: Retain content for a specified period of time and then permanently delete it.
For more details, please view the following references:
Learn about retention policies and retention labels
Learn about retention for SharePoint and OneDrive
If you have any updates or concerns, please feel free and come back to share with us.
Sincerely,
George | Microsoft Community Moderator