Why is my OneDrive deleting files automatically?

Clark 55 Reputation points
2023-03-23T13:56:04.47+00:00

I have a Macbook pro, I don't use this for business- I use it for school. Every file I download from my professors and upload to OD gets deleted. I have no computer updates and my storage is not full. The files won't even be closed and I'll get notifications they were deleted. This nearly cost me my grade yesterday when my entire presentation was deleted. I need this solved now.

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
834 questions
0 comments No comments
{count} votes

24 answers

Sort by: Most helpful
  1. Emily Hua-MSFT 27,531 Reputation points
    2023-03-24T07:37:37.5866667+00:00

    Hi @Clark

    Sorry for the inconvenience to you.

    Every file I download from my professors and upload to OD gets deleted.

    Are these files deleted both from your local OneDrive folder and OneDrive online?

    If a file created locally and saved to OneDrive, will it be deleted too?

    Besides, can you find them in Mac Trash or Recycle Bin of OneDrive online?

    • Please make sure there is no anti-virus software blocking these files.
    • You may try to uninstall OneDrive and re-install it to check this issue.

    Any updates, welcome to post back.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



  2. John Flury 10 Reputation points
    2023-05-23T12:26:01.36+00:00

    I'm encountering the same issue on my two Macs. When I "save as.." a new file to OneDrive for Business (e.g. a docx from the local Word app), the file gets deleted immediately. Even when I recover it from the Trash bin, it gets deleted again. When I shut down the local OneDrive application, it this auto-deletion stops. So it's certainly the local OneDrive.app's fault. Using the newest client on both Macs (23.104.0516), Mac OS 13.3.1 (a) - one is an Intel Mac and the other an Apple M1 Pro.

    The workaround is currently: Shut down the Mac's OneDrive completely. Then access OneDrive online, open the trash bin and restore the file, and THEN re-open the Mac's OneDrive. However as soon as the next new file is saved, it gets again deleted. The error is thus very reproduceable.

    0 comments No comments

  3. Luc St-Laurent 5 Reputation points
    2023-05-25T19:48:35.13+00:00

    Same here.

    Like John Flury wrote, exact same behavior for one confirmed user.

    macOS 13.4 - OneDrive 23.096.0507

    0 comments No comments

  4. John Flury 10 Reputation points
    2023-05-26T10:47:15.99+00:00

    Tried a couple of corrective steps, without success:

    • Re-linked OneDrive to my account
    • Reset the OneDrive Keychain Access entries in the MacOS Keychain Access app.
    • Used the Reset commands inside OneDrive.app
    • Deleted the OneDrive preferences in ~/Library/Preferences
    • Re-downloaded OneDrive and re-installed it
    • Updated MacOS to 13.4 (22F66)

  5. Luc St-Laurent 5 Reputation points
    2023-05-26T12:56:10.94+00:00

    Look at this terrible behavior in images...

    The file is created in OneDrive folder...couple seconds later the file is automaticly deleted...

    User's image

    Then...You cannot edit the file anymore, Fail to download...

    User's image

    0 comments No comments