I am getting below error while providing Library/Folder access to others in SharePoint Online 2016, Please suggest your thoughts and solutions to provide access to one Time.
Error message :
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
How many items in the folder? How many items have unique permissions in this folder?
Please make sure the list view is not exceed the list view threshold. 5000 is the maximum number of list or library items that a database operation, such as a query, can process at one time. Operations that exceed this limit are blocked.
According to the docs: "Unique security scopes per list or library - 5,000. For large lists, design to have as few unique permissions as possible."
Note, this is about the number of unique permissions, not the total number of items. By unique permissions, each individual item that has been shared will (usually) count as a unique permission. If 20 items are in a folder, and the folder has been shared, that's still just one unique permission.
Unfortunately, there's no simple answer here: restructure the library into multiple libraries, or add folders and restructure content into the folders (moving into folders won't help on its own, this would only help if the unique permission on the individual items could be removed, and instead the permissions could be applied to the folder.)
Side note: the version of SharePoint Online is just "SharePoint Online", not 2016. 2016 is a reference to an instance of SharePoint running on your own servers, not in Office 365.