A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Open the SharePoint library in an InPrivate browser window, sign in with your work account, and retry the folder operation because this exact validation error is commonly associated with stale page or browser-session data.^1^
1. Test with a clean browser session
- In Microsoft Edge, select Settings and more (…) → New InPrivate window.
- Sign in to Microsoft 365 and open the SharePoint document library directly.
- Create a folder named
TestFolder123. - Try renaming it from … → Rename. That is the supported rename path in a SharePoint library.^2^
If both operations work in InPrivate, the normal browser profile contains stale site data. Remove only the affected SharePoint site’s cookies rather than clearing every Microsoft 365 site:
- Edge → Settings and more → Settings → Privacy, search, and services.
- Select Cookies → See all cookies and site data.
- Search for your organization’s SharePoint site and delete its stored data.
- Close all Edge windows, reopen Edge, sign in, and test again.^3^
Deleting cookies signs you out, so save any unfinished browser work first.
If InPrivate still fails, test another browser or device. Temporarily disable ad blockers, privacy/script blockers, and other extensions that modify webpages, then retry.
2. Rule out a folder-name restriction
Test with a short name containing only letters and numbers. SharePoint and OneDrive do not allow these characters in folder names:
" * : < > ? / \ |
Leading or trailing spaces are also unsupported, as are reserved names such as CON, PRN, AUX, NUL, and .lock.^4^
If the simple test name works, shorten the intended name, remove unsupported characters, and check whether the full nested path is excessively long.
3. If the library is synchronized with OneDrive
If this SharePoint library is synced to Windows:
- Temporarily pause OneDrive synchronization.
- Ensure nobody has a file open inside the folder being renamed.
- Perform the operation directly in SharePoint on the web, not File Explorer.
- Resume synchronization after the web operation completes.
Sync or locked-file interference can affect library operations; Microsoft provides separate SharePoint Online sync troubleshooting guidance.^5^
4. Determine the failure scope
Test:
- Another folder in the same library.
- Another document library on the same site, if available.
- Whether another user with edit access gets the same error.
Although you own the account, SharePoint permissions are assigned at the site, library, folder, and item levels. If only one folder fails, create a replacement folder with the desired name, move its contents, and then remove the original folder if permitted. If the entire library fails, ask the Microsoft 365 administrator to investigate the library configuration or open a Microsoft support request.^6^
Provide the administrator with:
- The exact error and timestamp.
- Site and library names.
- Browser name and version.
- Results from InPrivate and another device.
- Whether all folders, one folder, or all users are affected.
- A screenshot with personal information removed.
References
- Security validation for this page is invalid | Microsoft Community Hub
- Rename a file, folder, or link in a document library | Microsoft Support
- Manage cookies in Microsoft Edge: View, allow, block, delete and use | Microsoft Support
- Restrictions and limitations in OneDrive and SharePoint | Microsoft Support
- Fix SharePoint Online sync problems | Microsoft Support
- SharePoint Online troubleshooting - SharePoint | Microsoft Learn