Forum Discussion
Using Graph API to create a OneNote tab in a Teams Channel
- Sep 26, 2024
Ferran-Chopo , We got below update from engineering team:
Configuration is not supported for OneNote tabs as per our documentation:
https://learn.microsoft.com/en-us/graph/teams-configuring-builtin-tabs#onenote-tabs
The URLs of each app are an internal implementation detail that is not publicly documented. App developer should only be using our Graph APIs to create tabs of their own apps for which they know the proper URL structure.
Engineering team is working on implementation to block one note tabs created with faulty content URLs by doing a domain check i.e. blocking creation of OneNote tabs with SharePoint domain URLs.
This is still broken. Creating OneNote tabs is an important part of the API, and right now there is no way to programatically add a OneNote tab into a Shared Channel except manually, which is totally unacceptable for automating deployments and backup/restore scenarios. It's also apparently impossible to copy a OneNote template from the base Team's SPO site into a Shared channel due to an unspecified permission error (my process's registration has all appropriate SPO and notebook read/write/full control permissions). Could the PG please provide a roadmap ID or any hope that these issues will be resolved in our lifetimes?