Protip: Assigning section level permissions in OneNote

When you have a OneNote notebook shared with an entire group or site in SharePoint (or with few people in OneDrive for Business) you might want to be able to set permissions on a section or section-group level. While this functionality isn’t for some reason available directly from the UI, it is definitely possible. Read on to learn how!

Basically, when you create a OneNote notebook in a document library, what really happens is that a folder is created there with the notebook’s name and then the sections (.one) files are placed into it. Section groups are represented as folders as well with .one files as sections inside (you can learn more details here). Now to the permission part.

OneNote API gives us the ability to modify the permissions through RESTful calls. This functionality is what OneNote Class Notebooks seem to use on the background. This is great, but we would like to use the user interface right?

So the easiest way is to navigate to the specific document library, where the file is stored, for example:

Next, you need to navigate into its respective folder (if the notebook is in a folder itself). Then you simply modify the URL to contain the notebook’s name, since it is a folder anyways:

Notice the bold parts of the address which represent the path to the library, the %2F is just URL escaped /.

From there, you can easily stop inherting the permissions and assigning your own. This works both in regular SharePoint sites and Office 365 Groups as well.

Author: Jan Hajek

I am Honza, hi. @hajekj |

Leave a Reply