Forum Discussion

Martin-Coupal's avatar
Martin-Coupal
Iron Contributor
Jun 30, 2025

OneNote Teams Tab created with Graph

Since a couple of weeks, all kinds of weird behaviors occurs with OneNote Teams Tab and Graph:

  1. I'm aware of the inability to use App-Only authentication since March 31st. I had to create custom connector in Power Automate to use Delegated permissions and update all my customers flows interacting with OneNote....😠
  2. I'm aware of the latest unsupported use of the configuration contentUrl property when creating OneNote Teams Tab.

Here are my major issues

  • I had teams OneNote Tabs created with graph API where the contentUrl was set using the OneNote Site Assets Url (Ex: https://contoso.sharepoint.com/sites/ProjectA/SiteAssets/OneNote-ProjectA). Since a couple of days, these tabs do not work anymore (Can't reach this app...). Lately there was an issue regarding opening OneNote Teams tab but Microsoft says it is fixed.. But I still have the issue. 
    • Question: Is the way I set the contenturl for these tabs is the reason why it does not work anymore or shoud it still work?
  • I had to find a way to create and configure OneNote tabs in teams using graph (automated provisionning). I was surprise to make it work using the configuration contentUrl property as it is not supported anymore 😦.... I had to build the url with something like this: 

 

"contentUrl" : "https://m365.cloud.microsoft/launch/onenote/officeunihost/teams?auth=2&flight=officeunihost&notebookSource=Link&oneNoteWebUrl={oneNoteWebUrl-Encoded}&notebookIsDefault=false&subEntityId={subEntity-Encoded'}&locale={locale}&tid={tid}&upn={userPrincipalName}&groupId={groupId}&theme={theme}&entityId={entityId}&sessionId={sessionId}&ringId={ringId}&teamSiteUrl={teamSiteUrl}&channelType={channelType}&appSessionId={appSessionId}&hostClientType={hostClientType}"

 

  • Question: Should I avoid this approach to create Teams OneNote tabs? Is there any other options?

 

Thanks!

No RepliesBe the first to reply

Resources