Here is my list of the weirdest issues I have experienced with SharePoint Online. Some of them are also reproduceable on-prem, some are not. I don’t know if these are bugs or “by design” issues.
List with unique permissions in App Web
Did you know that if you want to have list with unique permissions in an App-Web (being part of an Add-In deployment), you must ask at least the Manage List permission in the App Manifest.
That’s very bizarre because permissions requested via the App Manifest target the Host-Web. So in other words, you must ask Manage List permissions to the Host Web in order to manage the lists of your App-Web :). That one is brilliant!
Sharing a list subfolder doesn’t work if the parent Web doesn’t have unique permisisons
That one is nice too! Try this:
- Create a sub site
- Create a Custom List
- Enable folder creation for the list
- Create a folder
- Try to share ==> boom exception
How to fix? Create unique permissions for the sub-site and everything will work! Note that Document Libraries are not affected by this problem
App-Only calls cannot see draft items
Say you have a Provider-Hosted App (Add-In), you give it Full-Control over its host web, you allow it to make App-Only calls and you want to get all documents from a document library via CSOM. Draft items won’t be accessible by the App although it has full control. To see draft items, you need to involve a user identity with enough permissions….