Map users in SharePoint Migration Tool with File Share option
Map users in SharePoint Migration Tool with File Share option
I am trying to migrate some files from my hard drive to
SharePoint Online with use of SharePoint Migration Tool. I am able to migrate
files but I was facing one issue. After migration done, it was showing local
user name in document library instead of SharePoint User name.
SharePoint Migration Tool allows user to map local system
user with SharePoint Online user. SPMT site provide help in section “Create
a user mapping file for data content migration”.
Here you have to create a csv file with 3 fields :
- Field 1 : In this field you have to entry SID of the user. SID means “Security Identifier” which shows like "s-1-5-21-875260305-3154316066-1125797638-1001”. You can get this SID from your server or desktop or laptop by using this simple command :
wmic useraccount get name,sid
You can find user by using filter:
wmic useraccount where name="USER" get sid
- Field 2 : In this field , you have to mention principal user name i.e. myid@mydomain.onmicrosoft.com OR mydomainId@mydomain.com
- Field 3 : If the given principal user name is a group then put “TRUE” else put “FALSE”.
You can download CSV from here file.
Now you need to upload your User Mapping file to SharePoint
Migration Tool
- Please start SPMT & hit “Sign in” button to get started.
- Enter O365 user name & password then hit “Sign in”.
- Click the setting gear icon for Advanced Setting.
- In the user mapping box, client Choose file then click Save.
- Now you can click on Add a task button & create migration tasks.
Comments