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.
Any news on that? It's been almost a month with no answer, and we have a solution in place in a customer for automated teams creation using this feature, that is not working anymore.
Thanks!
Ferran
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.
- Ferran-ChopoSep 26, 2024MCTThanks for your support Prasad_Das-MSFT
As per my understanding, you won't be able to create OneNote tabs in a Teams channel pointing to a specific Notebook using Graph API.
In the end, we're not able to create automatically a Teams team with specific tabs within it, which was really useful (we have a process where user enters some data in a form, and automatically a Teams team is created with a OneNote tab, a Planner tab, etc.). Very unfortunate decision under my point of view 😞
Thanks!
Ferran