sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SharePoint Migration API - MP4 Files get's an additional version after X amount of time.

Open bali0014 opened this issue 1 year ago • 1 comments

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

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [ ] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Describe the bug / error

I have a custom application that which uses the SharePoint migration API. There is a strange behavior where if I migrate MP4 for files it would migrate properly, but after an X amount of time, the MP4 file gets an additional version.

For example:

  • I have a Test.MP4 file, it gets uploaded to SharePoint using the migration API. 
  • The file in SharePoint is now tagged with the version label 1.0
  • After some time, the file gets another version, 1.1, which shows the Modified By value SharePoint App

Steps to reproduce

  1. Create a migration package with an MP4 file (only one file) using file share as a source.
  2. Call CreateMigrationJob function.
  3. Wait for the file to be transferred to SPO and wait a few hours to see if a new version is created which is modified by SharePoint app.

Expected behavior

There should only be one version 1.0.

bali0014 avatar Feb 21 '24 17:02 bali0014

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

ghost avatar Feb 21 '24 17:02 ghost

Hello @bali0014, Thank you for bringing this issue to our attention. Could you please confirm if the issue still persists for you? We will look into it and get back to you shortly.

Amey-MSFT avatar Jun 13 '25 10:06 Amey-MSFT

We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.

Amey-MSFT avatar Jul 03 '25 11:07 Amey-MSFT