Migrate SharePoint List or Library: Full Guide
In this article
Yes, you can migrate a SharePoint list or library, and the method you choose depends on the source and destination (e.g., SharePoint 2013 to SharePoint Online, or between two sites in the same tenant). The most common approaches are using SharePoint's built-in Move/Copy commands, Microsoft's SharePoint Migration Tool (SPMT), or third-party tools for complex scenarios.
Background: Why Migrate a List or Library?
SharePoint lists and libraries store structured data (lists) and files (libraries). Migrating them is often necessary when you upgrade from an on-premises version to SharePoint Online, consolidate sites after a reorganization, or move content to a new site collection. A migration can involve just the data (items, files, metadata) or also include permissions, version history, and custom columns. The complexity grows with the size of the content and the number of customizations.
How It Works: Two Main Paths
There are two broad categories of migration: manual and tool-based.
- Manual (Move/Copy): For small lists or libraries (under a few thousand items), you can use the built-in 'Move to' or 'Copy to' commands in the SharePoint web interface. This works within the same tenant or between sites you have access to. It preserves most metadata but may not carry over version history or custom permissions.
- Tool-based (SPMT or third-party): The SharePoint Migration Tool (SPMT) is Microsoft's free desktop tool. It can migrate lists and libraries from SharePoint 2013/2016/2019 and SharePoint Online to SharePoint Online. It preserves version history, permissions, and most column types. For complex mappings or large volumes, third-party tools (like Sharegate or Metalogix) offer more control, but they cost money.
How to Choose the Right Method
Consider these factors before picking a method:
- Source and destination: On-premises to online? Use SPMT or a third-party tool. Online to online? Try the built-in Move/Copy first.
- Size and item count: Under 5,000 items? Manual is feasible. Over that, use a tool to avoid timeouts and performance issues.
- Version history needed? Built-in Move/Copy does not bring version history. SPMT does. If you need the full history, use a tool.
- Custom columns and content types: SPMT maps standard columns. Custom columns with complex choices or lookups may need manual re-creation.
- Permissions and sharing: If you need to preserve unique permissions, SPMT can do it, but it's easier to re-apply permissions after migration.
Common Problems and How to Avoid Them
Migrating a list or library rarely goes perfectly on the first attempt. Here are typical issues and their fixes:
- Missing metadata: Columns like 'Created By' or 'Modified' are system fields. SPMT can preserve them, but manual copy will not. If you need them, use SPMT.
- Broken lookups: If a list has a lookup column pointing to another list, the migration may break the reference. You may need to re-create the lookup after migration.
- File name length: SharePoint Online has a 400-character limit for file paths. Long paths can fail. Shorten file names or folder depths before migrating.
- Permission inheritance: If the source list breaks permission inheritance, the destination may inherit from the parent site. You must re-break inheritance and re-apply permissions.
- Data loss with built-in Move: Moving a list to a different site collection may not preserve version history or some column types. Always test on a small sample first.
Comparison: Built-in Move vs. SPMT vs. Third-Party Tools
Here's a practical comparison to guide your decision:
- Built-in Move/Copy: Free, no installation, works for small migrations. Limitations: no version history, no cross-tenant, no on-premises support.
- SharePoint Migration Tool (SPMT): Free, supports on-premises to online, preserves version history and permissions, handles large volumes. Requires a desktop install and a Microsoft 365 account.
- Third-party tools: Paid, offer advanced features like incremental sync, mapping, and rollback. Best for complex enterprise migrations with strict compliance.
Safety and Best Practices
Before you migrate, always do the following:
- Back up the source: Export the list to Excel or use SharePoint's 'Export to Spreadsheet' for lists. For libraries, download a copy of all files.
- Test on a small subset: Migrate a few items first to verify columns, permissions, and file integrity.
- Check storage quotas: Ensure the destination site has enough storage. SharePoint Online has default quotas per tenant.
- Communicate with users: Let users know about downtime or changes in URLs.
- Verify after migration: Spot-check item counts, file sizes, and metadata. Use the 'Check Permissions' feature to confirm access.
Alternatives to Full Migration
Sometimes you don't need to move everything. Consider these alternatives:
- Link to the source: Instead of moving, create a link to the original list or library in the new site. This is zero-risk but keeps content in two places.
- Use Microsoft Lists: If the list is simple and you're moving to a new team, you can recreate it in Microsoft Lists and copy data via Excel.
- Export to Excel: For a one-time snapshot, export the list to Excel and store it in the new library. This loses interactivity but preserves data.
Frequently Asked Questions
Can I migrate a SharePoint list to a different site collection?
Yes, you can use the built-in 'Move to' command if you have access to both sites, but it will not preserve version history. For a full migration with history, use SPMT or a third-party tool.
Does SPMT work for SharePoint Online to Online migrations?
Yes, SPMT supports SharePoint Online as a source, so you can migrate between sites in the same tenant. It works better than manual copy for large lists.
Will my custom columns and content types be preserved?
Standard columns like text, number, date, and person/group are preserved. Custom columns with complex settings (e.g., managed metadata, lookup) may need manual re-creation after migration.
How long does a migration take?
It depends on the number of items, file sizes, and connection speed. A list with 1,000 items might take minutes; a library with 100 GB could take hours or days. SPMT shows progress and can be paused.
What happens to permissions after migration?
SPMT can preserve unique permissions if you enable the 'Preserve Permissions' option. Built-in Move/Copy does not. Always verify permissions after migration.