Oct 05 2016 03:32 PM
I have a PowerShell script that uses SPDocumentLibrary.CheckedOutFiles to get files that are checked out in a library. This property is a list of checked out files including files that have no checked in version.
I'm writing a script to run against a SPO tenant and I'm looking for the same functionality using CSOM.
I have confirmed that List.GetItems and List.RootFolder.Files does not return the files I'm looking for...
We are migrating data between SPO tenants and we need these documents checked in before migrating.
Oct 06 2016 03:27 AM
Oct 06 2016 05:35 AM
Oct 06 2016 09:50 AM
Thousands of libraries, millions of documents. There is no acceptable manual process. It must be automated.
Oct 06 2016 09:57 AM
Oct 06 2016 10:02 AM
We're using Metalogix but checked out documents are not migrated (the last checked in version is migrated). That can't be changed so let's not go down the Metalogix rabbit hole for this discussion 🙂
Oct 06 2016 10:17 AM
Oct 06 2016 11:32 PM
Oct 07 2016 09:20 AM
List.RootFolder.Files only returns files that have been checked in at least once. I see all of the files except the files that have never been checked in.
Mar 21 2018 02:50 AM
Hi Kerry,
I have the same issue.
I need to get a full list of files that are checked out, including never checked in and to send it to the library owner.
did you managed to get a solution?
Thanks in advance,
Michal