Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [recycle-bin]

The Recycle Bin provides a safety net when deleting documents, list items, lists, folders and files. When you or site visitors delete any of these items from a Web site, the items are placed in the Recycle Bin. Items in the Recycle Bin remain there until you decide to permanently delete them from your Web site, or until the items are permanently deleted after a set number of days, which is based on a schedule defined in Central Administration.

3
votes
1answer
25 views

Recycle Web, NOT permanently delete with PowerShell/CSOM

In SharePoint Online is there a way to send a Web (a sub site) to the site collection recycle bin via PowerShell/CSOM? I know that a web can be deleted with Web.DeleteObject() but this does a ...
1
vote
1answer
36 views

Error when creating site collection “Permanently delete the site collection from the recycle bin and continue.”

I want to create a new site collection with url /sites/PMO/, but I am getting this error: The site collection already exists. Please enter a different address. Permanently delete the site ...
1
vote
1answer
24 views

Is it possible to keep deleted (recycled) items forever in a specific list or site?

I have a list where items are deleted frequently. These list items are not too relevant and they can be deleted (permanently), but ideally I would want them to stay in the system for historic ...
0
votes
0answers
35 views

PowerShell: Get List Item's custom field values(List Items are in Recycle Bin)

There are several list items with the same name and author in Recycle bin. I need to retrieve all the fields(not only ID, Title, and other standard fields) before restoring. How I can retrieve custom ...
1
vote
1answer
95 views

Can we restrict Restoring deleted files from Recycle bin to the user who deleted the file

I have a classic team site inside our SharePoint online tenant. and we have 2 users (UserA & UserB) with contribute permission. now when userA delete a file, and the file got moved to the recycle ...
0
votes
1answer
111 views

Using restore-pnprecyclebinitems for sub-site use only

We have some files missing on a sub-site from which I have tried to use a script to restore. I connect to the context using connect-pnponline giving the specific team address t5\ts1. I confirm ...
1
vote
1answer
24 views

Deleted Task items not available in Recycle bins and Audit logs

Few tasks got deleted from a task list in a SPO site collection. I had already subscribed for alerts on deletion and I got automated email notifications when they got deleted. But unfortunately the ...
1
vote
1answer
797 views

Restore all deleted List Items of sharepoint list from Recycle bin using Powershell using item Guid and export as csv file

Restore deleted items from recycle bin using Item GUID and export all deleted items in CSV file using Powershell $SiteURL="" $ItemName="Test.xlsx" $site = Get-SPSite $SiteURL $RecycleBin = $site....
0
votes
2answers
25 views

Where is Recyle Bin for deleted Managed Path-based site?

Prior administrator created sites based on directory structure http://abc.sharepoint.com/site/quality http://abc.sharepoint.com/departments/IT http://abc.sharepoint.com/departments/HR /site and /...
0
votes
1answer
18 views

Turning off list attachments deletes all existing attachments--Can I recover any of these files?

Turning off a list's attachments deletes all existing attachments--Can I recover any of these files after turning off the attachments feature? They don't seem to go to the recycle bin when you turn ...
0
votes
2answers
219 views

Document Set - Restored from Recycle Bin doesn't appear in the document library

I have strange problem and I can't seem to find an answer/solution. I have a document library with the document set content type enabled with some site columns. Recently some files/document sets ...
2
votes
1answer
603 views

Delete Site Collection from Recycling Bin

How does one delete a site collection from the Recycling bin using C# CSOM? I can do it with the Cmdlet in Powershell like so: Connect-SPOService https://tenant-admin.sharepoint.com Remove-...
2
votes
0answers
452 views

Download Documents from Sharepoint RecycleBin

Is there a way that i can download documents from Sharepoint Online Recycle Bin using CSOM/PowerShell to a file share .Till now i have this where i am able to get the document details but i am not ...
1
vote
0answers
30 views

Restoring a Site Collection

I accidentally deleted one of our Site Templates from our SharePoint Online tenant. I restored it from the Admin Recycle Bin but the site did not fully restore. The UX wasn't applied, and the lists ...
2
votes
0answers
128 views

How to force deleted files to be placed in 1st stage recycle bin as admin?

I am working on an app where the user authenticates using OAuth. One of the features is that the user should be able to recycle files and restore them. Recycling and restoring is done using the ...
4
votes
1answer
1k views

How do i recover deleted page?

I had a page which was not checked in was deleted by someone and also couldn't find it in recycle bin, how to recover such deleted pages?
0
votes
1answer
134 views

Deleting very large list

We have a extremely large list, 237GB, that is sitting in the SharePoint recycle bin. The list was a result of a third party tool that was logging events. We were unaware it was doing this until we ...
0
votes
1answer
38 views

Restore question for large files

Is it true that if there is a very large file in SharePoint's recycle bin then smaller files will no longer show up within the recycle bin even though they are still there? I am using SharePoint 2013....
0
votes
1answer
30 views

SharePoint 2013 / Data Scrubbing

After you delete an item or document from a list or library, and then the recycle bin and secondary recycle bin, does the data remain in the database for a certain amount of time? .. or forever unless ...
1
vote
0answers
48 views

Is there a way to recover delete alerts?

I have a user saying that his alerts are gone. I dont see anything in the recycle bin. Is there a way see the deleted alerts or recover them?
0
votes
1answer
68 views

What permission level does a user need to execute Recycle() method?

In my code, I call the Recycle() method for my SPList object. But I am getting this error for certain users (not for the Site Collection Administrator): <nativehr>0x80070005</nativehr> I ...
1
vote
1answer
227 views

Unable to restore list item from recycle bin Sharepoint 2013

Hello a user deleted a record from a custom list. I went to the recycle bin to restore it but when I try it It shows me with the unexpected error screen and the correlation ID. I'm unable to restore ...
1
vote
1answer
114 views

second level recycle bin O365 Education license

I had this event happening to me. 2 different sites collections. One item has been deleted from one and it went straight to the second level recycle bin. The other site collection correctly placed it ...
0
votes
2answers
1k views

SP - Delete list item and folders in Recycle bin with C#

I'm with SP13 On-prem and I want to delete all items from lists and all folder in doclibraries in recycle bin... This is my code for list: if (list.BaseType == SPBaseType.GenericList) { while (...
0
votes
1answer
2k views

Can you search items in the Recycle Bin exclusively

Is there any way to search for content ONLY within the Recycle Bin in SharePoint 2013? I'm not a programmer... need a novice solution.
4
votes
1answer
2k views

Remove all Recycle Bin Items from database

In the recycle bin there are 176100 items. I have tried to remove them using PowerShell but it is unable to remove all. After sometime it stops and gives an error. Tried following PowerShell. $WebApp=...
2
votes
1answer
4k views

How to recover the subsite from recycle bin in SharePoint?

How to recover the subsite from recycle bin in share point? I had deleted some sub sites currently. If I want to recover back those deleted sub sites, how to do it? Once i recover back will it effect ...
3
votes
2answers
534 views

Difference between listitem Delete and File Delete

I am trying to figure out the internal difference between SPListItem.Delete() and SPFile.Delete(). I wrote a quick PowerShell to delete a document from document library. In my test, I used recycle() ...
0
votes
3answers
3k views

restore only specific items in a list from content DB backup SharePoint 2013

i want to restore only items in the specific list from my backups .bak file with 14 Gigabytes.(i have content database full backups that every day made automatically. ) cmp solution backup and ...
3
votes
1answer
55 views

Why does Recycle Bin say 16 but I only have 15 items?

From the Site Contents page the Recycle Bin has 16 next to it. However, when I go into the Recycle Bin there are only 15 items. Does anyone know why? Thanks
1
vote
0answers
197 views

Restore a checked out file that was accidently deleted by another user

one of our users deleted a document that was checked out by someone else. As the document was under heavy construction there were many changes since the last checkin. Upon restoring the file, it came ...
5
votes
2answers
1k views

Does SharePoint 2013 Recycle Bin hold on to items for 30 days?

Does SharePoint 2013 Recycle Bin hold on to items for 30 days? Or is this something that the SharePoint Administrator sets? Or, does it stay in the recycle bin for 30 days but once the author deleted ...
5
votes
1answer
321 views

Is there a way to audit documents that have been deleted without using Recycle Bin?

We need to see what the document is, when it was deleted and who deleted it.
1
vote
2answers
896 views

