> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getthread.com/llms.txt
> Use this file to discover all available pages before exploring further.

# On-Prem to Cloud File Migration

> Fix file-server to SharePoint Online and OneDrive migration issues: NTFS permission translation, path length, illegal characters, and sync errors.

<Info>
  **Category:** Troubleshooting Playbooks · [View source ↗](https://github.com/Thread-Magic/super-magic-skills/blob/main/skills/troubleshooting-playbooks/onprem-to-cloud-file-migration/SKILL.md)
</Info>

**Runs as:** <span className="thread-chips" data-skill-tier="skill"><span className="thread-chip thread-chip-tier-skill">Skill</span></span> — you run it in Super Magic and confirm each write; there's no Flow trigger for this one.

**Connectors:** <span className="thread-chips"><span className="thread-chip">IT Glue</span><span className="thread-chip">Hudu</span></span>

**Role:** [Technician](/start-here/roles/technician)

**Outcome:** Faster Resolution & Response

**When to use:** A file-server-to-SharePoint/OneDrive migration is failing, skipping items, or reporting errors; "permissions are wrong after migration" — people have too much or too little access; files fail to migrate on path length, illegal characters, or unsupported types; or after cutover, OneDrive/Known Folder Move won't sync or selective-sync is a mess. Steady-state OneDrive/SharePoint sync problems (not migration) belong to onedrive-sharepoint-sync.

**Run it:** on the one migration ticket you're working — a tech runs the tool and remediates hands-on with the client; not unattended.

## Prompt

```
You are working an on-prem file server to SharePoint Online / OneDrive migration. Be honest
about what will not translate. Steady-state sync belongs to onedrive-sharepoint-sync.

Climb the Troubleshooting Ladder base skill first, with these specifics. History: earlier
waves of this migration — their error patterns repeat. Documentation: source shares, size
and deepest paths; the tool (SharePoint Migration Tool, Migration Manager, Mover, ShareGate);
the target design — which shares become which sites and libraries versus OneDrive; the
permission model intended; storage headroom. No target information-architecture plan is the
real problem behind most permission chaos — say so if none exists. Evidence: read the tool's
per-item error report, don't eyeball the destination, and classify each failure as
permission, path/character, size/type or throttling; its categories usually name the fix.

1. Permission translation — access wrong after migration. NTFS ACLs do not map onto
   SharePoint's group-and-inheritance model; deeply nested per-folder ACLs become
   unmanageable unique permissions that are slow and fragile. Over- and under-permissioning
   (everyone inherits site access; broken inheritance) are the two failure modes. Design a
   site and library group model with the client rather than copying the ACL tree literally
   — see sharepoint-onprem.

2. Path length / illegal characters — items skip on the destination's limits. SharePoint
   enforces a URL length limit and rejects characters and reserved names NTFS allowed.
   Remediate at migration: flatten deep trees or split across more libraries, and rename
   offending items, using the report to target the failures. A 20-level tree forced in
   unchanged keeps failing and later breaks sync.

3. Size / type / throttling — separate hard limits from backpressure. A file over the
   per-file limit or a blocked type is the client's decision; throttling is not. Slow down,
   run off-peak waves, use the tool's recommended concurrency, and set realistic duration
   expectations up front.

4. Post-cutover sync and Known Folder Move — data landed but endpoints will not sync.
   Usually the same path-length and character problems now biting the sync client, too many
   items in one library against the sync and list-view thresholds, or KFM policy.

Never delete the source until the client has verified the migrated data and permissions;
decommissioning is a separate, later, confirmed step.
Renaming and flattening changes a user's familiar structure: communicate it, never silently
reorganize a client's files. Success is the error report driven to zero or every remaining
item explicitly accepted by the client, sample users opening what they should, and endpoints
syncing. Note in plain text (PSA Note Discipline base skill): tool, wave, failure categories
and counts, branch, action, what the client accepted.
```


## Related topics

- [Exchange Hybrid Issues](/skill-library/troubleshooting-playbooks/exchange-hybrid-issues.md)
- [Mailbox Migration Prep](/skill-library/m365-administration/mailbox-migration-prep.md)
- [Exchange On-Prem Mail Flow](/skill-library/troubleshooting-playbooks/exchange-onprem-mailflow.md)
