Thursday , January 28 2021

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

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Export all distribution Group and all members in Exchange and Office 365

In some situations, we have to Export all the Distribution group/Unified Groups and all the …

Leave a Reply

Your email address will not be published.