Hi there, There seems to a difference between deleting from the Documents tab in CRM vs deleting from the same Document library via SharePoint online:
Deleting via SharePoint Online (through the contact Document Location) does a soft-delete and moves the file to the Recycle Bin
Deleting via Documents tab (on a contact) does a hard-delete without moving the deleted file to the Recycle Bin
I am building a cloud flow “When a file is Deleted” to retrieve the contact from the deleted file in the Recycle Bin so that I fetch the previous CV from the Contact’s document folder. (Note: the “When a file is Deleted” action does not have the contact information, only the file name (so the only way is through the recycle bin). I have verified this behavior on a default Dynamics Sales environment without any custom solutions/plugins. Additionally I found this posts in the forum dating from 2017 and 2018 without any answer: https://community.dynamics.com/forums/thread/details/?threadid=1092a8c8-f925-480c-b69a-22c61f78d42a
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.