You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apis/migration-api-overview.md
+52-7Lines changed: 52 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "SharePoint Online Import Migration API"
3
3
ms.prod: sharepoint
4
-
ms.date: 08/19/2021
4
+
ms.date: 05/19/2022
5
5
ms.author: jhendr
6
6
author: JoanneHendrickson
7
7
manager: serdars
@@ -17,12 +17,12 @@ The following API description is based upon use of the SharePoint Client Side Ob
17
17
18
18
You can find latest version of the SharePoint Online Client Side Object Model (CSOM) package from the [NuGet gallery](https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM/). Use the ID `Microsoft.SharePointOnline.CSOM`.
19
19
20
-
>[!Important]
20
+
>[!Important]
21
21
> Files larger than 15 GB must now create the required checksum using [QuickXorHash](/onedrive/developer/code-snippets/quickxorhash). We have provided an example [here](#what-is-stored-in-those-azure-blob-containers).
22
22
>
23
-
>The QuickXorHash/Checksum has to be computed for the original file **before** encryption (if the file is being encrypted). This is different from the MD5hash requirementt.
23
+
>The QuickXorHash/Checksum has to be computed for the original file **before** encryption (if the file is being encrypted). This is different from the MD5hash requirementt.
24
24
>
25
-
>The previous method of MD5Hash is still required for files smaller than 2 GB; however this requirement will be removed at some point in the future.
25
+
>The previous method of MD5Hash is still required for files smaller than 2 GB; however this requirement will be removed at some point in the future.
26
26
27
27
28
28
## Methods
@@ -452,8 +452,8 @@ Even if the API support 15GB files, we recommend package sizes of up to 250 MB O
452
452
453
453
### File size
454
454
455
-
>[!Note]
456
-
>The Migration API supports individual files over **15 GB**. The maximum size is current to that set by SharePoint Online.
455
+
>[!Note]
456
+
>The Migration API supports individual files over **15 GB**. The maximum size is current to that set by SharePoint Online.
457
457
458
458
### Only un-compressed packages are supported
459
459
@@ -492,6 +492,51 @@ The import pipeline is using Azure Blob Storage security model as is. This means
492
492
### Events and event handlers
493
493
494
494
The import pipeline allows event handlers to be referenced on list items but doesn’t allow defining event handlers at the list level at this time. The import pipeline does not fire events as items are imported, so existing event handlers will not fire due to the import event.
495
+
### Entering user identifiers in UserGroup.XML
496
+
497
+
Follow these guidelines when generating the **UserGroup.XML** in the submitted package:
498
+
499
+
- A person can be identified only once in a single package
500
+
- The 'login' attribute of the user identifier requires a UPN. **Do not** enter a non-UPN email address.
501
+
502
+
503
+
> [!Important]
504
+
> As of March 2, 2022, the Migration API now validates and enforces a maximum of one identifier per user in a single package.
505
+
>
506
+
> While using a non-UPN email won't result in a failed job, it may bring unexpected results in SharePoint Online.
507
+
508
+
**Examples**
509
+
510
+
The following examples show the correct and incorrect ways of entering the user identifier in UserGroup.XML.
511
+
512
+
In this case, the user has the following identifiers:
@@ -500,7 +545,7 @@ If the Migration API was unable to resolve a user using the login provided in th
500
545
1. This user will be replaced by “System Account” in the associated metadata within the package ( author, editor etc.).
501
546
1. A warning will be reported in the ImportLogs – “Failed to ensure user '[email protected]'”
502
547
503
-
If the migration API was unable to resolve a user using the login provided in the UserGroup.xml and the System ID is provided (which is the SID for the user in the on-premises AD), then:
548
+
If the migration API was unable to resolve a user using the login provided in the UserGroup.xml and the System ID is provided (which is the SID for the user in the on-premises AD), then:
504
549
505
550
1. A new deleted user with the provided login and SystemId is created and is used in the associated metadata within the package.
506
551
1. A warning will be reported in the ImportLogs- “Failed to retrieve user '[email protected]' attributes from the SiteUsers; falling back to passed in values”
0 commit comments