logo
search
SharePoint Document Issues

How to Rename or Move Top-Level SharePoint Folders

Nimra MalikNimra Malik Sep 30, 2026 868 views

Question details

The user needs to rename or move top-level SharePoint folders but is unable to do so, and long folder paths are causing synchronization errors.

How to Rename or Move Top-Level SharePoint Folders
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
A company administrator is attempting to organize a SharePoint file structure by renaming and moving top-level folders (such as Public and LI) to improve remote employee synchronization.
Observed behavior
The system prevents renaming or moving specific top-level folders, and excessively long file paths trigger synchronization errors for remote users.
Before you start

Ensure you have SharePoint Administrator permissions and verify whether the folders you are trying to modify are system default folders, which often have strict modification restrictions.

Solution 1Recommended

Use PnP PowerShell to Rename or Move Folders

Utilize SharePoint PnP PowerShell commands to force rename or move folders when the web interface fails or limits operations.

SharePoint administrators can use PowerShell scripts to bypass certain front-end restrictions. This is especially useful when dealing with large folders or overcoming list view threshold limits.

1
Connect to SharePoint Online

Open PowerShell as an administrator and run 'Connect-PnPOnline -Url "https://<TenantName>.sharepoint.com/sites/<SiteName>" -Credentials (Get-Credential)' to authenticate your session.

2
Rename the Folder

To rename the folder, execute the command: 'Rename-PnPFolder -Folder "<LibraryName>/<OldFolderName>" -TargetFolderName "<NewFolderName>"'.

3
Move the Folder

To move the folder instead, use the command: 'Move-PnPFile -SourceUrl "<SourcePath>" -TargetUrl "<TargetPath>"'.

Use PnP PowerShell to Rename or Move Folders
Check Folder Thresholds: Operations may fail if the folder size exceeds the SharePoint list view threshold or path-length limits. If this happens, you may need to break down large folders into smaller ones.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

While you use SharePoint for centralized cloud storage, WPS Office provides a lightweight, highly compatible suite for editing your Word, Excel, and PowerPoint documents both locally and in the cloud.

  1. 1. Visit the WPS Website: Go to the official WPS Office website to find the correct version for your operating system.
  2. 2. Download the Installer: Click the download button to get the free, lightweight installation package.
  3. 3. Install and Edit: Run the installer, open the application, and seamlessly edit your SharePoint-synced documents.
Highly compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Free and lightweight alternative to heavy desktop Office applications.Intuitive tabbed interface for easier document management.Seamless integration with cloud drives for remote team collaboration.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I rename default SharePoint folders?

System default folders (like 'Shared Documents') are protected by SharePoint to ensure system processes and integrated Microsoft apps function correctly. They generally cannot be renamed via standard methods.

How do I fix synchronization errors caused by long folder paths?

SharePoint and Windows impose character limits on file paths (typically around 400 characters). To resolve sync errors, reduce the length of your top-level folder names or flatten your overall document library hierarchy.

What permissions are required to move top-level folders?

You typically need 'Edit' or 'Full Control' permissions at both the source and destination library levels to move top-level folders successfully.

What is the SharePoint list view threshold?

The list view threshold is a limit (usually 5,000 items) that prevents database performance issues during large queries. Modifying folders containing more items than this threshold might fail via the web interface and require PowerShell scripts to process.