Migrating from Google Drive to OneDrive for Business and SharePoint Online

When switching from Google Apps/Google for Work to Office 365, you’ll usually want to migrate your Google Drive files as well as your mail.

There are a few online tools that will do this for free, or at a cost, with varying degrees of functionality. I came across this handy article that goes into more detail on these methods.

The method that stuck out to me was the new SharePoint Online Migration API from Microsoft. A free powershell driven process. Microsoft released an IT User Guide on the steps required when it was in preview. This is the document I used, and it can be downloaded here.

I used a Microsoft Azure virtual machine to do the initial download of the Google Drive Directory - about 150 GB of data. It downloaded incredibly fast on the Azure VMs connection and completed in a couple of hours. I just used the Google Drive sync tool for this, though you can also use Google’s Takeout tool if you need to convert your Google Docs/Sheets/Slides to their Microsoft Office equivalents.

Once downloaded, I installed the updated SharePoint Online Management Shell, and followed the instructions in the provided Word documents above.

The next step was to create an Azure storage account, create the folders for the migration packages (a bunch of XML manifests outlining what needs to be migrated) and start the upload of the data.

I got an error during one of the first powershell commands that read ‘New-SPOMigrationPackage : The server could not be contacted‘. Following the instructions of this blog post, I changed the initial command to this and added the -NoAdLookup switch to resolve it.

Next we run the Set-SPOMigrationPackageAzureSource cmdlet to upload the data from the Azure Server to the Azure Storage account.

Once the data and the migration package is uploaded, the migration can be kicked off via PowerShell. Now the data is being moved from Azure to OneDrive for Business/SharePoint online. You can check the status of the Migration using the Microsoft Azure Storage Explorer, or just keep an eye on the library that you’re migrating to.

The coolest thing about this method is that it avoids the upload throttling of the ‘Open with Explorer’ method, and the syncing issues of the OneDrive for Business sync client. Best of all, it preserves the date modified metadata of the original files.

File metadata settings for the migration
Uploading migration files to Azure storage
PowerShell error during the Google Drive migration

Related posts

Callers cheering and blowing bubbles in the Animal Welfare League Queensland Giving Day call room, with the fundraising tally and the GCIT logo on the projector behind them
BLOG

Our Team on the Phones for Animal Welfare League Queensland’s First Giving Day

We built a pop-up call centre for Animal Welfare League Queensland's first Giving Day on 17 September 2026, then spent the day on the phones beside its staff and volunteers.
Harry Morris, Elliot Munro, Leon Rebello MP, James Munro, Ryan Colombo and Grace Teu from GCIT with the 2026 McPherson Honours Small Business of the Year trophy
BLOG

GCIT Wins Small Business of the Year at the 2026 McPherson Honours

GCIT was named Small Business of the Year at the 2026 McPherson Honours, hosted by Leon Rebello MP. Here is what the Honours are and the community work behind our nomination.
GCIT team at work in the Burleigh Heads office, with the GCIT logo and the Claude Partner Network Certified Services Partner badge
BLOG

GCIT Is Now Certified in the Claude Partner Network

GCIT is now Certified in the Claude Partner Network. Here is how our team trained on Claude, how we use it in our own business, and how gcOS turns AI into measured results.
Ready to secure and simplify your IT? Talk to a GCIT expert today.