Graph created OneNote not recognized as "Site-Notebook"

%3CLINGO-SUB%20id%3D%22lingo-sub-308910%22%20slang%3D%22en-US%22%3EGraph%20created%20OneNote%20not%20recognized%20as%20%22Site-Notebook%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-308910%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20creating%20a%20new%20Office365%20Group%2C%20the%20%22Site%20Notebook%22%20is%20not%20provisioned%20until%20the%20Notebook%20link%20is%20clicked%20in%20the%20left%20navigation%20of%20the%20associated%20SharePoint%20site.%3C%2FP%3E%3CP%3EI'm%20trying%20to%20automate%20this%20process%20by%20creating%20the%20Notebook%20through%20the%20GraphAPI%20(%2Fgroups%2F%7Bid%7D%2Fonenote%2Fnotebooks)%20-%20which%20works%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20the%20newly%20created%20notebook%20is%20not%20coupled%20to%20the%20navigation%20link%20in%20the%20left%20menu%20of%20the%20SharePoint%20site.%3C%2FP%3E%3CP%3EThis%20results%20in%20a%20second%20notebook%20being%20created%20when%20clicking%20the%20link.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20indicate%20that%20the%20notebook%20I%20created%20should%20be%20used%20as%20the%20Site%20Notebook%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPS%3A%20I%20also%20noticed%20that%20Notebooks%20are%20created%20in%20Shared%20Documents%20library%2C%20and%20the%20%22default%22%20one%20in%20SiteAssets.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-308910%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

When creating a new Office365 Group, the "Site Notebook" is not provisioned until the Notebook link is clicked in the left navigation of the associated SharePoint site.

I'm trying to automate this process by creating the Notebook through the GraphAPI (/groups/{id}/onenote/notebooks) - which works fine.

 

However, the newly created notebook is not coupled to the navigation link in the left menu of the SharePoint site.

This results in a second notebook being created when clicking the link.

 

Is there a way to indicate that the notebook I created should be used as the Site Notebook?

 

PS: I also noticed that Notebooks are created in Shared Documents library, and the "default" one in SiteAssets.

1 Reply
Have the same issue. Did you find a solution? I'm using delegate when provisioning Teams to overcome the channel folders not being created issue. I thought it would also make sure to provision the site assets Notebook but it des not seems to be the case...