Skip to main content
March 6, 2026•15 min read•SharePoint

How to Migrate File Server Data to SharePoint Online

A practical enterprise guide covering tool selection, folder restructuring, permission mapping, and post-migration validation for file server to SharePoint Online migrations.

Quick Answer: EPC Group moves enterprise file servers to SharePoint Online through three decisions: the tool (Microsoft's free SPMT or Migration Manager, or a licensed third-party tool for complex permissions), the destination (OneDrive for personal files, SharePoint for shared files), and the structure (deep folders flattened into metadata-driven libraries). This guide is for IT and records teams planning that move.

Last updated by Errin O'Connor, Founder & Chief AI Architect, EPC Group

EPC Group's file server migration method for IT teams: inventory and clean the share, map folders to sites, libraries and metadata, map NTFS permissions to Microsoft Entra ID groups, migrate with SPMT or Migration Manager (or a licensed tool), then check file counts, permissions and sync before the server is retired.

Key Facts

  • Three main migration tools: SPMT (free, basic), ShareGate (mid-size), AvePoint (enterprise).
  • Content destination rule: personal files go to OneDrive. Shared files go to SharePoint.
  • Deep folder structures (more than 5 levels) must be flattened using metadata columns before migration.
  • SharePoint file path limit: 400 characters total. Files with longer paths require remediation before migration.
  • EPC Group has completed 6,500+ SharePoint implementations including file server migrations.

Why File Server Migration is Different from Email Migration

File server migrations to SharePoint Online are fundamentally different from email migrations because they require structural transformation, not just data movement. Email migrates 1:1 — mailbox to mailbox. File servers require rethinking the entire information architecture: folder hierarchies must be flattened, permissions must be remapped to a different model, and naming conventions must be updated to comply with SharePoint requirements.

Organizations that approach file server migration as a simple lift-and-shift consistently encounter problems: path length errors, broken permissions, poor search results, and low user adoption. The migrations that go well spend real time on pre-migration planning and structure design before any data moves; that planning is the first phase of EPC Group migration services.

Migration Tool Comparison

FeatureSPMT (Free)ShareGateAvePoint
CostFreeVendor license (quote)Vendor license (quote)
Permission MappingBasicAdvancedEnterprise
SchedulingManualAutomatedAutomated
Delta SyncYesYesYes
ReportingBasic logsDetailed reportsEnterprise audit
Best For<1 TB, simple1-20 TB, mid-size20+ TB, enterprise

For most enterprise engagements, EPC Group recommends ShareGate for its balance of capability and usability. AvePoint is justified when dealing with multi-tenant scenarios, complex permission structures, or migrations exceeding 20 TB.

Pre-Migration Assessment

Content Inventory

Before migrating, run a complete inventory of your file server. Tools like TreeSize Professional or the native Windows robocopy /L command can generate reports showing total file count, total data volume by folder, file type distribution, largest files, deepest folder paths, files with problematic characters in names, and files last modified over 3 years ago (candidates for archival rather than migration).

Content Cleanup

The single highest-ROI activity in any file server migration is pre-migration cleanup. Many file servers hold data that should not be migrated: duplicate files, outdated versions, personal files in shared locations, and abandoned project folders. Eliminating this content reduces migration time, storage costs, and post-migration clutter. Work with department heads to identify content that can be archived to cold storage or deleted entirely.

Structure Mapping

Map your file server hierarchy to SharePoint's site/library/folder model:

  • Departments or business units → SharePoint team sites
  • Major project areas → Document libraries within sites
  • Subfolders (2 levels max) → SharePoint folders within libraries
  • Deeper classification → Metadata columns (content type, year, status, etc.)

OneDrive vs. SharePoint Decision Matrix

Content TypeDestinationRationale
Home drives (H: drive)OneDrivePersonal files, 1 TB per user
My DocumentsOneDrivePersonal files synced to device
Department shared drivesSharePoint team siteShared access, version control
Project foldersSharePoint team siteCollaboration, lifecycle management
Company policies/templatesSharePoint comm siteBroad read access, publish workflow
Archive data (>3 years old)Azure Blob StorageCost-effective cold storage

Post-Migration Validation

After migration, validate file integrity by comparing source and destination file counts and sizes, verify that folder permissions are correctly applied by spot-checking 10-15 folders with different permission levels, confirm that file version history was preserved where applicable, test search functionality for recently migrated content, and verify that OneDrive sync client connects properly for end users.

Frequently Asked Questions

Sources: SharePoint Migration Tool, Migration Manager, SharePoint limits and sensitivity labels for sites (Microsoft Learn), accessed 2026-11-22.

Which tool should I use to migrate a file server to SharePoint Online?

Use Microsoft's free SharePoint Migration Tool (SPMT) for file share moves run from one machine, and Migration Manager in the SharePoint admin center when you need several agent servers, central task tracking and aggregated reports. Third-party tools such as ShareGate and AvePoint are licensed separately; evaluate them against your permission-mapping and reporting requirements before you buy.

How do you handle folder structures during a file server to SharePoint migration?

Flatten deep folders before you move them. SharePoint and OneDrive allow at most 400 characters for the decoded path, including the file name, so map the top levels of the share to sites and document libraries and use metadata columns such as Year, Quarter, Type and Status instead of further subfolders. This avoids path-length errors and makes the content easier to find.

What file sizes and names does SharePoint Online support?

Each file can be up to 250 GB, and the full decoded path including the file name cannot exceed 400 characters. Some characters and names are not allowed in file and folder names, so scan the share for invalid names, long paths and oversized files before the migration and fix them at the source. Migration Manager also supports files up to 250 GB for file share migrations.

How do file server permissions map to SharePoint Online permissions?

Map NTFS rights to SharePoint permission levels before migration: Full Control to Full Control, Modify to Edit, Read & Execute to Read, and List Folder Contents to View Only. Sync the Active Directory security groups to Microsoft Entra ID first, grant access at site and library level through those groups, and avoid unique permissions on individual folders: a list, library or folder with more than 100,000 items cannot have its inheritance broken.

Should file server content go to OneDrive or SharePoint?

Move personal content such as home drives and My Documents to each user's OneDrive, and shared department, project and company content to SharePoint sites. If more than one person works on a set of files, put it in a SharePoint document library, where access does not depend on one user's account; company-wide reference content fits a communication site.

What happens to mapped drives after the migration?

Mapped drives that point at the old file server must be removed or replaced. Common replacements are syncing the SharePoint library with the OneDrive sync app, adding a shortcut to the library in OneDrive, or retiring the drive letter through Group Policy once users work in SharePoint or Teams. Test every application that read files from a drive letter before you decommission the server.

Planning a File Server to SharePoint Migration?

EPC Group plans and runs file server to SharePoint Online migrations for enterprise organizations. Scope: inventory, cleanup, structure and permission mapping, migration runs and validation. Deliverables: a migration plan and a validated cutover. Acceptance: source and destination file counts match, sampled permissions are correct, and users sync before the file server is retired. Each engagement is a fixed fee quoted after a scoping call.

Request a Migration Assessment
EO

Errin O'Connor

Founder & Chief AI Architect at EPC Group | Microsoft consulting since 1997

How to Migrate File Servers to SharePoint Online

Last updated: 2026 · Read time: 8 min

Migrating file servers to SharePoint Online requires three decisions: tool selection, content destination mapping, and folder structure redesign. This guide covers SPMT, ShareGate, and AvePoint migration tools, NTFS-to-SharePoint permission mapping, metadata strategy, and post-migration validation. Written from EPC Group's 6,500+ SharePoint implementations.

Three migration tools compared

Choose your tool based on data volume, permission complexity, and budget.

  • SPMT (SharePoint Migration Tool) — free from Microsoft. Best for single-site migrations under 1 TB with simple NTFS permissions.
  • ShareGate — commercial tool, licensed by the vendor. Used for mid-size migrations with complex permission mapping and reporting.
  • AvePoint — enterprise platform. Best for large environments with multi-site governance, automated remediation, and audit requirements.

Content destination mapping

Getting the destination right before migration saves significant remediation time.

  • OneDrive — personal files belonging to one user (My Documents, Desktop).
  • SharePoint team sites — files shared by a department or team. Unlimited (within tenant quota).
  • SharePoint communication sites — reference content and company-wide resources.
  • Archive site collection — files not modified in 3+ years. Consider cold storage or SharePoint with restricted access.

NTFS to SharePoint permission mapping

NTFS permissions do not map 1:1 to SharePoint. Plan the translation before migration day.

  • NTFS Full Control → SharePoint Full Control
  • NTFS Modify → SharePoint Edit
  • NTFS Read & Execute → SharePoint Read
  • NTFS Write → SharePoint Contribute
  • NTFS List Folder Contents → SharePoint View Only

Simplify permission structures where possible. SharePoint governance is harder to maintain when you replicate complex NTFS ACL hierarchies directly.

Pre-migration assessment steps

Run a discovery scan before moving anything. Tools like TreeSize Professional or Windows robocopy /L generate reports showing:

  • Total file count and data volume by folder.
  • File type distribution (identify unsupported types).
  • Largest files (over 250 GB requires special handling).
  • Deepest folder paths (over 400 characters need remediation).
  • Files with special characters in names (SharePoint rejects some characters).
  • Files last modified over 3 years ago (candidates for archival, not migration).

Post-migration validation checklist

Validate migration before decommissioning the file server. Check each item below.

  1. File integrity — compare source and destination file counts and sizes.
  2. Permissions — spot-check 10–15 folders with different permission levels. Verify correct mapping.
  3. Version history — confirm file version history was preserved where applicable.
  4. Search — test search for recently migrated content once indexing has caught up.
  5. OneDrive sync — verify OneDrive sync client connects properly for end users.
  6. Application integrations — test any apps that previously mapped drive letters to file server shares.

Microsoft Purview and sensitivity labels

Plan labels before the migration so migrated content lands under the right controls.

  • A sensitivity label applied to a SharePoint site sets container controls such as privacy, external sharing and access from unmanaged devices.
  • Files in a labeled site do not inherit the site label; label files separately, by users or by labeling policies, after enabling sensitivity labels for Office files in SharePoint and OneDrive.

Source: Use sensitivity labels to protect collaborative workspaces (Microsoft Learn), accessed 2026-11-22.

Start your file server migration

EPC Group has completed 6,500+ SharePoint implementations. Contact EPC Group to talk to a migration architect about tool selection, permission mapping, and a phased rollout plan.

AI assistant — not a human