Skip to content

Commit fbf95c3

Browse files
Update migration-api-overview.md
resubmitting updates from previous PR March 29th that didn't go live. Adding section Entering user identifiers in UseGroup.xml
1 parent 93f2d93 commit fbf95c3

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

docs/apis/migration-api-overview.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,54 @@ The import pipeline is using Azure Blob Storage security model as is. This means
492492
### Events and event handlers
493493

494494
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:
513+
514+
515+
- **Email**: [email protected].
516+
517+
518+
**Correct**
519+
520+
- In this example, the user is entered only once, using a UPN email address.
521+
522+
```xml
523+
<User Id="1" Login="i:0#.f|membership|[email protected]" …/>
524+
525+
```
526+
527+
**Incorrect**
528+
529+
- **Example 1:** This example uses a non-UPN email address and incorrectly includes more than identifier for a single user.
530+
531+
```xml
532+
533+
<User Id="1" Login="i:0#.f|membership|[email protected]" …/>
534+
<User Id="2" Login="i:0#.f|membership|[email protected]" …/>
535+
536+
```
537+
538+
- **Example 2:** This example incorrectly uses a non-UPN email address.
539+
540+
```xml
541+
542+
<User Id="2" Login="i:0#.f|membership|[email protected]" …/>
495543

496544
### Resolving Users
497545

0 commit comments

Comments
 (0)