Data migration
The last topic concerning site collections is document migrations. All the content covered in this chapter also applies to SharePoint sites.
There are three alternative methods to upload data in Office 365:
- The CSOM API
- The SPO API
- Office 365 Import service
Let's look at each one in detail.
The CSOM API
Initially, the CSOM API was the only method available to upload documents to SharePoint Online. CSOM is a comprehensive API that is used for application development and administration. It is a great tool for a myriad scenarios, but it is not specialized for content migrations. When used for this purpose, we can go over the API throttling limits (Microsoft has purposely not put a specific number to this as it depends on multiple factors). Your scripts might get temporarily blocked (requests will get a 429 Too Many Requests
HTTP error), and if the misuse continues for an extended period of time, your tenant might get blocked altogether (503 Service Unavailable
). The tenant administrator...