rookie_b
asked on
Problem deleting OneDrive folder due to multiple checked out files
Having problem trying to delete a folder from OneDrive For Business O365 due to multiple checked out files. Is there a way to force delete the folder or discard all checked out files for that folder? It is fairly large number of files, so I hope there is another way other than manually going to each file and discarding the check.
ASKER
Thanks for getting ba to me! I should have been more clear in the question. I am trying to delete the entire folder, but I can't due to a very large number of checked out files. I am looking for a way to discard checkout on all these file, so I can delete the entire folder. Doing that one file at a time would be extremely time consuming. Is there a way to do that using a powershell script, or some other way that would allow me to discard all open files in that folder, so I can delete it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you need to login to the sharepoint document library and then
If you check out a file and don’t make changes to it, or you make changes that you don’t want to keep, you can simply discard the checkout, rather than saving the file. If your organization tracks versions, a new version is created each time you check a file back into the library. By discarding the checkout, you can avoid making new versions when you haven’t made any changes to the file.