New command: Retrieve a list of OneNote notebooks
See original GitHub issueUsage
m365 onenote notebook list
Description
Retrieve a list of notebook objects.
Options
Option | Description |
---|---|
--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
List notebooks (MS Graph docs)
Examples
List Microsoft OneNote notebooks for the currently logged in user
m365 onenote notebook list
List Microsoft OneNote notebooks in group 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
m365 onenote notebook list --groupId 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
List Microsoft OneNote notebooks in group My Group
m365 onenote notebook list --groupName "MyGroup"
List Microsoft OneNote notebooks for user user1@contoso.onmicrosoft.com
m365 onenote notebook list --userName user1@contoso.onmicrosoft.com
List Microsoft OneNote notebooks for user 2609af39-7775-4f94-a3dc-0dd67657e900
m365 onenote notebook list --userId 2609af39-7775-4f94-a3dc-0dd67657e900
List Microsoft OneNote notebooks for site https://contoso.sharepoint.com/sites/testsite
m365 onenote notebook list --webUrl https://contoso.sharepoint.com/sites/testsite
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Find my lost notes - Microsoft Support
OneNote can search typed text, handwritten notes, and words that appear in inserted images. On your keyboard, press Ctrl+F, or click the magnifying...
Read more >notebook list - CLI for Microsoft 365
List Microsoft OneNote notebooks for the currently logged in user. m365 onenote notebook list. List Microsoft OneNote notebooks in group ...
Read more >Microsoft OneNote Basics
A class notebook is stored in OneDrive by default because it is automatically shared with students. 1. In OneNote, choose File, New. 2....
Read more >Microsoft OneNote Quick Start Guide
Keep favorite commands permanently visible. Share your notes with others. Give other people permission to view or edit your notebooks. OneNote. Get help ......
Read more >Recover Deleted Items from OneNote - Learn. Like a Boss
To View recently Deleted Items · On the View tab, click the small arrow next to the Deleted Notes button, and then click...
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
Great @nanddeepn for picking this back up.
Setting as available to pick up due to lack of response