Forum Discussion

Ferran-Chopo's avatar
Aug 15, 2024
Solved

Using Graph API to create a OneNote tab in a Teams Channel

Hello, I'm trying to create a new tab in an existing channel that opens a OneNote notebook using Graph API. According to official documentation (https://learn.microsoft.com/en-us/graph/api/channel-p...
  • Prasad_Das-MSFT's avatar
    Prasad_Das-MSFT
    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.

Resources