20 C
Dubai
Thursday, December 26, 2024

Migrating Work Folders and Home Folders to One Drive for Business

Create a csv


\\fileserver.azure365pro.com\h$\HomeDrives\user1.lastname,,,https://azure365pro-my.sharepoint.com/personal/user1.lastname_azure365pro_com,Documents,HomeDrive
\\fileserver.azure365pro.com\h$\HomeDrives\user2.lastname,,,https://azure365pro-my.sharepoint.com/personal/user2.lastname_azure365pro_com,Documents,HomeDrive
\\fileserver.azure365pro.com\h$\HomeDrives\user3.lastname,,,https://azure365pro-my.sharepoint.com/personal/user3.lastname_azure365pro_com,Documents,HomeDrive

To export all One Drive Urls

Connect-SPOService
 Get-SPOSite -IncludePersonalSite $true -Limit All -Template SPSPERS#10 | Select-Object url,owner | Export-Csv onedriveurls.csv

If its a green field environment and user never logged on to OneDrive yet. you can populate the URLs using Request-SPOPersonalSite


$users = Get-Content -path "OneUsers.txt"
Request-SPOPersonalSite -UserEmails $users

Run the SharePoint Migration Tool – You will need global administrator access to ingest data into users one drive.

JSON or CSV file for bulk migration

 

Choose the file

Review migration

 

Now users can access their “Home Drive” Data from their ONe Drive

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?