My Top 3 SharePoint Online oddities

Hi,

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….

Happy Coding

Advertisements

About Stephane Eyskens

Office 365, Azure PaaS and SharePoint platform expert
This entry was posted in SharePoint Online and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s