To get started, let's start by talking about how to use the SharePoint Migration API for document library migrations.
Operating instructions before you first say the SharePoint migration API his approximate functionality, the SharePoint Migration API itself has actually been a short time, but in fact he can support the features are very limited, It is critical that he can support the migration of local file servers or SharePoint document libraries to SharePoint Online, but only for file migrations. such as file permissions, folder permissions, historical version records, checkout status and so on these things, sorry, it does not support
So migration API itself can be used in a relatively simple scenario, this is not a problem, for large migrations It is not enough functionality, follow-up will reduce the more powerful SharePoint migration Tools
Using the Migration API, you first need to download the SharePoint Online Module and attach
https://www.microsoft.com/en-us/download/details.aspx?id=35588
The following is the general usage, in fact the commands that the SharePoint Migration API runs in different scenarios may not be the same, and today is just one of the scenarios, migrating from a SharePoint document library to SharePoint Online, In fact, when migrating, the SharePoint Migration API will upload files to azure storage as a jump, and then import the data into Office 365, which storage can use your own azure account. You can also use Microsoft to provide temporary, depending on your size and needs
See below how to do it
1. First install the SharePoint Online Module
2. Installation Complete
3. Confirm the installation is successful
4. You can see the commands inside.
5. Below the local SharePoint operations, the SharePoint Migration API needs to export the document library to local before use, the command is basically as long as the SharePoint comes with the Export-spweb, Newlibrary is the name of my document library.
6. You can see the results of the export
7. Follow the first step, get-credential your O365 account to the variable cred, so that you can authenticate behind, and then package the SharePoint data next. This will use the Convertto-spomigrationtargetdpackage command
8. Then upload using the Invoke-spomigrationencryptuploadsubmit command
9. After landing O365, you can see that the document has appeared.
However, the Permissio folder in my local SharePoint environment has independent permissions, and this part is not retained after migration
Version history has not been preserved.
So basically migration API probably the migration result is this, file migration is no problem, but there will be some limitations, the operation is relatively complex, generally simple migration can try this
Office 365 SharePoint Migration Talk (iii) migrating with SP Migration API