Forum Discussion

BacharHajjar's avatar
BacharHajjar
Copper Contributor
Jul 09, 2022

Migrating SharePoint List items created between two dates

Hello Community,

 

I have a SharePoint 2013 list containing items created between 2012 and 2022. I want to migrate only the ones created in 2015 to SharePoint Online. I am using SharePoint Migration Tool.

 

Note: I cannot migrate all of the source list and then delete all the non 2015 records because it exceeds 50 000 items.

 

The tool only offers migrating list items that are created/modified after a certain date.

 

Is there a way to only migrate list items that are created between two dates? Maybe using JSON for bulk migration? Maybe something like the following:

 

{
  "Tasks": [
    {
      "SourcePath": "source path",
      "TargetPath": "target path",
      "Items": {
        "Lists": [
          {
            "SourceList": "source",
            "TargetList": "target"
          }
        ],
        "SubSites": []
      },
      "Settings":{
        "MigrateFilesCreatedAfter": "2014-12-31",
        "MigrateFilesCreatedBefore": "2016-01-01"
      }
    }
  ]
}

 

 

No RepliesBe the first to reply

Resources