SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

Migration API CreateMigrationJob fails to read/parse a manifest file #8717

Open makc-de opened 1 year ago

makc-de commented 1 year ago

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint CSOM

Developer environment

Windows

What browser(s) / client(s) have you tested

Additional environment details

Describe the bug / error

I create a migration job based on a manifest previously successfully created with CreateSPAsyncReadJob:

    _var migrationJobId = context.Site.CreateMigrationJob(
          context.Web.Id,
          azContainerSourceUrl,
          azManifestContainerUrl,
          azReportQueueUrl);_

After the migration job is started, it fails with the following message in the report queue:

[System.Xml.Schema.XmlSchemaValidationException] [The 'Description' attribute is not declared.]

Thank you in advance for any help.

Steps to reproduce

  1. Create the manifest file using the CreateSPAsyncReadJob method
  2. Copy and create snapshot for all xml files at the root of the container
  3. Create the Import job using CreateMigrationJob method

Expected behavior

Import a manifest file generated by export should be successfully parsed and migration job should be started

ghost commented 1 year ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

DasRytis commented 1 month ago

I am having the same issue. Has anyone figured this out?