sp-dev-docs
sp-dev-docs copied to clipboard
SharePoint Migration API - MP4 Files get's an additional version after X amount of time.
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
- Create a migration package with an MP4 file (only one file) using file share as a source.
- Call CreateMigrationJob function.
- 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.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
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.
We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.