New command: Create a new OneNote notebook
See original GitHub issueUsage
m365 onenote notebook add
Description
Create a new OneNote notebook.
Options
Option | Description |
---|---|
-n, --name <name> |
Name of the notebook. Notebook names must be unique. The name cannot contain more than 128 characters or contain the following characters: ?*/:<> |
--userId [userId] |
Id of the user. Use either userId or userName, but not both. |
--userName [userName] |
Name of the user. Use either userId or userName, but not both. |
--groupId [groupId] |
Id of the SharePoint group. Use either groupName or groupId, but not both. |
--groupName [groupName] |
Name of the SharePoint group. Use either groupName or groupId, but not both. |
-u, --webUrl [webUrl] |
URL of the SharePoint site. |
Additional Info
Create notebook (MS Graph docs)
Examples
Create a Microsoft OneNote notebook Private Notebook
for the currently logged in user
m365 onenote notebook add --name "Private Notebook"
Create a Microsoft OneNote notebook Private Notebook
in group 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
m365 onenote notebook add --name "Private Notebook" --groupId 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
Create a Microsoft OneNote notebook Private Notebook
in group My Group
m365 onenote notebook add --name "Private Notebook" --groupName "MyGroup"
Create a Microsoft OneNote notebook Private Notebook
for user user1@contoso.onmicrosoft.com
m365 onenote notebook add --name "Private Notebook" --userName user1@contoso.onmicrosoft.com
Create a Microsoft OneNote notebook Private Notebook
for user 2609af39-7775-4f94-a3dc-0dd67657e900
m365 onenote notebook add --name "Private Notebook" --userId 2609af39-7775-4f94-a3dc-0dd67657e900
Create a Microsoft OneNote notebook Private Notebook
for site https://contoso.sharepoint.com/sites/testsite
m365 onenote notebook add --name "Private Notebook" --webUrl https://contoso.sharepoint.com/sites/testsite
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Create a new notebook in OneNote for Windows 10
Enter a name for the new notebook, and then click Create Notebook. OneNote switches to the new notebook, which contains a new section...
Read more >OneNote 2016 Tutorial Creating New Notebooks ... - YouTube
FREE Course! Click: https://www.teachucomp.com/freeLearn about Creating New Notebooks in Microsoft OneNote at www.teachUcomp.com.
Read more >Microsoft OneNote Quick Start Guide
New to OneNote? Use this guide to learn the basics. Quick Access Toolbar. Keep favorite commands permanently visible.
Read more >How To Create a OneNote Page from the Command Line
In order to create a new note use the createnote verb. C:\src\Releases\OneNoteCLI>OneNoteCLI createnote OneNoteCLI 1.0.0.0 Copyright c 2019 ...
Read more >Microsoft OneNote Basics
Create a New Notebook. OneNote notebooks can be stored on your computer, OneDrive, a Teams site, or an Office 365 Group site. To...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@garrytrinder Yes, you may assign to me
Status update : command is almost finished. Need to write some tests.