@pnp/cli-microsoft365 5.9.0-beta.740ba5f → 5.9.0-beta.77d7f6b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +15 -2
- package/dist/Command.js +16 -2
- package/dist/m365/aad/commands/app/app-add.js +37 -13
- package/dist/m365/commands/status.js +6 -1
- package/dist/m365/outlook/commands/mail/mail-send.js +55 -31
- package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
- package/dist/m365/pp/commands/Environment.js +3 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-list.js +68 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -12
- package/dist/m365/pp/commands/environment/environment-get.js +75 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands.js +5 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
- package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
- package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +168 -0
- package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
- package/dist/m365/spo/commands/group/group-list.js +49 -10
- package/dist/m365/spo/commands/list/list-contenttype-add.js +21 -18
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +59 -47
- package/dist/m365/spo/commands/list/list-contenttype-list.js +16 -8
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +16 -8
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +15 -7
- package/dist/m365/spo/commands/list/list-webhook-add.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-get.js +17 -9
- package/dist/m365/spo/commands/list/list-webhook-list.js +23 -24
- package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-set.js +18 -10
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands.js +4 -0
- package/dist/m365/teams/commands/channel/channel-add.js +9 -9
- package/dist/m365/todo/commands/task/task-add.js +55 -3
- package/dist/m365/todo/commands/task/task-set.js +53 -1
- package/docs/docs/_clisettings.md +19 -0
- package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +75 -0
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/pp/card/card-get.md +51 -0
- package/docs/docs/cmd/pp/card/card-list.md +33 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +2 -2
- package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/gateway/gateway-get.md +24 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +51 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +2 -2
- package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
- package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +2 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.md +57 -0
- package/docs/docs/cmd/spo/group/group-list.md +10 -1
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +16 -7
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +16 -7
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +15 -6
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +17 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +14 -5
- package/docs/docs/cmd/spo/list/list-webhook-add.md +15 -16
- package/docs/docs/cmd/spo/list/list-webhook-get.md +15 -6
- package/docs/docs/cmd/spo/list/list-webhook-list.md +16 -7
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
- package/docs/docs/cmd/spo/list/list-webhook-set.md +13 -11
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
- package/docs/docs/cmd/teams/channel/channel-add.md +4 -4
- package/docs/docs/cmd/todo/task/task-add.md +32 -5
- package/docs/docs/cmd/todo/task/task-set.md +29 -2
- package/package.json +7 -1
|
@@ -11,19 +11,22 @@ m365 spo list webhook remove [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the list
|
|
14
|
+
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
16
|
`-l, --listId [listId]`
|
|
17
|
-
: ID of the list
|
|
17
|
+
: ID of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list
|
|
20
|
+
: Title of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
21
|
+
|
|
22
|
+
`--listUrl [listUrl]`
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
21
24
|
|
|
22
25
|
`-i, --id <id>`
|
|
23
|
-
: ID of the webhook
|
|
26
|
+
: ID of the webhook.
|
|
24
27
|
|
|
25
28
|
`--confirm`
|
|
26
|
-
: Don't prompt for
|
|
29
|
+
: Don't prompt for confirmation.
|
|
27
30
|
|
|
28
31
|
--8<-- "docs/cmd/_global.md"
|
|
29
32
|
|
|
@@ -33,20 +36,19 @@ If the specified id doesn't refer to an existing webhook, you will get a `404 -
|
|
|
33
36
|
|
|
34
37
|
## Examples
|
|
35
38
|
|
|
36
|
-
Remove webhook with ID
|
|
39
|
+
Remove webhook with a specific ID from a list retrieved by ID in a specific site
|
|
37
40
|
|
|
38
41
|
```sh
|
|
39
42
|
m365 spo list webhook remove --webUrl https://contoso.sharepoint.com/sites/ninja --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id cc27a922-8224-4296-90a5-ebbc54da2e81
|
|
40
43
|
```
|
|
41
44
|
|
|
42
|
-
Remove webhook with ID
|
|
43
|
-
|
|
45
|
+
Remove webhook with a specific ID from a list retrieved by Title in a specific site
|
|
44
46
|
```sh
|
|
45
47
|
m365 spo list webhook remove --webUrl https://contoso.sharepoint.com/sites/ninja --listTitle Documents --id cc27a922-8224-4296-90a5-ebbc54da2e81
|
|
46
48
|
```
|
|
47
49
|
|
|
48
|
-
Remove webhook with ID
|
|
50
|
+
Remove webhook with a specific ID from a list retrieved by URL in a specific site without being asked for confirmation
|
|
49
51
|
|
|
50
52
|
```sh
|
|
51
|
-
m365 spo list webhook remove --webUrl https://contoso.sharepoint.com/sites/ninja --
|
|
53
|
+
m365 spo list webhook remove --webUrl https://contoso.sharepoint.com/sites/ninja --listUrl '/sites/ninja/Documents' --id cc27a922-8224-4296-90a5-ebbc54da2e81 --confirm
|
|
52
54
|
```
|
|
@@ -11,22 +11,25 @@ m365 spo list webhook set [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the list
|
|
14
|
+
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
16
|
`-l, --listId [listId]`
|
|
17
|
-
: ID of the list
|
|
17
|
+
: ID of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list
|
|
20
|
+
: Title of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
21
|
+
|
|
22
|
+
`--listUrl [listUrl]`
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listId`, `listTitle` or `listUrl`.
|
|
21
24
|
|
|
22
25
|
`-i, --id [id]`
|
|
23
|
-
: ID of the webhook to update
|
|
26
|
+
: ID of the webhook to update.
|
|
24
27
|
|
|
25
28
|
`-n, --notificationUrl [notificationUrl]`
|
|
26
|
-
: The new notification url
|
|
29
|
+
: The new notification url.
|
|
27
30
|
|
|
28
31
|
`-e, --expirationDateTime [expirationDateTime]`
|
|
29
|
-
: The new expiration date
|
|
32
|
+
: The new expiration date.
|
|
30
33
|
|
|
31
34
|
--8<-- "docs/cmd/_global.md"
|
|
32
35
|
|
|
@@ -36,21 +39,20 @@ If the specified `id` doesn't refer to an existing webhook, you will get a `404
|
|
|
36
39
|
|
|
37
40
|
## Examples
|
|
38
41
|
|
|
39
|
-
Update the notification url of a webhook with
|
|
42
|
+
Update the notification url of a webhook with a specific ID attached to a list with a specific ID in a specific site to a specific URL
|
|
40
43
|
|
|
41
44
|
```sh
|
|
42
45
|
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id cc27a922-8224-4296-90a5-ebbc54da2e81 --notificationUrl https://contoso-functions.azurewebsites.net/webhook
|
|
43
46
|
```
|
|
44
47
|
|
|
45
|
-
Update the expiration date of a webhook with
|
|
48
|
+
Update the expiration date of a webhook with a specific ID attached to a list with a specific title in a specific site to a specfic date
|
|
46
49
|
|
|
47
50
|
```sh
|
|
48
51
|
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --listTitle Documents --id cc27a922-8224-4296-90a5-ebbc54da2e81 --expirationDateTime 2018-10-09T18:15
|
|
49
52
|
```
|
|
50
53
|
|
|
51
|
-
|
|
52
|
-
and the expiration date to _March 2nd, 2019_
|
|
54
|
+
Update the notification url of a webhook with a specific ID attached to a list with a specific URL in a specific site to a specific URL and the expiration date to a specific date
|
|
53
55
|
|
|
54
56
|
```sh
|
|
55
|
-
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --
|
|
57
|
+
m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --listUrl '/sites/ninja/Documents' --id cc27a922-8224-4296-90a5-ebbc54da2e81 --notificationUrl https://contoso-functions.azurewebsites.net/webhook --expirationDateTime 2019-03-02
|
|
56
58
|
```
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# spo listitem roleassignment add
|
|
2
|
+
|
|
3
|
+
Adds a role assignment to a listitem.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo listitem roleassignment add [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site where the listitem is located
|
|
15
|
+
|
|
16
|
+
`--listId [listId]`
|
|
17
|
+
: ID of the list. Specify either listId, listTitle or listUrl but not multiple.
|
|
18
|
+
|
|
19
|
+
`--listTitle [listTitle]`
|
|
20
|
+
: Title of the list. Specify either listId, listTitle or listUrl but not multiple.
|
|
21
|
+
|
|
22
|
+
`--listUrl [listUrl]`
|
|
23
|
+
: Relative URL of the list. Specify either listId, listTitle or listUrl but not multiple.
|
|
24
|
+
|
|
25
|
+
`--listItemId <listItemId>`
|
|
26
|
+
: Id of the listitem to assign the role to.
|
|
27
|
+
|
|
28
|
+
`--principalId [principalId]`
|
|
29
|
+
: The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either upn, groupName or principalId.
|
|
30
|
+
|
|
31
|
+
`--upn [upn]`
|
|
32
|
+
: upn/email of user to assign role to. Specify either upn, groupName or principalId.
|
|
33
|
+
|
|
34
|
+
`--groupName [groupName]`
|
|
35
|
+
: The group name of Azure AD or SharePoint group. Specify either upn, groupName or principalId.
|
|
36
|
+
|
|
37
|
+
`--roleDefinitionId [roleDefinitionId]`
|
|
38
|
+
: ID of role definition. Specify either roleDefinitionId or roleDefinitionName but not both
|
|
39
|
+
|
|
40
|
+
`--roleDefinitionName [roleDefinitionName]`
|
|
41
|
+
: Enter the name of a role definition, like 'Contribute', 'Read', etc. Specify either roleDefinitionId or roleDefinitionName but not both
|
|
42
|
+
|
|
43
|
+
--8<-- "docs/cmd/_global.md"
|
|
44
|
+
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "0CD891EF-AFCE-4E55-B836-FCE03286CCCF" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listUrl "sites/documents" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Add role assignment to specified listitem in specified list located in specified site for specified upn and specified role definition id.
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --upn "someaccount@tenant.onmicrosoft.com" --roleDefinitionId 1073741829
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Add role assignment to specified listitem in specified list located in specified site for specified group and specified role definition id.
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --groupName "someGroup" --roleDefinitionId 1073741829
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition name.
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionName "Full Control"
|
|
81
|
+
```
|
|
@@ -23,10 +23,10 @@ m365 teams channel add [options]
|
|
|
23
23
|
: The description of the channel to add
|
|
24
24
|
|
|
25
25
|
`--type [type]`
|
|
26
|
-
: Type of channel to create: `standard
|
|
26
|
+
: Type of channel to create: `standard`, `private`, `shared`. Default `standard`.
|
|
27
27
|
|
|
28
28
|
`--owner [owner]`
|
|
29
|
-
: User with this ID or UPN will be added as owner of the
|
|
29
|
+
: User with this ID or UPN will be added as owner of the channel. This option is required when type is `private` or `shared`.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
@@ -54,8 +54,8 @@ Add private channel to the specified Microsoft Teams team with owner UPN
|
|
|
54
54
|
m365 teams channel add --teamName "Team Name" --name climicrosoft365 --type private --owner john.doe@contoso.com
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Add
|
|
57
|
+
Add shared channel to the specified Microsoft Teams team with owner ID
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
m365 teams channel add --teamId 6703ac8a-c49b-4fd4-8223-28f0ac3a6402 --name climicrosoft365 --type
|
|
60
|
+
m365 teams channel add --teamId 6703ac8a-c49b-4fd4-8223-28f0ac3a6402 --name climicrosoft365 --type shared --owner cc693a7d-4833-4911-a89a-f0fe6e49bf69
|
|
61
61
|
```
|
|
@@ -11,26 +11,53 @@ m365 todo task add [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-t, --title <title>`
|
|
14
|
-
: The title of the task
|
|
14
|
+
: The title of the task.
|
|
15
15
|
|
|
16
16
|
`--listName [listName]`
|
|
17
|
-
: The name of the list in which to create the task. Specify either `listName` or `listId` but not both
|
|
17
|
+
: The name of the list in which to create the task. Specify either `listName` or `listId` but not both.
|
|
18
18
|
|
|
19
19
|
`--listId [listId]`
|
|
20
|
-
: The id of the list in which to create the task. Specify either `listName` or `listId` but not both
|
|
20
|
+
: The id of the list in which to create the task. Specify either `listName` or `listId` but not both.
|
|
21
|
+
|
|
22
|
+
`--bodyContent [bodyContent]`
|
|
23
|
+
: The body content of the task. In the UI this is called 'notes'.
|
|
24
|
+
|
|
25
|
+
`--bodyContentType [bodyContentType]`
|
|
26
|
+
: The type of the body content. Possible values are `text` and `html`. Default is `text`.
|
|
27
|
+
|
|
28
|
+
`--dueDateTime [dueDateTime]`
|
|
29
|
+
: The date when the task is due. This should be defined as a valid ISO 8601 string in the UTC time zone. Only date value is needed, time value is always ignored.
|
|
30
|
+
|
|
31
|
+
`--importance [importance]`
|
|
32
|
+
: The importance of the task. Possible values are: `low`, `normal`, `high`. Default is `normal`.
|
|
33
|
+
|
|
34
|
+
`--reminderDateTime [reminderDateTime]`
|
|
35
|
+
: The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string in the UTC time zone.
|
|
21
36
|
|
|
22
37
|
--8<-- "docs/cmd/_global.md"
|
|
23
38
|
|
|
24
39
|
## Examples
|
|
25
40
|
|
|
26
|
-
Add a task
|
|
41
|
+
Add a task to Microsoft To Do tasks list with with a specific name
|
|
27
42
|
|
|
28
43
|
```sh
|
|
29
44
|
m365 todo task add --title "New task" --listName "My task list"
|
|
30
45
|
```
|
|
31
46
|
|
|
32
|
-
Add a task
|
|
47
|
+
Add a task to a Microsoft To Do tasks list with a specific id
|
|
33
48
|
|
|
34
49
|
```sh
|
|
35
50
|
m365 todo task add --title "New task" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA=="
|
|
36
51
|
```
|
|
52
|
+
|
|
53
|
+
Create a new task with bodyContent and reminder and flag it as important
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 todo task add --title "New task" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00Z --importance high
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Create a new task with a specific due date
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 todo task add --title "New task" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
|
|
63
|
+
```
|
|
@@ -25,18 +25,45 @@ m365 todo task set [options]
|
|
|
25
25
|
`--listId [listId]`
|
|
26
26
|
: The id of the task list in which the task exists. Specify either `listName` or `listId`, not both
|
|
27
27
|
|
|
28
|
+
`--bodyContent [bodyContent]`
|
|
29
|
+
: The body content of the task. In the UI this is called 'notes'.
|
|
30
|
+
|
|
31
|
+
`--bodyContentType [bodyContentType]`
|
|
32
|
+
: The type of the body content. Possible values are `text` and `html`. Default is `text`.
|
|
33
|
+
|
|
34
|
+
`--importance [importance]`
|
|
35
|
+
: The importance of the task. Possible values are: `low`, `normal`, `high`.
|
|
36
|
+
|
|
37
|
+
`--dueDateTime [dueDateTime]`
|
|
38
|
+
: The date and time when the task is due. This should be defined as a valid ISO 8601 string in the UTC time zone. Only date value is needed, time value is always ignored.
|
|
39
|
+
|
|
40
|
+
`--reminderDateTime [reminderDateTime]`
|
|
41
|
+
: The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string in the UTC time zone.
|
|
42
|
+
|
|
28
43
|
--8<-- "docs/cmd/_global.md"
|
|
29
44
|
|
|
30
45
|
## Examples
|
|
31
46
|
|
|
32
|
-
Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with
|
|
47
|
+
Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with a specific name
|
|
33
48
|
|
|
34
49
|
```sh
|
|
35
50
|
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --title "Update doco" --listName "My task list"
|
|
36
51
|
```
|
|
37
52
|
|
|
38
|
-
Update a task with status from _notStarted_ to _inProgress_ in Microsoft To Do tasks list with
|
|
53
|
+
Update a task with status from _notStarted_ to _inProgress_ in Microsoft To Do tasks list with a specific name
|
|
39
54
|
|
|
40
55
|
```sh
|
|
41
56
|
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --status "inProgress" --listName "My task list"
|
|
42
57
|
```
|
|
58
|
+
|
|
59
|
+
Update a task with bodyContent and reminder and flag it as important in Microsoft To Do tasks list with a specific name
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00Z --importance high
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Update a task with due date in Microsoft To Do tasks list with list id
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
|
|
69
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "5.9.0-beta.
|
|
3
|
+
"version": "5.9.0-beta.77d7f6b",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -116,11 +116,14 @@
|
|
|
116
116
|
"Calabro, David <davej.calabro@gmail.com>",
|
|
117
117
|
"Choudhary, Karnail Singh <pradhankarnail@gmail.com>",
|
|
118
118
|
"Connell, Andrew <me@andrewconnell.com>",
|
|
119
|
+
"Conor O'Callaghan <brioscaibriste@gmail.com>",
|
|
120
|
+
"De Cleyre, Nico <nico.de.cleyre@gmail.com>",
|
|
119
121
|
"Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
|
|
120
122
|
"Dyjas, Robert <15113729+robdy@users.noreply.github.com>",
|
|
121
123
|
"Faleel, Mohamed Ashiq <ashiqf@gmail.com>",
|
|
122
124
|
"Ford, Lee <fordyman@gmail.com>",
|
|
123
125
|
"Freese, Luise <49960482+LuiseFreese@users.noreply.github.com>",
|
|
126
|
+
"Gaston Flores <gaston.flrs@gmail.com>",
|
|
124
127
|
"Georgiev, Velin <velin.georgiev@gmail.com>",
|
|
125
128
|
"Ghuge, Pramod <pramod7@gmail.com>",
|
|
126
129
|
"Gölles, Thomas <thomy@outlook.at>",
|
|
@@ -128,6 +131,7 @@
|
|
|
128
131
|
"Harding, Phil <pil.harding@platinumdogs.co.uk>",
|
|
129
132
|
"Hawrylak, Paweł <phawrylak@outlook.com>",
|
|
130
133
|
"Holemans, Milan <Milan.Holemans@vanroey.be>",
|
|
134
|
+
"Hüseyin Saatçi <huseyins@comodo.net>",
|
|
131
135
|
"Honen, Nicholas <nickhonen@gmail.com>",
|
|
132
136
|
"Högberg, Joakim <joakim.hogberg@bravero.se>",
|
|
133
137
|
"Hvam, Allan <ahp@delegate.dk>",
|
|
@@ -155,6 +159,7 @@
|
|
|
155
159
|
"Mücklisch, Steve <steve.muecklisch@gmail.com>",
|
|
156
160
|
"Nachan, Nanddeep <nanddeepnachan@gmail.com>",
|
|
157
161
|
"Nachan, Smita <smita.nachan@gmail.com>",
|
|
162
|
+
"Nadir, Daniaal <daniaal1030@gmail.com>",
|
|
158
163
|
"Nikolić, Aleksandar <alexandair@live.com>",
|
|
159
164
|
"Otto <berot3@gmail.com>",
|
|
160
165
|
"Pandey, Vividh <vividh.pandey.13@gmail.com>",
|
|
@@ -165,6 +170,7 @@
|
|
|
165
170
|
"Priem, Mark <mark.priem@outlook.com>",
|
|
166
171
|
"Raju, Arnie <arnie.raju@thesolutioncollective.com.au>",
|
|
167
172
|
"Ramalho, David <dramalho@storm.ie>",
|
|
173
|
+
"Rathi, Tanmay <tanmay_rathi@intuit.com>",
|
|
168
174
|
"Reekmans, Yannick <reekmans.yannick@gmail.com>",
|
|
169
175
|
"Romano, Rodrigo <rodrigo@rodrigoromano.net>",
|
|
170
176
|
"Romão, Douglas <douglas.romao@trentim.com>",
|