SharePoint Migration: Step-by-Step Guide
In this article
SharePoint migration is the process of moving content (documents, lists, sites, metadata) from an older SharePoint version (like 2010, 2013, 2016) or from a file share to SharePoint Online (Microsoft 365). Done right, it preserves your data, keeps permissions intact, and minimizes user disruption. This guide walks you through the entire process—from planning to post-migration validation—so you can avoid common pitfalls and ensure a smooth transition.
What You'll Need
- Access to the source environment (admin rights on the current SharePoint farm or file share).
- Access to the target SharePoint Online tenant (Global Admin or SharePoint Admin).
- Migration tool: SharePoint Migration Tool (SPMT) for small/medium migrations, or a third-party tool (e.g., ShareGate, Metalogix) for complex scenarios.
- A clear inventory of your content: sites, document libraries, lists, metadata, and permissions.
- Communication plan for end users (what changes, when, and what they need to do).
Step-by-Step
- Inventory and assess your current environment. Use a tool like the SharePoint Migration Assessment Tool (SMAT) or a manual audit to list all sites, subsites, document libraries, list items, file sizes, and unique permissions. Identify orphaned files, oversized lists (over 5,000 items), and content that is outdated or no longer needed.
- Define the target structure. Decide whether you will mirror your current site structure or restructure to align with modern SharePoint (e.g., hub sites, fewer subsites, more flat structure). Create a mapping document that shows which source site/library goes to which target site/document library.
- Clean up before you move. Delete obsolete files, consolidate duplicate versions, and archive content that is no longer active. This reduces migration time and storage costs. Also, check for invalid characters in filenames (e.g., #, %, &) and fix them, as they can cause errors.
- Plan your permissions. Decide if you will migrate permissions as-is or simplify them. In SharePoint Online, it’s best practice to use security groups rather than individual user permissions. If you have many unique permissions, consider consolidating them before migration.
- Prepare the target environment. Create the site collections, document libraries, and lists in SharePoint Online that you mapped in step 2. Set up the necessary metadata columns and content types. If you plan to use a hub site, create it and associate your sites.
- Choose your migration approach. For small migrations (under 100 GB), use the free SharePoint Migration Tool (SPMT). For larger or more complex migrations, consider a third-party tool that offers features like delta migrations, scheduling, and advanced reporting. You can also use the SharePoint Migration API if you have development resources.
- Run a pilot migration. Select a small, representative site or library and migrate it first. Validate that file contents, metadata, and permissions are intact. Check that links and web parts work. Use this pilot to refine your process and settings before scaling up.
- Perform the full migration. Run the migration in batches to avoid overwhelming the network and the target tenant. Monitor the migration progress and address any errors as they appear. For large migrations, schedule during off-peak hours to minimize impact on users.
- Validate the migration. After each batch, verify that all files are present, metadata is correct, and permissions are applied. Use the tool’s reports to identify any failures. Re-run the migration for any failed items.
- Communicate with users and decommission the source. Once everything is validated, inform users of the new location and provide training if needed. Keep the source environment read-only for a short period (e.g., 2-4 weeks) to allow users to retrieve any missing items, then decommission it.
Common Mistakes
- Skipping the inventory. Not knowing what you have leads to missing content or migrating junk.
- Migrating without cleaning up. Moving old drafts and duplicates wastes time and storage.
- Ignoring permission complexity. Unique permissions can cause failures or unexpected access after migration.
- Not testing a pilot. Going straight to full migration without a test run often results in surprises.
- Forgetting about large lists. Lists with over 5,000 items can hit SharePoint Online’s list view threshold, causing performance issues.
- Not communicating with users. Users get confused when content moves without notice, leading to support tickets.
Tips
- Use the SharePoint Migration Tool (SPMT) for simplicity. It’s free and handles most scenarios.
- Schedule migrations in phases. Move content by department or business unit to reduce risk and make troubleshooting easier.
- Map metadata carefully. Ensure that source columns map to target columns, or data will be lost.
- Enable versioning in the target. If you need version history, enable it before migration so that version counts are preserved.
- Use a dedicated migration network or VPN. For large data sets, this can speed up the process and reduce interruptions.
- Document everything. Keep a log of what was migrated, when, and any issues encountered.
Troubleshooting
If the migration doesn’t go as planned, don’t panic. Here’s what to do:
- Check the migration report. Most tools generate a report listing failed items and the error code. Use that to identify patterns (e.g., all failures are due to file size or special characters).
- Retry failed items. Often, a simple retry works, especially for transient network issues.
- Fix file name issues. If you see errors like “invalid file name,” rename the file in the source and retry.
- Verify permissions. If users can’t access migrated content, check that the target site has the correct permission groups and that sharing settings are configured properly.
- Check for throttling. SharePoint Online may throttle migration requests if you’re sending too many at once. Slow down the batch size or use the tool’s throttling settings.
- Use the Microsoft 365 admin center. If you see service health issues, wait and retry.
Frequently Asked Questions
How long does a SharePoint migration take?
It depends on the volume of data, network speed, and the tool used. A small site (a few GB) might take a few hours; a large enterprise migration (several TB) can take weeks. Plan for 1-2 weeks for a typical small-to-medium migration.
Can I migrate from a file share to SharePoint Online?
Yes, the SharePoint Migration Tool (SPMT) supports file shares. You can map a local folder to a SharePoint document library, and SPMT will copy the files and optionally preserve metadata if you provide a CSV mapping.
Will my permissions be preserved?
Most migration tools preserve permissions, but only if you map users and groups correctly. In SharePoint Online, you may need to re-create local groups or use Azure AD groups. Always test with a pilot to verify.
What happens to my SharePoint workflows?
Classic SharePoint workflows (e.g., SharePoint 2010/2013 workflows) are not migrated automatically. You’ll need to rebuild them using Power Automate or modern workflows. Plan for this separately.
How do I handle large lists (over 5,000 items)?
SharePoint Online has a list view threshold of 5,000 items. You can still migrate the list, but you’ll need to create indexed columns and use views that filter to fewer than 5,000 items. Alternatively, split the list into multiple lists.
Is there a free migration tool?
Yes, the SharePoint Migration Tool (SPMT) is free and works for both file shares and SharePoint Server. It has limitations (e.g., no delta migration for large data sets), but it’s a good starting point.