Aug 10 2022 02:02 AM
We have a document library which have around 400,000 documents and folders, and around 3,000 root folders. the document library inherit its permission from the site. now we tried to define a unique permission for the library but we got threshold error. so any advice how this can be fixed?
Aug 10 2022 02:44 AM
Unfortunately there is not a solution here since you are hitting a SPO limit...if you have the choice, I would recommend to do some restructuration and split the content between more than a document library in the site
Aug 10 2022 04:08 AM
@john john This is one of the limitation of SharePoint online.
When a list, library, or folder contains more than 100,000 items, you can't break permissions inheritance on the list, library, or folder. You also can't re-inherit permissions on it. However, you can still break inheritance on the individual items within that list, library, or folder, up to the maximum number of unique permissions in the list or library (see the next section).
Source: Items limit in lists and libraries
For large lists, design to have as few unique permissions as possible and remain below 5,000 in total.
Source: Unique security scopes per list or library
To learn more about other restrictions for viewing large lists, see Manage large lists and libraries in Office 365.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.