Microsoft-graph-docs: Incorrect OneNote Tab configuration sample

Created on 6 Feb 2019  Â·  10Comments  Â·  Source: microsoftgraph/microsoft-graph-docs

In the example OneNote Tab configuration, properties contentUrl and removeUrl, where the {sectionsUrl} is mentioned, the {groupId} should be placed, otherwise the tab will give an error when opened in Teams.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Most helpful comment

Yeah I second the notion to update the article as per advdberg's comment as it will save a lot of heads smashing through desks. I speak from experience.

All 10 comments

Yeah I second the notion to update the article as per advdberg's comment as it will save a lot of heads smashing through desks. I speak from experience.

I just smashed my head..

I think @nkramer or @jthake-msft can prevent a lot of sore heads ;-)

Awesome @advdberg many thx for your help... I wasted half a day on this :(

Tryning to interpret your comment about OneNote since I also get the error, but I can't figure it out. Anyone can provide a working URL pattern? I tried to add %2F{GroupId} before the %2F{sectionsUrl}.

don't use the sectionsUrl but the groupId instead

Worked like a charm. Thank you so much for your quick answer!

Thank you @advdberg for posting this! This works fine, but I noticed that my tab now doesn't take my name that I provide as displayName. It show correct name first, but then it changes to "note":
image

Don't know if this is related, or if it should be a new issue...

@joakimhogberg

No issue, remember that you're working with links when creating the tab. Read the "Displayname of OneNote tab changes on first access" that I brought up and you'll get it.

I could only getting it to work by first adding the tab in one request and then add the configuration in an update request.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RobinBreman picture RobinBreman  Â·  4Comments

joostvdlinden picture joostvdlinden  Â·  4Comments

dcnoren picture dcnoren  Â·  4Comments

nilleb picture nilleb  Â·  4Comments

mlafleur picture mlafleur  Â·  3Comments