27.8 C
Dubai
Friday, December 2, 2022

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
Specialized in Microsoft Azure - Office 365 / Microsoft Exchange; conducted numerous projects worldwide in designing, supporting, and implementing messaging and virtualization infrastructure for medium-sized and large enterprises. Further, I am a Cloud Architect and 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?