最近接到user report一個SharePoint Online issue, 在Library中對folder打破繼承進行權限管理時,提示下面錯誤:
"Sorry, something went wrong. The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator."
並且有Correlation ID。
此錯誤產生的主要原因是Library下面有大量文件造成。默認情況下,對於SharePoint online,5000 items的限制不知是在view,也會在執行actions時候判斷是否超過5000items。比如,在library中執行打破繼承,因爲library超過5000items會彈出此錯誤。
我們都知道在SharePoint On-premise中我們可以在Web Application中修改List ViewThreshold值進行調整。但是SharePoint Online無法進行設置。
經過與微軟support確認,此邏輯是system by design,而且無法對SharePoint online進行修改設置。
當前給出的建議是,對數據分多個library管理,保證每個library都有少於5000的files。
在此記錄,方便之後查詢,感謝閱讀。