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.
Ferran-Chopo - According to this documentation, Configuration is not supported. So, could you please try running the API query without configuration property and check if that helps?
- Ferran-ChopoAug 16, 2024MCT
If configuration is not supported, how do we specify which OneNote notebook should be opened when clicking the tab in the Teams channel? The contentUrl and websiteUrl are inside the configuration section, so there's no way to set the OneNote notebook url.
Best Regards,
Ferran
- Prasad_Das-MSFTAug 19, 2024
Microsoft
Ferran-Chopo , we completely understand the concern and we are too having the same issue.
We have raised a bug for the same and engineering team is looking into it. We will inform you once we get any further update.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- Ferran-ChopoAug 28, 2024MCT