During a migration, OneDrive cannot be migrated to due to it not being provisioned.

Problem:

I was running a BitTitan migration and created new users in Office 365. Email migrated fine but Google Drive data being migrated to OneDrive came back with the following error, “Cannot provision personal site for user. person@domain.com. Please provision the users personal site manually.”

When I checked in the admin centre, the OneDrive option errored out because OneDrive wasn’t setup.

Solution:

  1. Open powershell
  2. Install-Module Microsoft.Online.SharePoint.PowerShell
  3. Connect-SPOService -Url https://domain-admin.sharepoint.com
    1. Note that you can find the URL in Sharepoint but make sure you slap a -admin after it
  4. Request-SPOPersonalSite -UserEmails “person@domain.com
    1. This is done individually
    2. if you want to do it in bulk:
      1. Create a text file C:\Temp\Users.txt
      2. Add the list of users to the text file
      3. $Users = Get-Content “C:\Temp\Users.txt”
      4. Request-SPOPersonalSite -UserEmails $Users