-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aca68bd
commit e68dc65
Showing
84 changed files
with
231 additions
and
514 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,37 +39,37 @@ When we don't specify either `userId`, `userName`, `groupId`, `groupName` or `we | |
|
||
## Examples | ||
|
||
List Microsoft OneNote pages for the currently logged in user | ||
List Microsoft OneNote pages for the currently logged in user. | ||
|
||
```sh | ||
m365 onenote page list | ||
``` | ||
|
||
List Microsoft OneNote pages in a specific group specified by id | ||
List Microsoft OneNote pages in a specific group specified by id. | ||
|
||
```sh | ||
m365 onenote page list --groupId 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4 | ||
``` | ||
|
||
List Microsoft OneNote pages in a specific group specified by name | ||
List Microsoft OneNote pages in a specific group specified by name. | ||
|
||
```sh | ||
m365 onenote page list --groupName "MyGroup" | ||
``` | ||
|
||
List Microsoft OneNote pages for a specific user specified by name | ||
List Microsoft OneNote pages for a specific user specified by name. | ||
|
||
```sh | ||
m365 onenote page list --userName [email protected] | ||
``` | ||
|
||
List Microsoft OneNote pages for a specific user specified by id | ||
List Microsoft OneNote pages for a specific user specified by id. | ||
|
||
```sh | ||
m365 onenote page list --userId 2609af39-7775-4f94-a3dc-0dd67657e900 | ||
``` | ||
|
||
List Microsoft OneNote pages for a specific site | ||
List Microsoft OneNote pages for a specific site. | ||
|
||
```sh | ||
m365 onenote page list --webUrl https://contoso.sharepoint.com/sites/testsite | ||
|
@@ -145,10 +145,7 @@ m365 onenote page list --webUrl https://contoso.sharepoint.com/sites/testsite | |
createdByAppId | | ||
contentUrl | https://graph.microsoft.com/v1.0/users/[email protected]/onenote/pages/1-a26aaec43ed348bd82edf4eb44e73d6c!68-3eb21088-b613-4698-98df-92a7d34e0678/content | ||
lastModifiedDateTime | 2023-01-07T10:57:17Z | ||
links | { "oneNoteClientUrl": { "href": "onenote:https://contoso-my.sharepoint.com/personal/john_contoso_com/Documents/Notitieblokken/My%20OneNote/Test.one#Page%20B& -id=94cacaca-d6b5-428d-b967-d3cf01b95c28&page-id=46a1b220-7ffd-4512-a571-55322097c08d&end" }, "oneNoteWebUrl": { "href": "https://contoso-my.sharepoint.com/personal/john_contoso_com/Documents/Notitieblokken/My%20OneNote?wd=target%28Test.one%7C94cacaca-d6b5-428d-b967-d3cf01b95c28%2FPage%20B%7C46a1b220-7ffd-4512-a571-55322097c08d%2F%29"}} | ||
parentSection | {"id":"1-3eb21088-b613-4698-98df-92a7d34e0678","displayName":"Test","self":"https://graph.microsoft.com/v1.0/users/[email protected]/onenote/sections/1-3eb21088-b613-4698-98df-92a7d34e0678"} | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ m365 outlook message get [options] | |
|
||
```md definition-list | ||
`-i, --id <id>` | ||
: ID of the message | ||
: ID of the message. | ||
|
||
`--userId [userId]` | ||
: ID of the user from which to retrieve the message. Specify either `userId` or `userPrincipalName`, but not both. This option is required when using application permissions. | ||
|
@@ -29,25 +29,25 @@ m365 outlook message get [options] | |
|
||
## Examples | ||
|
||
Get a specific message using delegated permissions | ||
Get a specific message using delegated permissions. | ||
|
||
```sh | ||
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= | ||
``` | ||
|
||
Get a specific message using delegated permissions from a shared mailbox | ||
Get a specific message using delegated permissions from a shared mailbox. | ||
|
||
```sh | ||
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName [email protected] | ||
``` | ||
|
||
Get a specific message from a specific user retrieved by user ID using application permissions | ||
Get a specific message from a specific user retrieved by user ID using application permissions. | ||
|
||
```sh | ||
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca | ||
``` | ||
|
||
Get a specific message from a specific user retrieved by user principal name using application permissions | ||
Get a specific message from a specific user retrieved by user principal name using application permissions. | ||
|
||
```sh | ||
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName [email protected] | ||
|
@@ -173,7 +173,6 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm | |
createdDateTime | 2023-01-26T19:22:44Z | ||
lastModifiedDateTime | 2023-01-26T19:22:46Z | ||
changeKey | CQAAABYAAAAhebtol4HnTZCmNsr9Gnh6AAPk7Plc | ||
categories | [] | ||
receivedDateTime | 2023-01-26T19:22:45Z | ||
sentDateTime | 2023-01-26T19:22:42Z | ||
hasAttachments | true | ||
|
@@ -190,16 +189,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm | |
isDraft | false | ||
webLink | https://outlook.office365.com/owa/?ItemID=AAMkAGUzZWVmZWU4LTM5ZmItNDA4My04OTIzLWY1MGUxNzdiYTQ0MQBGAAAAAABn1FpEFqPeR7YAnkzP%2BVgXBwAhebtol4HnTZCmNsr9Gnh6AAAAAAEMAAAhebtol4HnTZCmNsr9Gnh6AAPfHbtVAAA%3D&exvsurl=1&viewmodel=ReadMessageItem | ||
inferenceClassification | focused | ||
body | {"contentType":"html","content":"<html><head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><style type=\"text/css\" style=\"display:none\">\r\n<!--\r\np\r\n\t{margin-top:0;\r\n\tmargin-bottom:0}\r\n-->\r\n</style></head><body dir=\"ltr\"><div class=\"elementToProof ContentPasted0\" style=\"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vel diam gravida, auctor mauris nec, posuere tellus. Vivamus placerat, nunc ac cursus feugiat, arcu tellus mattis nisl, id cursus nisl lectus eu lacus. Praesent malesuada ut orci vitae viverra. Suspendisse cursus turpis vel urna volutpat congue. Etiam auctor nec nulla sed suscipit. Vestibulum rhoncus quis mi ac faucibus. Curabitur eget eleifend felis. Vestibulum ut dolor non elit molestie ornare. <br></div></body></html>"} | ||
sender | {"emailAddress":{"name":"John Doe","address":"[email protected]"}} | ||
from | {"emailAddress":{"name":"John Doe","address":"[email protected]"}} | ||
toRecipients | [{"emailAddress":{"name":"Megan Bowen","address":"[email protected]"}}] | ||
ccRecipients | [] | ||
bccRecipients | [] | ||
replyTo | [] | ||
flag | {"flagStatus":"notFlagged"} | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
Oops, something went wrong.