| description | Automatically generated file. DO NOT MODIFY |
|---|
<?php
use Microsoft\Graph\GraphServiceClient;
use Microsoft\Graph\Generated\Models\Notebook;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new Notebook();
$requestBody->setDisplayName('My Private notebook');
$result = $graphServiceClient->me()->onenote()->notebooks()->post($requestBody)->wait();