OneDrive Mac - local files delete immediately instead of move to trash

Anonymous
2021-12-21T05:03:38+00:00

21.245.1128.0002 (Standalone) (Apple Silicon or Intel) (Preview) on 2020 M1 MacBook Pro macOS Monterey 12.1

With the latest build, Cmd-Del / Move to Trash any item in OneDrive on my local HD results in "Are you sure you want to delete 'filename'? This item will be deleted immediately. You can’t undo this action."

This does not occur when deleting from any other location on my HD, where files move to the Trash normally.

I have checked & reset permissions on User and OneDrive folders, reset OneDrive, uninstalled & reinstalled OneDrive, rebuilt the .Trash directory, and more, all with no luck. Any ideas?

Microsoft 365 and Office | OneDrive | For business | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2021-12-22T02:48:24+00:00

Hi FraserDon,

I go through the post carefully, I test on my side in OneDrive for Mac on Mac OS Monterey with latest version, and I can repro the same behaviour as you said and get a similar prompt. I am really sorry for the inconvenience this causes, as it seems that you are using Preview version of OneDrive, and would suggest you give feedback on the issue to the related developer team of OneDrive for Mac by select OneDrive icon>Send feedback. Your feedback will promote the related developer team of OneDrive to change the behaviour in OneDrive sync folder. Thanks for your efforts and understanding!

Additionally, though you may not find the deleted file from trash on Mac, you may find it from OneDrive recycle bin and you may restore it from here if you want. Check the link for more information on: Restore deleted files or folders in OneDrive (microsoft.com)

Best Regards,

Clark

Was this answer helpful?

10 people found this answer helpful.
0 comments No comments

59 additional answers

Sort by: Newest
  1. Anonymous
    2022-02-07T16:57:03+00:00

    It doesn't' really matter if it's an Apple or Microsoft issues. All I know my files were going to my local recycle bin up until the last OneDrive update.

    I sometimes delete many zip files after unzipping and then find that I need some back. I don't want to and shouldn't have to go to the web to do this. Plus I just noticed that the web version it missing the last 3 days (oldest file is 2/4/22 and it's now 4/7/22) of the files I deleted.

    OneDrive should let you store your OD folder where you'd like (like it did before).

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-02-07T16:49:37+00:00

    I just checked my recycle bin on onedrive.com and the last date was 2/4/22 and it's now 2/7/22 so where are the files I deleted after 2/4/22???

    This makes this issues even more important to solve.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-02-07T14:48:35+00:00

    I have just checked my online recycle bin and nothing is going in there! Doesn't matter if it in OneDrive folder or located elsewhere on hard drive. Just deleted several files from different locations and the online recycle bin is still empty.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-02-07T06:19:25+00:00

    Hi FraserDon and all. It's likely Apple's fault with the new FileProvider model that OneDrive uses. Although I could see Microsoft wanting to force people into using the Recycle Bin in the web version of OneDrive. So maybe they chose to implement it that way. iCloud certainly allows trashing files.

    Try this: delete a file you don't need and accept the Finder prompt so the file is deleted immediately. Then navigate to your OneDrive on the web. You'll find the file sitting there in the Recycle Bin. And you can restore it from there. For most of this, this is not the desired behaviour.

    Workaround: Create a "To Trash" folder on your Desktop (which is not in OneDrive). Drag any files and folders to be deleted to "To Trash". Trash the files in "To Trash" as needed.

    Automated workaround: I have done this and it works. Create two macros in Keyboard Maestro. (There may be ways to do this with other tools like Hazel). One macro watches the "To Trash" folder on your Desktop. Any time files are moved there they are automatically moved to the real Trash. The other macro only runs if the Finder is in the foreground. It responds to the Command-Delete keystroke and issues an AppleScript to move the selected files to the "To Trash" folder.

    Please note: you might think you can do this with just the one macro and move the file direct to the Trash. But what will then happen is the file gets permanently deleted without warning. Presumably it's up in the OneDrive Recycle Bin--I didn't check.

    One last thing. This solution, i.e. using a To Trash intermediate folder, loses the capability to "Put Back" whatever you've trashed, if that matters to you. The item(s) would just be put back into "To Trash". Instead you will have to manually find where the item(s) belong. Note that OneDrive's Recycle Bin does have "Put Back" capability, though the file will not be automatically re-downloaded even if you have selected Always Keep on This Device.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments