Questions tagged [delete]

Deletion is a way of removing a file from a computer's file system or removing a file stored in a database.

Filter by
Sorted by
Tagged with
1 vote
1 answer
664 views

Thumbs.db are automatically deleted

We recently faced a strange behaviour that on various SharePoints hundreds of thumbs.db-files are deleted without any user interaction. These files appear in the recycle bin. There are users listed as ...
  • 149
0 votes
1 answer
47 views

How do I delete a list column?

In a SharePoint list, I have somehow ended up with duplicate columns of the "Title" column. I only want to keep the original column title. Besides hiding the columns, how do I remove these ...
0 votes
1 answer
51 views

Deleting events - recycle bin issue

I've noticed that when deleting events, as a user would go on the FE and delete their own event, it doesn't send the event to the Recycle bin and the event disappears. Only when deleting the events ...
  • 23
1 vote
1 answer
363 views

Rename a file - Without Delete permission

I want my users to rename the documents But not delete the documents Is this possible in SharePoint Online ?
0 votes
0 answers
37 views

SharePoint database admin account accidentally deleted

The SharePoint database admin accidentally deleted. How to reinstate this admin account? I created a new account with db_owner in database. But looks like it was not setup properly. It shows below ...
1 vote
0 answers
244 views

Remove files from all locations - what happens when?

So my collegue managed to delete a whole SharePoint library (+180K files) via Windows Explorer. In the online view these files are already deleted but he get's a notification via his OneDrive client ...
  • 149
0 votes
3 answers
10k views

Unable to delete folders or files in SharePoint site linked to a Team

I am unable to delete folders or documents in a SharePoint library that is linked to a particular MS Team. When I click on the ellipses of a folder or file the delete option is not there (it is there ...
1 vote
0 answers
86 views

Removing the "Getting Started" webpart with REST API

Is there any way to delete the 'Getting started..' webpart from a workspace (actually the home.aspx) via REST API (or POST request)? Unfortunaly it is not possible to disable the module on the parent ...
2 votes
2 answers
236 views

Allowing users to edit and move documents, but not delete them

I have two questions here. The first question is that I need to allow users to add documents, edit them but not delete them. I know that this is possible somehow by writing a code using the ...
1 vote
1 answer
2k views

Deleting Folder/File via REST API

I am trying out the Sharepoint API, but I am having troubles deleting anything. GET Calls, Creating folders and uploading files works like a charm, but deleting stuff is giving me head aches. I tried ...
0 votes
3 answers
426 views

Accessed Denied to Request Deletion for Users with Edit without Delete Permission

I have a group of users with edit without delete permission. And I am creating an approval workflow that allows these users to request for the deletion of files. The flow starts well once the admin ...
0 votes
2 answers
50 views

Recycle Bin Deleted Sites is showing "-" under the "Deleted by"

We have noted that one of our SharePoint online Team Sites has been removed and when we check the Recycle Bin for the deleted sites we found the site there, but we are unable to know who has deleted ...
0 votes
2 answers
473 views

Approval Flow to Delete a File from Document Library from SharePoint

I have created an approval flow that confirms the deletion of any file from a document library. When a file is deleted it will send an approval email to the approval user to approve/ reject the ...
0 votes
1 answer
37 views

Delete columns on XL SharePoint O365 Doc Library

Scenario: We have a large document library (roughly 122k documents/folders), housing most of our sales documents. We use Power Automate (replacing SP Designer 2013 workflows) to dynamically add ...
0 votes
0 answers
85 views

SharePoint Online Remove link in web part title

How do I remove the link in a web part title? I want the title to be text only. I am using SharePoint online and a PC with Windows 10. I do NOT have access to SP Designer The result is the same for ...
1 vote
1 answer
4k views

Unable to delete Column

Forgive me if this has been asked before but I have not been able to find a solution that works. I am currently teaching myself how to use SharePoint. I have created some columns that have errors in ...
  • 13
0 votes
1 answer
711 views

Unable to delete a sharepoint online list Error "1 item was not deleted . Failed"

I have an empty SharePoint online list (which use to contain data), and when i try to delete this custom list using the UI, i got this error:- so can anyone advice on this error please?
1 vote
2 answers
385 views

Deleting element from list using CAML Query not working (deleteObject of undefined)

I want to delete a list element using CAML Query. The element has the value 55 in the column CorrespondingListID. This is the function I use: deleteFromHistory: function(){ console.log("...
0 votes
1 answer
593 views

Deleting SharePoint List elements with specific values in a column

I'm a bit stuck right now. Using JavaScript I wrote a function that deletes an element from a list with a specific ID: deleteItem: function() { let siteUrl = 'mysite'; let clientContext = new SP....
4 votes
1 answer
99 views

Deleting multiple listitems from listcollection - only deletes half items

I have an issue around using SPListItem.Delete. I am fetching some list items (less than 20) and looping through them using a for loop. In each iteration of the loop, I retrieve a SPListItem using ...
0 votes
2 answers
1k views

Empty Corporate OneDrive Recycle Bins from PowerShell

I am looking for a simple method (possibly a PowerShell script) that will completely empty OneDrive recycle bins (incl. the secondary recycle bins) within a given URL [tenant]-my.sharepoint.com/...
3 votes
3 answers
2k views

How can I delete the SharePoint site for a private channel in Microsoft Teams?

As you can see on the screenshot below, I can't delete my site. This command is missing under the menu item Website information. Also in the advanced settings I can't find any delete functionality.
0 votes
1 answer
768 views

Remove Home link

I want to remove the home button from a SharePoint 2013 Site, without it affecting the site collection?
  • 1
0 votes
1 answer
154 views

MS flow delete file from file system

I have created a flow to delete file from file system but I am getting error as below screenshot: Thanks in advance.
0 votes
1 answer
30 views

Delete column from content type doesn't work

This is the code I use: Add-PSSnapin "Microsoft.SharePoint.PowerShell" $web = Get-SPWeb "Myshareointsite/Projects/Test" $list = $web.Lists["Risks"] $ContentType = $list.ContentTypes["Item"] $...
0 votes
0 answers
173 views

How can I delete email trigger by "Send email with options" in MS Flow?

I am using "send with options" action in MS Flow. It sent a new email with buttons. My requirement is, when I click on any button, whether Paid or Unpaid, the email sent via "send with options" ...
0 votes
3 answers
369 views

How to get deleted file when itemDeleted event fire in remote event receiver

How to get the deleted file when itemDeleted event fire in remote event receiver in SharePoint Online. I have tried as follows but this does not work: List photos = clientContext.Web.Lists.GetById(...
1 vote
1 answer
1k views

How can I remotely delete a file in document library in sharepoint online using remote event receiver?

I want to write a program using remote event receivers to delete a file within a document library. when itemDeleted event fire the that same file which was in another document library should be ...
1 vote
1 answer
339 views

Hide delete button in Modern team site SharePoint Online library

How can I hide delete button in modern team site library allitems.aspx page. I don't want to remove delete permission. Because I am planning to run a workflow on item deleting. So I am planning to ...
0 votes
2 answers
923 views

SharePoint Online: User can delete their own document or files, can't delete other's files

I would like users to only be able to delete their own files, But edit and view everything else. Is this possible in SharePoint Online?
2 votes
0 answers
89 views

Workflow does not execute all parallel actions (Nintex)

Workflow does not execute all parallel actions Dear community, I am quite new to work with Nintex and so is my company. I could not get any support from my company so I try my luck here. We have ...
  • 21
1 vote
3 answers
459 views

Locked Out of SharePoint Site

A recent SharePoint Administrator who is no longer with my Company created a "Test" SharePoint Site with only himself having Full Control Permissions on the site, with everyone else having Read rights....
0 votes
1 answer
170 views

How do I create a REST call in SharePoint 2013 Designer to delete records from the Workflow History List?

I use the Workflow History List for debugging and the option of turning on debugging for flows that are in production. I would however like a workflow that purges the records in this list based by ...
0 votes
2 answers
969 views

Error {“readyState”:4,“status”:404, “statusText”:“not found”} in SP Online Delete ListItem

I am not able to delete the list item using the getitembyid(ID) method using SP Online REST call. I am making a call to deleteitem(murl) where murl ===> for (var i = 0; i < data.d.results....
2 votes
2 answers
31k views

Delete folder with subfolder and files from SharePoint Online with a Macintosh

I have a SharePoint folder where I accidentally dropped a folder with a many subdirectories and files. I would like to delete it all by deleting the top level folder, however I keep getting an error ...
  • 121
0 votes
1 answer
170 views

Send email when a file is deleted to the user who had uploaded the file

I want an email sent out when a file is deleted. The email should only be sent to the user who had initially uploaded the file to the share point folder. I know we can send an email to specific users ...
  • 101
3 votes
1 answer
410 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 ...
  • 3,236
0 votes
1 answer
200 views

Deleting old workflows from SharePoint Designer

I do not have access to SharePoint Powershell, but am (poorly) trying to develop in SharePoint Designer 2013. As I try to build a workflow, I've noticed several artifacts being stored that I cannot ...
1 vote
0 answers
446 views

How to delete excel temporary file "~$" in document library without delete permission

I have a document library which the normal user can only create and modify the files, they cannot delete them. But when they modify the files, there will be some temporary files "~$" being created in ...
1 vote
2 answers
71 views

SharePoint site online deletion

I mistakenly launched a script that allows the removal of SharePoint online sites and I deleted a very important site. Is there a way to retrieve it?
  • 15
0 votes
1 answer
124 views

Uses "seem" to have deleted files in a SharePoint library

I have see a strange issue a few times at my client. They are using SharePoint Online and mainly using the syncronisation option to sync the files locally using OneDrive. Sometimes files are deleted ...
  • 1,219
0 votes
0 answers
753 views

Why is there inconsistent behaviour in different tenants when deleting folders?

I have a document library in a SharePoint Online site. When I try to delete a folder with sub-folders and content items in the folder I get the error message as follows:- you have to delete all ...
  • 2,167
0 votes
1 answer
742 views

How to securely delete files from Sharepoint (so they are unrecoverable)

My business is looking for a way to delete files from their sharepoint pages permanently making them untraceable and unrecoverable. When we delete them now they go into a recycle bin, we can then ...
1 vote
2 answers
3k views

Deleting sharepoint list items with pnp results in bad request

Running pnp in modern script editor spfx web part, can add items, get items from a list, but cannot delete items from a list: $pnp.sp.web.lists.getByTitle('List Name').items .filter('Title eq ...
1 vote
2 answers
74 views

prevent deletion permission on file/folder level

I have a question on this site permission/access level thing. This is my requirement. All users of the overall site get permission to view, edit and delete files and folders. Yet there is one folder/...
  • 11
0 votes
2 answers
1k views

Remove all files using REST

Is there a way I could remove all files from given folder using SharePoint REST api?
1 vote
1 answer
2k views

Can not delete Document Set "The file is currently checked out or locked for editing by another user."

I have a Doc Set I can not delete. I've tried to delete it via Windows Explorer (in case that would help) and via the Content and Structure menu, but to no avail. As you see in the pictures below, ...
  • 2,329
0 votes
0 answers
49 views

SharePoint Online permissions required to run a jquery script that removes resolved user on edit form

I have a jquery script placed on a list edit form that removes resolved user from a people picker field. But the problem I am having is, it works for certain users and it doesn't for others. I tried ...
0 votes
1 answer
1k views

Trying to delete SharePoint folder using API

I'm following this https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest to try and delete a folder in a SharePoint library. I'm writing a c# console app ...
2 votes
2 answers
46 views

Disallowing Delete from Document prevents movement between folders

I've looked everywhere but it seems that there is an option for Sharepoint365 to disallow document deletion ("Edit" permission group). I went ahead and removed the delete permission from said group, ...

1
2 3 4 5