Link to home
Start Free TrialLog in
Avatar of Olga Barannik
Olga Barannik

asked on

Need to find deleted item in SharePoint 2013

Is there any way to find out who and when deleted an item from SharePoint 2013 list if it was deleted more than 30 days ago.  The retention time set up to 30 days.
Is it permanently gone now? How this could be investigated?

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Adam the 32-bit Aardvark
Adam the 32-bit Aardvark
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Olga Barannik
Olga Barannik

ASKER

Thank you!
By Default, Recycle Bin status is on and Delete items in the Recycle Bin: value is 30 days but it can be changed.

You can set the values from 30 days to what ever you want via central admin. you have to have farm admin rights in order to make that change.

https://support.office.com/en-us/article/restore-items-in-the-recycle-bin-of-a-sharepoint-site-6df466b6-55f2-4898-8d6e-c0dff851a0be?ui=en-US&rs=en-US&ad=US&fromAR=1

However, the best way to do this is use the OOTB auditing features or use an event reciever to record the deletion somewhere using code.
https://thuru.net/2014/02/12/sharepoint-2013-item-level-auditing/

How to Track and Audit Changes in SharePoint Server 2016:
https://www.lepide.com/how-to/track-changes-in-sharepoint-server-2016.html
You can enable auditing in SharePoint. It`s available in site collection settings.Then you can access audit log report being a site collection admin.You can use the ItemDeleting event receiver. The idea is to create a copy of the current item in a separate list before it gets deleted.

Here's an example of how to create an event handler.
http://www.expertsupdates.com/sharepoint-articles/create-event-handler-for-sharepoint-list-31.aspx

Here's another thread where the user is trying to do something similar. Should give you an idea on how to create/update items in a separate list within the handler.
http://stackoverflow.com/questions/6649277/sharepoint-2010-event-receiver-item-deleting-and-updating

Hope this helps.