Overview
Microsoft documents two related limits that may apply:
- When sharing a folder, the total number of items in that folder and its subfolders is limited to 50,000.
- For items with unique permissions in a SharePoint list or library, the supported limit is 50,000. Microsoft recommends a general limit of 5,000 uniquely permitted items.
In eXtendFiles, this issue is most commonly encountered when public sharing links are created for many files. Public sharing can require SharePoint to create unique permissions for those items. If your organization does not use eXtendFiles-generated public links, you are less likely to encounter this specific limitation.
Problem
Failed to upload file: filename.txt. Failed to fetch file URL although your file is uploaded. Error Message: {"code": "notSupported","message": "You cannot break inheritance for this item because there are too many items with unique permissions in this list.","innerError": {"code": "uniqueScopesExceeded","date": "20XX-XX-XXTXX:XX:XX","request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","client-request-id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}Ticket - Id: Root = 1 - xxxxxxxx - xxxxxxxxxxxxxxxxxxxxxxxx
This error means SharePoint was not able to complete the sharing or permission step because the SharePoint list or library has too many items with unique permissions.
In some cases, the file may still upload successfully to SharePoint/OneDrive, but eXtendFiles cannot retrieve or return the public file URL because SharePoint blocks the permission change required to create or access the sharing link.
Microsoft documents this limitation in its SharePoint and OneDrive restrictions documentation:
You cannot break inheritance for this item because there are too many items with unique permissions in this list or library.
See Microsoft's documentation for more information: Restrictions and limitations in OneDrive and SharePoint.
Solution
Option 1: Create a New SharePoint Site
- Create a new SharePoint site in your Microsoft 365.
- Create a new folder in the new site for use with eXtendFiles.
- Set the permissions to allow the appropriate users to access the new SharePoint site.
- Add the new SharePoint Site Name (SharePoint site name) and Directory Path (SharePoint folder name) on the eXtendFiles Configuration screen and authenticate with SharePoint.

Option 2: Choose "System User With Private Upload" Setting (System-User Model)
- If you have not reached the 50k limit: Enable this proactively
- If you have reached the 50k limit: You must perform Option 1 first for new files, then apply this setting to the new location.

Option 3: Multi-User Authentication (User-Based Model)

Option 4: Migrate to Alternative Storage Provider
Frequently Asked Questions (FAQs)
What causes the error message when uploading a file with eXtendFiles?
The error message occurs when attempting to upload a file using eXtendFiles when the Microsoft SharePoint maximum of 50,000 shared links within a folder/sub-folder has been reached.
Are there any workarounds for the SharePoint file sharing limitation?
Yes, there are several workarounds for the SharePoint file sharing limitation. These include creating a new SharePoint site and pointing eXtendFiles to that site, using the System User With Private Upload setting to set files as private by default, and switching to a different backend storage provider where file sharing limitations aren't present.
What is the "User Based File Upload" setting in SharePoint/OneDrive?
The User Based File Upload setting in eXtendFiles allows files to be set as private by default. This can be useful for avoiding the SharePoint file sharing limitation if file sharing is not required for most files.
Are there any limitations to the SharePoint file sharing workaround options?
Some of the SharePoint file sharing workaround options, such as creating a new SharePoint site, require Microsoft 365 SharePoint Admin permissions. Additionally, switching to a different backend storage provider may not be feasible for all organizations.
What happens to my existing files when connecting eXtendFiles to another SharePoint site?
The shared links from the original site will remain accessible as long as the corresponding folder or files are not deleted or moved in SharePoint. Older links will continue to function, and new eXtendFiles uploads will add files to the new SharePoint site. Note that if you have shared public upload links with external parties, those links may no longer be accessible when eXtendFiles is connected to another SharePoint site from the one originally used during public upload link generation and sharing.