question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command: Retrieve a list of OneNote notebooks

See original GitHub issue

Usage

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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Abderahman88commented, Aug 22, 2022

Great @nanddeepn for picking this back up.

1reaction
waldekmastykarzcommented, Aug 18, 2022

Setting as available to pick up due to lack of response

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found