none
Migrating lists to SharePoint Online RRS feed

  • Question

  • I am trying to migrate lists from our on-premise SharePoint 2010 server to SharePoint Online using the SharePoint PowerShell migration APIs. I can successfully migrate a list to the main site (http://xxx.sharepoint.com/) but am having a problem migrating a list to a subsite (http://xxx.sharepoint.com/engineering/). When migrating a list to a subsite, the problem occurs with the migration job resulting in fatal error:

    "ErrorCode":"-2146233079","ErrorType":"System.InvalidOperationException","Message":"Operation is not valid due to the current state of the object.

    I've seen many examples if migrating content to the root site but haven't found any for migrating to a subsite. Has anyone successfully migrated content to a subsite? Or is this some undocumented limitation with the SharePoint PowerShell migration APIs? I suspect that it has to do with the ConvertTo-SPOMigrationTargetedPackage cmdlet and I've tried different variations with the parameters all ending with the same migration job error.

    Thursday, March 9, 2017 6:23 PM

All replies