Migrate File Shares to SharePoint Online: Full Guide
In this article
- Why Move Off Traditional File Servers
- What the Migration Actually Involves
- Built-In Tools: SharePoint Migration Tool (SPMT) and Mover
- Third-Party Migration Tools: When You Need More
- Planning Your SharePoint Structure: Sites, Libraries, and Permissions
- Common Problems and How to Avoid Them
- Costs, Licensing, and Storage Considerations
- Alternatives: When SharePoint Isn't the Right Fit
- Frequently Asked Questions
Yes, you can and often should migrate file shares to SharePoint Online, but the process requires planning, the right tools, and a clear understanding of what SharePoint is and isn't designed for. This guide explains what the migration involves, how to choose between the built-in tools and third-party options, what to watch out for, and how to structure your new SharePoint environment so you don't just recreate the same problems in the cloud.
Why Move Off Traditional File Servers
On-premises file servers have served businesses for decades, but they come with recurring costs and limitations: hardware that ages, backups you must manage, VPN requirements for remote access, and a single point of failure if the server room has a bad day. SharePoint Online, part of Microsoft 365, shifts that burden to Microsoft's infrastructure. Files are stored in the cloud, accessible from anywhere with an internet connection, and version history, co-authoring, and sharing permissions are built in. For many organizations, the move is less about saving money and more about enabling remote work, eliminating VPN dependencies, and reducing the administrative overhead of patching and maintaining file servers.
That said, SharePoint Online is not a drop-in replacement for every file share. It has a 5,000-item limit per library view (you can store far more, but views and sync behave differently beyond that), a 250 GB maximum per file, and a 15 TB default storage limit per site (which can be increased). Large engineering drawings, massive database files, or folders with hundreds of thousands of tiny files may need special handling or a different destination like Azure Files.
What the Migration Actually Involves
At its core, migrating a file share to SharePoint Online means copying files from your on-premises server (or another cloud location) into SharePoint document libraries, then re-creating permissions, metadata, and folder structure. The process breaks down into four phases:
- Inventory and cleanup: Identify what you have, how much data exists, which folders are actually used, and which files are duplicates, outdated, or orphaned. This is the step most people skip and later regret.
- Design the target structure: Decide how many SharePoint sites you need, what the document libraries will be called, and how permissions will be assigned. A common mistake is creating one giant site for everything, which becomes unmanageable.
- Run the migration: Use a tool to copy files from the source to SharePoint. This can be a one-time copy or a phased approach with incremental syncs.
- Validate and cut over: Verify file counts, check permissions, test links, and then redirect users to the new location. Update shortcuts, bookmarks, and any applications that point to the old file paths.
Most migrations are not a single weekend event. They take weeks of planning, especially if you have hundreds of thousands of files or complex permission structures.
Built-In Tools: SharePoint Migration Tool (SPMT) and Mover
Microsoft offers two free tools for this job. The SharePoint Migration Tool (SPMT) is the primary one for moving files from on-premises file shares and SharePoint Server to Microsoft 365. It runs on a Windows machine, can handle large batches, and supports incremental migrations, meaning you can do an initial copy, then sync only the changes until you're ready to cut over. SPMT also reports on any files that fail to migrate, so you can address errors before going live.
The other tool, Mover, was acquired by Microsoft and is now integrated into the SharePoint admin center. Mover is designed for cloud-to-cloud migrations, such as moving from Google Drive, Dropbox, Box, or another SharePoint environment. It's a web-based tool with a straightforward wizard. For file share migrations, SPMT is the more appropriate choice because it can access on-premises paths directly.
Both tools are free, but they have limitations. They don't always preserve complex permission inheritance perfectly, and they can be slow for very large datasets. If you have more than a few terabytes, or if you need to migrate from a non-Microsoft source like NetApp or a legacy system, you'll likely need a third-party tool.
Third-Party Migration Tools: When You Need More
Commercial tools like ShareGate, Metalogix, AvePoint, and BitTitan are popular for large or complex migrations. They offer features that the free tools lack:
- Pre-migration analysis to identify problem files, broken permissions, and oversized items.
- Granular permission mapping, including the ability to convert Windows security groups to Microsoft 365 groups.
- Scheduled, incremental syncs that can run continuously during a pilot phase.
- Rollback capabilities if something goes wrong.
- Reporting on what was migrated, what failed, and what was skipped.
The cost is usually per user or per terabyte, and it can be significant for a large organization. But if your migration is complex, the time and risk saved often justify the expense. A good rule of thumb: if you have under 1 TB of data and a simple folder structure, SPMT is probably enough. If you have multiple file servers, complex NTFS permissions, or a tight deadline, a third-party tool is worth the investment.
Planning Your SharePoint Structure: Sites, Libraries, and Permissions
One of the biggest mistakes in a file share migration is simply dumping everything into a single document library. SharePoint works best when content is organized into sites that mirror business units, projects, or teams. A typical structure might look like this:
- Communication sites for company-wide announcements and policies.
- Team sites for departments or projects, each with its own document library.
- Hub sites to connect related sites and provide shared navigation.
Permissions should be assigned at the site level, not the folder level. If you have folders with unique permissions in your file share, you'll need to either split them into separate sites or use SharePoint's advanced permission settings, which can become messy. A better practice is to use Microsoft 365 Groups for team sites, which automatically manages permissions for members and owners.
Also consider metadata. In a file share, you organize by folders. In SharePoint, you can add columns like "Department," "Project," or "Document Type" and then create views that filter and group files without moving them. This is a powerful feature, but it requires planning. Don't try to add metadata to thousands of files manually; use the migration tool to map folder names to metadata columns, or do it after migration in batches.
Common Problems and How to Avoid Them
Even with careful planning, migrations hit snags. Here are the most frequent issues and their fixes:
- File path too long: Windows has a 260-character path limit, and SharePoint URLs have their own limits. If your file share has deeply nested folders, files may fail to migrate. Solution: flatten the folder structure before migrating, or rename folders to be shorter.
- Special characters in filenames: SharePoint doesn't allow certain characters like * : < > ? / \ | in file names. The migration tool will rename them, but you should clean these up beforehand to avoid confusion.
- Large files over 250 GB: SharePoint Online has a hard limit of 250 GB per file. If you have larger files, you'll need to split them or use a different storage solution like Azure Files.
- Permission loss: NTFS permissions don't map directly to SharePoint. You'll need to re-create permissions using SharePoint groups or Microsoft 365 groups. The migration tool can help, but it's not automatic.
- Sync issues: If users are syncing SharePoint libraries to their desktops with OneDrive, they may hit the 300,000 file limit per library or experience performance issues. Encourage browser use for large libraries, or split content into smaller sites.
One misconception is that migration is a one-time copy. In reality, you should plan for a period of parallel running, where users continue to access the old file share while you migrate and validate. Then, on a cutover date, you switch users to SharePoint and keep the old server read-only for a few weeks as a safety net.
Costs, Licensing, and Storage Considerations
SharePoint Online is included in most Microsoft 365 business plans, so there's no additional cost for the platform itself. However, storage is capped: each user gets 1 TB of storage across all SharePoint sites, plus an extra 10 GB per licensed user, up to a maximum of 25 TB per tenant. If you need more than 25 TB, you can contact Microsoft for additional storage, but it's not automatic.
If you're migrating from a file server, you'll likely be paying for Microsoft 365 licenses anyway. The real cost is in the migration effort, whether that's your IT staff's time or a third-party tool. For a small business with a few hundred GB, the migration might take a weekend. For an enterprise with 50 TB, it could take months and require dedicated project management.
Also consider that SharePoint Online is not a backup solution. Version history helps recover from accidental deletions, but you should still have a backup strategy, either using Microsoft's native retention policies or a third-party backup tool.
Alternatives: When SharePoint Isn't the Right Fit
SharePoint Online is not the only destination for your file share. Depending on your needs, you might consider:
- OneDrive for Business: Best for personal files that don't need to be shared broadly. Each user gets their own library.
- Azure Files: A cloud file share that supports SMB protocol, so it behaves like a traditional file server. Good for legacy apps that need a mapped drive.
- Microsoft Teams: Teams uses SharePoint behind the scenes for file storage, but the user interface is different. If your team already uses Teams, files can live in the Teams channel.
- Keep it on-premises: If you have regulatory requirements that prevent cloud storage, or if your internet connection is unreliable, a traditional file server might still be the best choice.
In practice, many organizations use a hybrid approach: SharePoint for collaborative documents, OneDrive for personal files, and Azure Files for legacy applications.
Frequently Asked Questions
How long does a file share migration to SharePoint take? It depends on data volume, internet speed, and tool choice. A small migration of a few hundred GB can take a few days, while a multi-terabyte migration with complex permissions can take weeks or months. Most of the time is spent in planning and validation, not the actual copy.
Can I keep the same folder structure in SharePoint? Yes, you can copy the folder structure as-is, but it's often better to flatten it and use metadata instead. Deeply nested folders cause path length issues and make it harder to use SharePoint's search and filtering features.
What happens to file permissions after migration? NTFS permissions don't translate directly. You'll need to map Windows security groups to SharePoint groups or Microsoft 365 groups. The migration tools can help with this, but you should expect to manually review permissions for sensitive folders.
Will my users notice a difference? Yes. Instead of a mapped drive (like G:), they'll access files through a web browser or sync them with OneDrive. They can still use File Explorer if they sync, but the experience is different, and they'll need training on how to share files and co-author documents.
Is there a file size limit in SharePoint Online? Yes, the maximum file size is 250 GB per file. This is far larger than most documents, but if you have massive media files or databases, you'll need to split them or use a different storage solution.
Do I need a third-party tool, or is SPMT enough? For most small to medium migrations with simple permissions, the free SharePoint Migration Tool is sufficient. If you have complex permission structures, multiple sources, or a tight deadline, a paid tool like ShareGate or AvePoint can save time and reduce risk.