How to Fix SharePoint Migration Path Limits and Missing SPMT Options
Question details
Users need to resolve migration failures in SharePoint Online and OneDrive caused by the 400-character file path limit, and find workarounds for missing SharePoint Migration Tool (SPMT) options in GCC tenants.

- Product
- SharePoint Online and OneDrive for Business
- Device & OS
- not provided
- Scenario
- Migrating files and folders to SharePoint Online or OneDrive for Business within a Government Community Cloud (GCC) environment.
- Observed behavior
- The 'Move to' or 'Copy to' functions fail to preserve folders when file paths exceed the limit, synchronization problems occur, and standard migration options are missing for GCC users.
Ensure you have administrator access to your Microsoft 365 GCC tenant and are familiar with running PowerShell scripts to manage file directories.
Identify and Shorten Long File Paths
Use this recommended approach to analyze your migration reports and manually reduce folder path lengths before attempting the migration again.
SharePoint Online and OneDrive for Business enforce a strict 400-character limit on the total decoded file path length. Exceeding this limit prevents synchronization and causes folder structures to break during migration.
Open your SharePoint Migration Tool reports to identify the specific items and directories that failed during previous synchronization attempts.
Use PowerShell to scan your source environment directories. This will help you quickly list all file or folder paths that currently exceed the 400-character limit.
Navigate to the identified long paths and manually rename the folders in your hierarchy to use shorter names, reducing the overall character count.
Once all file paths are verified to be under the 400-character limit, retry the 'Move to' or 'Copy to' operation in your migration tool.

Use Manual Download and Upload as a Workaround
If GCC tenant limitations prevent standard SPMT functionality, use the manual transfer method to move files.
Looking for a Lightweight Office Alternative?
While navigating complex Microsoft 365 migrations and GCC tenant limitations, you might prefer a simpler, faster office suite for your daily document needs. WPS Office offers excellent compatibility with Microsoft formats in a lightweight, user-friendly package.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to set up WPS Office on your device.
- 3. Open Microsoft Formats: Directly open, edit, and save your existing Microsoft Office files with seamless format compatibility.

Frequently Asked Questions
What is the maximum file path length in SharePoint Online?
The total decoded file path length, including the file name and all parent folders, cannot exceed 400 characters in SharePoint Online and OneDrive for Business.
Why are SharePoint Migration Tool (SPMT) options missing in my GCC tenant?
Government Community Cloud (GCC) environments operate under stricter security and compliance regulations, which can cause certain migration features or third-party integrations to be restricted or delayed compared to commercial Microsoft 365 tenants.
How can I submit feedback to Microsoft if the portal is blocked in my GCC environment?
Since many GCC environments block the Microsoft Feedback portal for security reasons, you may need to submit your feedback using a personal or a separate commercial Microsoft 365 account on an unrestricted network.