Sharepoint Foundation 2013 Recycle bin cannot see deleted item

The title is similar to other problems with Recycle bin but I'm not found the answer to them. Correctly if I'm wrong. I'm the admin on our Sharepoint (Foundation 2013), (new at all of the SharePoint) ...
1
vote
0answers
78 views

Get a content type of a recycle bin item

When I load list items one of the available properties is the content type and its ID: But when I load items that reside in the recycle bin, their properties are different and no content type ...
1
vote
3answers
3k views

How to see items deleted by other users?

Is there any OOTB way of seeing items in the Recycle Bin deleted by other users? Or do I need to wait until they appear in the Site Collection Recycle Bin?
4
votes
3answers
7k views

List item deleted and is not in Recycle Bin

A list item has been deleted (less than 30 days ago) and it's not in the Recycle Bin. There are other items in the Recycle Bin from before and after this list item was deleted. I don't think the users ...
4
votes
2answers
2k views

How can I delete a list item with a workflow without it skipping the Recycle Bin? [SPO]

I created a very simple 2013 List Workflow in my SPO site using the designer. It does 3 things: "Delete item in Current Item" then Email "my email" Go to "End of Workflow" It deletes the item, ...
1
vote
1answer
495 views

Emptying recycle bin doesn't make more free space available

I've copied a 10 GB site to a site collection in another content database. Then I deleted the site and emptied the recycle bin of the former site collection. The database size has remained the same ...
6
votes
1answer
5k views

SharePoint 2013 - Deleted subsites not going in Recycle Bin

I am a bit confused with regards to the Recycle Bin when it comes to SharePoint 2013. A few quick Google searches suggested that when one deletes a sub-site, the site will not be permanently deleted ...
1
vote
2answers
3k views

Delete all items in Recycle Bin using javascript

Is there a way to batch delete all items in the recycle bin on the client side in SharePoint Online? I've tried using javascript:emptyItems() in the browser but this appears to time out after ...
0
votes
1answer
109 views

Maintaining Approval status after restoring list items from recycle bin

I have recycled list items using powershell method $deletedGuid = $item.recycle(). After recycling, I have restored items from recycle bin again using poershell method $site.RecycleBin.Restore($...
1
vote
0answers
105 views

Error in Powershell with .recycle() method

With the following code, I am getting this error in powershell: I could not find out whats wrong here? I am using recycle() method because in next step, i need to restore items from recycle bin. ...
1
vote
1answer
117 views

List item IDs and GUIDs after restoring from recycle bin

I want to know if we delete List items and then restore same items from recycle bin, then they will be restored with new IDs and GUIDs or with the old IDs as before deleting?
0
votes
1answer
3k views

How to recover List Items from Recycle bin using Powershell by having item Guid

With following code I have recycled list items and have stored item GUID in $DeletedItem: for($i=$ListItems.Count-1; $i -ge 0; $i--) { write-host "Deleted List Item with ID:$($ListItems[$i].ID)"...
5
votes
1answer
959 views

SP 2013: Add Recycle Bin link to Quick Launch

Background One of our clients has made the shift from SharePoint 2010 and SharePoint 2013. They pointed out that there is no longer a link to the Recycle Bin in the Quick Launch (Site Contents is ...
4
votes
1answer
6k views

How does the second stage Recycle Bin work?

In my site collection, the settings are set for "No Quota" and the Second Recycle Bin with "50%". How this combination works? When the Recycle Bin overflow the 50%, how new itens will be stored on ...
1
vote
3answers
7k views

Restore all items from Document library recycle bin

Running SharePoint Online under Office 365. Is it possible to restore all items from a Document library recycle bin? e.g. a PowerShell command? I can only see how to restore selected items.
7
votes
2answers
2k views

Recovering a file from the recycle bin

I'm working on a general function to recover an item programatically from a recycle bin via Powershell and CSOM. This is what I have so far, it doesn't throw an error, but it doesn't recover the file ...
1
vote
0answers
803 views

Endpoint for Recycle Bin using REST API

I have the following endpoint which works fine if I use the file/folder id or 'root' instead of 'RecycleBin', but I just can't seem to get access to the recycle bin using this type of endpoint. https:...