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: Most helpful
  1. Anonymous
    2022-02-13T10:50:23+00:00

    please give onedrive app an update
    because its very frustrating we cant puct back the files that already delete

    and its very unconfortable when we delete file then always appear message -> Are you sure you want to delete “AAA”? This item will be deleted immediately. You can’t undo this action.

    its kind a slow down the pace of organizing file in onedrive sync folder on a Mac

    Thank you

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-02-07T21:51:23+00:00

    Hi, same issue over here. Probably there was an Onedrive update and all the files went online ("Free up space" status). Also I get the message "This item will be deleted immediately. You can’t undo this action." and cant find files anywhere after deleting them (not even in the online recycle bin). Very annoying and unreliable behaviour. Hopefully Microsoft can fix it quickly (Urgently!?!)

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. 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
  4. Anonymous
    2022-01-31T19:58:57+00:00

    Per Clark's request above, please "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."

    To move files & folders permanently to your local drive, click the cloud/download icon next to the item in Finder or right-click & select "Always Keep on This Device." It's not perfect, because new files added seem not to be downloaded by default & have to be "told" to download, but it downloads & keeps most files local. I've submitted feedback on that issue as well, so please chime in on that with feedback from within OneDrive as above!

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments