@pnp/cli-microsoft365 5.4.0-beta.d1a3a17 → 5.4.0-beta.fb9344d
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/.devcontainer/Dockerfile +1 -1
- package/.eslintrc.js +1 -0
- package/dist/m365/aad/commands/app/app-set.js +4 -1
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +4 -19
- package/dist/m365/aad/commands/o365group/o365group-get.js +3 -9
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +129 -0
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/base/PlannerCommand.js +10 -0
- package/dist/m365/flow/commands/flow-export.js +3 -3
- package/dist/m365/planner/commands/bucket/bucket-add.js +4 -16
- package/dist/m365/planner/commands/bucket/bucket-get.js +5 -19
- package/dist/m365/planner/commands/bucket/bucket-list.js +4 -17
- package/dist/m365/planner/commands/bucket/bucket-remove.js +6 -20
- package/dist/m365/planner/commands/bucket/bucket-set.js +5 -19
- package/dist/m365/planner/commands/plan/plan-add.js +4 -16
- package/dist/m365/planner/commands/plan/plan-details-get.js +4 -19
- package/dist/m365/planner/commands/plan/plan-get.js +4 -17
- package/dist/m365/planner/commands/plan/plan-list.js +4 -17
- package/dist/m365/planner/commands/task/task-add.js +60 -23
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +89 -0
- package/dist/m365/planner/commands/task/{task-details-get.js → task-checklistitem-list.js} +21 -13
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +85 -0
- package/dist/m365/planner/commands/task/task-get.js +40 -29
- package/dist/m365/planner/commands/task/task-list.js +4 -16
- package/dist/m365/planner/commands/task/task-reference-remove.js +125 -0
- package/dist/m365/planner/commands/task/task-remove.js +201 -0
- package/dist/m365/planner/commands/task/task-set.js +21 -17
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +33 -0
- package/dist/m365/planner/commands.js +8 -2
- package/dist/m365/planner/taskPriority.js +27 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002009_DEVDEP_microsoft_sp_tslint_rules.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002018_DEVDEP_microsoft_rush_stack_compiler_3_9.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5.js +17 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002024_DEVDEP_eslint.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002025_DEVDEP_eslint_plugin_react_hooks.js +18 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.15.0-beta.6.js → upgrade-1.15.0-rc.0.js} +49 -25
- package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +1 -1
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +3 -3
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +102 -0
- package/dist/m365/spo/commands/field/field-add.js +1 -1
- package/dist/m365/spo/commands/field/field-get.js +5 -5
- package/dist/m365/spo/commands/field/field-list.js +3 -3
- package/dist/m365/spo/commands/field/field-remove.js +5 -5
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +1 -1
- package/dist/m365/spo/commands/list/ListPrincipalType.js +13 -0
- package/dist/m365/spo/commands/list/list-contenttype-add.js +3 -3
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +2 -2
- package/dist/m365/spo/commands/list/list-contenttype-list.js +3 -3
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +3 -3
- package/dist/m365/spo/commands/list/list-get.js +8 -2
- package/dist/m365/spo/commands/list/list-label-get.js +3 -3
- package/dist/m365/spo/commands/list/list-label-set.js +2 -2
- package/dist/m365/spo/commands/list/list-list.js +10 -1
- package/dist/m365/spo/commands/list/list-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +2 -2
- package/dist/m365/spo/commands/list/list-sitescript-get.js +3 -3
- package/dist/m365/spo/commands/list/list-view-add.js +3 -3
- package/dist/m365/spo/commands/list/list-view-field-add.js +2 -2
- package/dist/m365/spo/commands/list/list-view-field-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-view-field-set.js +2 -2
- package/dist/m365/spo/commands/list/list-view-get.js +4 -4
- package/dist/m365/spo/commands/list/list-view-list.js +3 -3
- package/dist/m365/spo/commands/list/list-view-remove.js +3 -3
- package/dist/m365/spo/commands/list/list-view-set.js +3 -3
- package/dist/m365/spo/commands/list/list-webhook-add.js +3 -3
- package/dist/m365/spo/commands/list/list-webhook-get.js +3 -3
- package/dist/m365/spo/commands/list/list-webhook-list.js +5 -5
- package/dist/m365/spo/commands/list/list-webhook-remove.js +4 -4
- package/dist/m365/spo/commands/list/list-webhook-set.js +3 -3
- package/dist/m365/spo/commands/listitem/listitem-add.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-get.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-list.js +31 -11
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-remove.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-set.js +2 -2
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +82 -0
- package/dist/m365/spo/commands/site/site-remove.js +23 -37
- package/dist/m365/spo/commands.js +2 -0
- package/dist/m365/teams/commands/app/app-list.js +6 -20
- package/dist/m365/teams/commands/channel/channel-get.js +6 -19
- package/dist/m365/teams/commands/channel/channel-list.js +6 -18
- package/dist/m365/teams/commands/channel/channel-member-add.js +7 -18
- package/dist/m365/teams/commands/channel/channel-member-list.js +6 -19
- package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -19
- package/dist/m365/teams/commands/channel/channel-member-set.js +6 -19
- package/dist/m365/teams/commands/tab/tab-get.js +6 -19
- package/dist/m365/teams/commands/team/team-add.js +2 -7
- package/dist/m365/teams/commands/team/team-get.js +6 -19
- package/dist/utils/aadGroup.js +57 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/validation.js +12 -2
- package/docs/docs/cmd/aad/app/app-set.md +1 -1
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/file/file-list.md +4 -4
- package/docs/docs/cmd/planner/bucket/bucket-get.md +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +2 -2
- package/docs/docs/cmd/planner/bucket/bucket-set.md +5 -5
- package/docs/docs/cmd/planner/plan/plan-details-get.md +2 -2
- package/docs/docs/cmd/planner/plan/plan-get.md +4 -4
- package/docs/docs/cmd/planner/task/task-add.md +40 -4
- package/docs/docs/cmd/planner/task/task-checklistitem-add.md +36 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-list.md +24 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +36 -0
- package/docs/docs/cmd/planner/task/task-get.md +3 -0
- package/docs/docs/cmd/planner/task/task-list.md +2 -2
- package/docs/docs/cmd/planner/task/task-reference-remove.md +39 -0
- package/docs/docs/cmd/planner/task/task-remove.md +78 -0
- package/docs/docs/cmd/planner/task/task-set.md +13 -3
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +28 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.md +64 -0
- package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +1 -4
- package/docs/docs/cmd/spo/list/list-list.md +3 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +16 -10
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +2 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +36 -0
- package/npm-shrinkwrap.json +255 -1102
- package/package.json +24 -20
- package/docs/docs/cmd/planner/task/task-details-get.md +0 -24
|
@@ -39,9 +39,6 @@ m365 planner task add [options]
|
|
|
39
39
|
|
|
40
40
|
`--percentComplete [percentComplete]`
|
|
41
41
|
: Percentage of task completion. Number between 0 and 100.
|
|
42
|
-
- When set to 0, the task is considered _Not started_.
|
|
43
|
-
- When set between 1 and 99, the task is considered _In progress_.
|
|
44
|
-
- When set to 100, the task is considered _Completed_.
|
|
45
42
|
|
|
46
43
|
`--assignedToUserIds [assignedToUserIds]`
|
|
47
44
|
: The comma-separated IDs of the assignees the task is assigned to. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
|
|
@@ -49,14 +46,41 @@ m365 planner task add [options]
|
|
|
49
46
|
`--assignedToUserNames [assignedToUserNames]`
|
|
50
47
|
: The comma-separated UPNs of the assignees the task is assigned to. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
|
|
51
48
|
|
|
49
|
+
`--assigneePriority [assigneePriority]`
|
|
50
|
+
: Hint used to order items of this type in a list view. The format is defined as outlined [here](https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0).
|
|
51
|
+
|
|
52
52
|
`--description [description]`
|
|
53
53
|
: Description of the task
|
|
54
54
|
|
|
55
|
+
`--appliedCategories [appliedCategories]`
|
|
56
|
+
: Comma-separated categories that should be added to the task. The possible options are: `category1`, `category2`, `category3`, `category4`, `category5` and/or `category6`. Additional info defined [here](https://docs.microsoft.com/graph/api/resources/plannerappliedcategories?view=graph-rest-1.0).
|
|
57
|
+
|
|
58
|
+
`--previewType [previewType]`
|
|
59
|
+
: This sets the type of preview that shows up on the task. The possible values are: `automatic`, `noPreview`, `checklist`, `description`, `reference`. When set to automatic the displayed preview is chosen by the app viewing the task. Default `automatic`.
|
|
60
|
+
|
|
55
61
|
`--orderHint [orderHint]`
|
|
56
|
-
: Hint used to order items of this type in a list view. The format is defined as outlined [here](https://docs.microsoft.com/
|
|
62
|
+
: Hint used to order items of this type in a list view. The format is defined as outlined [here](https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0).
|
|
63
|
+
|
|
64
|
+
`--priority [priority]`
|
|
65
|
+
: Priority of the task: Urgent, Important, Medium, Low. Or an integer between 0 and 10 (check remarks section for more info). Default value is Medium.
|
|
57
66
|
|
|
58
67
|
--8<-- "docs/cmd/_global.md"
|
|
59
68
|
|
|
69
|
+
## Remarks
|
|
70
|
+
|
|
71
|
+
When you specify the value for `percentComplete`, consider the following:
|
|
72
|
+
|
|
73
|
+
- when set to 0, the task is considered _Not started_
|
|
74
|
+
- when set between 1 and 99, the task is considered _In progress_
|
|
75
|
+
- when set to 100, the task is considered _Completed_
|
|
76
|
+
|
|
77
|
+
When you specify an integer value for `priority`, consider the following:
|
|
78
|
+
|
|
79
|
+
- values 0 and 1 are interpreted as _Urgent_
|
|
80
|
+
- values 2, 3 and 4 are interpreted as _Important_
|
|
81
|
+
- values 5, 6 and 7 are interpreted as _Medium_
|
|
82
|
+
- values 8, 9 and 10 are interpreted as _Low_
|
|
83
|
+
|
|
60
84
|
## Examples
|
|
61
85
|
|
|
62
86
|
Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkSbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_
|
|
@@ -76,3 +100,15 @@ Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the
|
|
|
76
100
|
```sh
|
|
77
101
|
m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --dueDateTime "2021-12-16"
|
|
78
102
|
```
|
|
103
|
+
|
|
104
|
+
Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_. The new task will be assigned to the users _Allan.Carroll@contoso.com_ and _Ida.Stevens@contoso.com_ who will appear first with the asssignee priority _' !'_
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --asssigneePriority ' !'
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_. The new task will receive the categories _category1,category3_ and get a preview with the type _noPreview_
|
|
111
|
+
|
|
112
|
+
```sh
|
|
113
|
+
m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --appliedCategories "category1,category3" --previewType "noPreview"
|
|
114
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# planner task checklistitem add
|
|
2
|
+
|
|
3
|
+
Adds a new checklist item to a Planner task
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 planner task checklistitem add [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --taskId <taskId>`
|
|
14
|
+
: ID of the task.
|
|
15
|
+
|
|
16
|
+
`-t, --title <title>`
|
|
17
|
+
: Title of the checklist item.
|
|
18
|
+
|
|
19
|
+
`--isChecked`
|
|
20
|
+
: Mark the checklist item as checked.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Adds an unchecked checklist item with title _My checklist item_ to a Microsoft Planner task with ID _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 planner task checklistitem add --taskId 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2 --title "My checklist item"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Adds a checked checklist item with title _My checklist item_ to a Microsoft Planner task with ID _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 planner task checklistitem add --taskId 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2 --title "My checklist item" --isChecked
|
|
36
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# planner task checklistitem list
|
|
2
|
+
|
|
3
|
+
Lists the checklist items of a Planner task.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 planner task checklistitem list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --taskId <taskId>`
|
|
14
|
+
: ID of the task
|
|
15
|
+
|
|
16
|
+
--8<-- "docs/cmd/_global.md"
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
Lists the checklist items of a Planner task.
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
m365 planner task checklistitem list --taskId 'vzCcZoOv-U27PwydxHB8opcADJo-'
|
|
24
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# planner task checklistitem remove
|
|
2
|
+
|
|
3
|
+
Removes the checklist item from the Planner task.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 planner task checklistitem remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id <id>`
|
|
14
|
+
: ID of the checklist item.
|
|
15
|
+
|
|
16
|
+
`--taskId <taskId>`
|
|
17
|
+
: ID of the task.
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirmation
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Removes a checklist item with the id _40012_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 planner task checklistitem remove --id "40012" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Removes a checklist item with the id _40012_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_ without prompt
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 planner task checklistitem remove --id "40012" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --confirm
|
|
36
|
+
```
|
|
@@ -16,6 +16,9 @@ m365 planner task get [options]
|
|
|
16
16
|
`-t, --title [title]`
|
|
17
17
|
: Title of the task. Specify either `id` or `title` but not both.
|
|
18
18
|
|
|
19
|
+
`--taskId [taskId]`
|
|
20
|
+
: (deprecated. Use `id` instead) ID of the task.
|
|
21
|
+
|
|
19
22
|
`--bucketId [bucketId]`
|
|
20
23
|
: Bucket ID to which the task belongs. Specify `bucketId` or `bucketName` when using `title`.
|
|
21
24
|
|
|
@@ -17,10 +17,10 @@ m365 planner task list [options]
|
|
|
17
17
|
: Name of the bucket to list the tasks of. To retrieve tasks from a bucket, specify `bucketId` or `bucketName`, but not both.
|
|
18
18
|
|
|
19
19
|
`--planId [planId]`
|
|
20
|
-
: ID of
|
|
20
|
+
: ID of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planName` but not both. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
21
21
|
|
|
22
22
|
`--planName [planName]`
|
|
23
|
-
: Name of
|
|
23
|
+
: Name of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planName` but not both. Always use in combination with either `ownerGroupId` or `ownerGroupName`. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
24
24
|
|
|
25
25
|
`--ownerGroupId [ownerGroupId]`
|
|
26
26
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planName`.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# planner task reference remove
|
|
2
|
+
|
|
3
|
+
Removes the reference from the Planner task.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 planner task reference remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --url [url]`
|
|
14
|
+
: URL location of the reference. Specify either `alias` or `url` but not both.
|
|
15
|
+
|
|
16
|
+
`--alias [alias]`
|
|
17
|
+
: The alias of the reference. Specify either `alias` or `url` but not both.
|
|
18
|
+
|
|
19
|
+
`-i, --taskId <taskId>`
|
|
20
|
+
: ID of the task.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes a reference with the url _https://www.microsoft.com_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 planner task reference remove --url "https://www.microsoft.com" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes a reference with the alias _Parker_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 planner task reference remove --alias "Parker" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
|
|
39
|
+
```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# planner task remove
|
|
2
|
+
|
|
3
|
+
Removes the Microsoft Planner task from a plan
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 planner task remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--id [id]`
|
|
14
|
+
: ID of the task to remove. Specify either `id` or `title` but not both.
|
|
15
|
+
|
|
16
|
+
`--title [title]`
|
|
17
|
+
: Title of the task to remove. Specify either `id` or `title` but not both.
|
|
18
|
+
|
|
19
|
+
`--bucketId [bucketId]`
|
|
20
|
+
: ID of the bucket to which the task to remove belongs. Specify either `bucketId` or `bucketName` but not both.
|
|
21
|
+
|
|
22
|
+
`--bucketName [bucketName]`
|
|
23
|
+
: Name of the bucket to which the task to remove belongs. Specify either `bucketId` or `bucketName` but not both.
|
|
24
|
+
|
|
25
|
+
`--planId [planId]`
|
|
26
|
+
: ID of the plan to which the task to remove belongs. Specify either `planId` or `planTitle` when using `title`.
|
|
27
|
+
|
|
28
|
+
`--planTitle [planTitle]`
|
|
29
|
+
: Title of the plan to which the task to remove belongs. Specify either `planId` or `planTitle` when using `title`.
|
|
30
|
+
|
|
31
|
+
`--ownerGroupId [ownerGroupId]`
|
|
32
|
+
: ID of the group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
33
|
+
|
|
34
|
+
`--ownerGroupName [ownerGroupName]`
|
|
35
|
+
: Name of the group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
36
|
+
|
|
37
|
+
`--confirm`
|
|
38
|
+
: Don't prompt for confirmation
|
|
39
|
+
|
|
40
|
+
--8<-- "docs/cmd/_global.md"
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
Removes the Microsoft Planner task by ID
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 planner task remove --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Removes the Microsoft Planner task by ID without confirmation
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 planner task remove --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --confirm
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Removes the Microsoft Planner task with title _My Task_ in the bucket with ID _vncYUXCRBke28qMLB-d4xJcACtNz_
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
m365 planner task remove --title "My Task" --bucketId "vncYUXCRBke28qMLB-d4xJcACtNz"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Removes the Microsoft Planner task with title _My Task_ in the bucket with name _My Bucket_ in the Plan with ID _oUHpnKBFekqfGE_PS6GGUZcAFY7b_
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 planner task remove --title "My Task" --bucketName "My Bucket" --planId "oUHpnKBFekqfGE_PS6GGUZcAFY7b"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Removes the Microsoft Planner task with title _My Task_ in the bucket with name _My Bucket_ in the Plan _My Plan_ owned by group _My Group_
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Removes the Microsoft Planner task with title _My Task_ in the bucket with name _My Bucket_ in the Plan _My Plan_ owned by group with ID _00000000-0000-0000-0000-000000000000_
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupId "00000000-0000-0000-0000-000000000000"
|
|
78
|
+
```
|
|
@@ -17,10 +17,10 @@ m365 planner task set [options]
|
|
|
17
17
|
: New title of the task.
|
|
18
18
|
|
|
19
19
|
`--bucketId [bucketId]`
|
|
20
|
-
: ID of the bucket to move the task to. Specify either `bucketId` or `bucketName`
|
|
20
|
+
: ID of the bucket to move the task to. Specify either `bucketId` or `bucketName` when using `title`.
|
|
21
21
|
|
|
22
22
|
`--bucketName [bucketName]`
|
|
23
|
-
: Name of the bucket to move the task to. The bucket needs to exist in the selected plan. Specify either `bucketId` or `bucketName`
|
|
23
|
+
: Name of the bucket to move the task to. The bucket needs to exist in the selected plan. Specify either `bucketId` or `bucketName` when using `title`.
|
|
24
24
|
|
|
25
25
|
`--planId [planId]`
|
|
26
26
|
: ID of the plan to which the bucket belongs to. Specify either `planId` or `planName` when using `bucketName`.
|
|
@@ -61,16 +61,26 @@ m365 planner task set [options]
|
|
|
61
61
|
`--appliedCategories [appliedCategories]`
|
|
62
62
|
: Comma-separated categories that should be added to the task
|
|
63
63
|
|
|
64
|
+
`--priority [priority]`
|
|
65
|
+
: Priority of the task: Urgent, Important, Medium, Low. Or an integer between 0 and 10 (check remarks section for more info).
|
|
66
|
+
|
|
64
67
|
--8<-- "docs/cmd/_global.md"
|
|
65
68
|
|
|
66
69
|
## Remarks
|
|
67
70
|
|
|
68
|
-
When you specify the value for `
|
|
71
|
+
When you specify the value for `percentComplete`, consider the following:
|
|
69
72
|
|
|
70
73
|
- when set to 0, the task is considered _Not started_
|
|
71
74
|
- when set between 1 and 99, the task is considered _In progress_
|
|
72
75
|
- when set to 100, the task is considered _Completed_
|
|
73
76
|
|
|
77
|
+
When you specify an integer value for `priority`, consider the following:
|
|
78
|
+
|
|
79
|
+
- values 0 and 1 are interpreted as _Urgent_
|
|
80
|
+
- values 2, 3 and 4 are interpreted as _Important_
|
|
81
|
+
- values 5, 6 and 7 are interpreted as _Medium_
|
|
82
|
+
- values 8, 9 and 10 are interpreted as _Low_
|
|
83
|
+
|
|
74
84
|
You can add up to 6 categories to the task. An example to add _category1_ and _category3_ would be `category1,category3`.
|
|
75
85
|
|
|
76
86
|
## Examples
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# planner tenant settings list
|
|
2
|
+
|
|
3
|
+
Lists the Microsoft Planner configuration of the tenant
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 planner tenant settings list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
--8<-- "docs/cmd/_global.md"
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
!!! important
|
|
18
|
+
To use this command you must be a global administrator.
|
|
19
|
+
|
|
20
|
+
After executing the command `planner tenant settings set`, it can take some time for all changes to propagate across the tenant. Because of this, executing this command right away can return some unexpected results.
|
|
21
|
+
|
|
22
|
+
## Examples
|
|
23
|
+
|
|
24
|
+
Lists the Microsoft Planner settings of the tenant
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
m365 planner tenant settings list
|
|
28
|
+
```
|
|
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
|
|
|
32
32
|
|
|
33
33
|
## Remarks
|
|
34
34
|
|
|
35
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.14.0). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.15.0-
|
|
35
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.14.0). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.15.0-rc.0.
|
|
36
36
|
|
|
37
37
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
38
38
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# spo eventreceiver list
|
|
2
|
+
|
|
3
|
+
Retrieves event receivers for the specified web, site or list.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo eventreceiver list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: The URL of the web for which to retrieve the event receivers.
|
|
15
|
+
|
|
16
|
+
`--listTitle [listTitle]`
|
|
17
|
+
: The title of the list for which to retrieve the event receivers, _if the event receivers should be retrieved from a list_.
|
|
18
|
+
Specify either `listTitle`, `listId` or `listUrl`.
|
|
19
|
+
|
|
20
|
+
`--listId [listId]`
|
|
21
|
+
: The id of the list for which to retrieve the event receivers, _if the event receivers should be retrieved from a list_.
|
|
22
|
+
Specify either `listTitle`, `listId` or `listUrl`.
|
|
23
|
+
|
|
24
|
+
`--listUrl [listUrl]`
|
|
25
|
+
: The url of the list for which to retrieve the event receivers, _if the event receivers should be retrieved from a list_.
|
|
26
|
+
Specify either `listTitle`, `listId` or `listUrl`.
|
|
27
|
+
|
|
28
|
+
`-s, --scope [scope]`
|
|
29
|
+
: The scope of which to retrieve the Event Receivers.
|
|
30
|
+
Can be either "site" or "web". Defaults to "web". Only applicable when not specifying any of the list properties.
|
|
31
|
+
|
|
32
|
+
--8<-- "docs/cmd/_global.md"
|
|
33
|
+
|
|
34
|
+
## Examples
|
|
35
|
+
|
|
36
|
+
Retrieves event receivers in web _<https://contoso.sharepoint.com/sites/contoso-sales>_.
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 spo eventreceiver list --webUrl https://contoso.sharepoint.com/sites/contoso-sales
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Retrieves event receivers in site _<https://contoso.sharepoint.com/sites/contoso-sales>_.
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 spo eventreceiver list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --scope site
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Retrieves event receivers for list with title _Events_ in web _<https://contoso.sharepoint.com/sites/contoso-sales>_.
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 spo eventreceiver list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listTitle Events
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Retrieves event receivers for list with ID _202b8199-b9de-43fd-9737-7f213f51c991_ in web _<https://contoso.sharepoint.com/sites/contoso-sales>_.
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 spo eventreceiver list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listId '202b8199-b9de-43fd-9737-7f213f51c991'
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Retrieves event receivers for list with url _/sites/contoso-sales/lists/Events_ in web _<https://contoso.sharepoint.com/sites/contoso-sales>_.
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 spo eventreceiver list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listUrl '/sites/contoso-sales/lists/Events'
|
|
64
|
+
```
|
|
@@ -32,5 +32,5 @@ m365 spo file checkout --webUrl https://contoso.sharepoint.com/sites/project-x -
|
|
|
32
32
|
Checks out file with server-relative url _/sites/project-x/documents/Test1.docx_ located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 spo file checkout --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
35
|
+
m365 spo file checkout --webUrl https://contoso.sharepoint.com/sites/project-x --fileUrl '/sites/project-x/documents/Test1.docx'
|
|
36
36
|
```
|
|
@@ -17,10 +17,7 @@ m365 spo hubsite list [options]
|
|
|
17
17
|
|
|
18
18
|
## Remarks
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
This command is based on a SharePoint API that is currently in preview and is subject to change once the API reached general availability.
|
|
22
|
-
|
|
23
|
-
When using the text output type (default), the command lists only the values of the `ID`, `SiteUrl` and `Title` properties of the hub site. When setting the output type to JSON, all available properties are included in the command output.
|
|
20
|
+
When using the text or csv output type, the command lists only the values of the `ID`, `SiteUrl` and `Title` properties of the hub site. With the output type as JSON, all available properties are included in the command output.
|
|
24
21
|
|
|
25
22
|
## Examples
|
|
26
23
|
|
|
@@ -13,6 +13,9 @@ m365 spo list list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the lists to retrieve are located
|
|
15
15
|
|
|
16
|
+
`--executeWithLimitedPermissions`
|
|
17
|
+
: Use this option to execute this command with site member or visitor permissions. Not specifying this option will require site owner (or admin) permissions.
|
|
18
|
+
|
|
16
19
|
--8<-- "docs/cmd/_global.md"
|
|
17
20
|
|
|
18
21
|
## Examples
|
|
@@ -13,11 +13,17 @@ m365 spo listitem list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site from which the item should be retrieved
|
|
15
15
|
|
|
16
|
-
`-i, --
|
|
17
|
-
: ID of the list to retrieve items from. Specify `
|
|
16
|
+
`-i, --listId [listId]`
|
|
17
|
+
: ID of the list to retrieve items from. Specify `listId` or `listTitle` but not both
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
:
|
|
19
|
+
`--id [id]`
|
|
20
|
+
: (deprecated. Use `listId` instead) ID of the list to retrieve items from. Specify `id` or `title` but not both
|
|
21
|
+
|
|
22
|
+
`-t, --listTitle [listTitle]`
|
|
23
|
+
: Title of the list to retrieve items from. Specify `listId` or `listTitle` but not both
|
|
24
|
+
|
|
25
|
+
`--title [title]`
|
|
26
|
+
: (deprecated. Use `listTitle` instead) Title of the list to retrieve items from. Specify `id` or `title` but not both
|
|
21
27
|
|
|
22
28
|
`-q, --camlQuery [camlQuery]`
|
|
23
29
|
: CAML query to use to query the list of items with
|
|
@@ -45,35 +51,35 @@ m365 spo listitem list [options]
|
|
|
45
51
|
Get all items from a list named Demo List
|
|
46
52
|
|
|
47
53
|
```sh
|
|
48
|
-
m365 spo listitem list --
|
|
54
|
+
m365 spo listitem list --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
49
55
|
```
|
|
50
56
|
|
|
51
57
|
From a list named _Demo List_ get all items with title _Demo list item_ using a CAML query
|
|
52
58
|
|
|
53
59
|
```sh
|
|
54
|
-
m365 spo listitem list --
|
|
60
|
+
m365 spo listitem list --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --camlQuery "<View><Query><Where><Eq><FieldRef Name='Title' /><Value Type='Text'>Demo list item</Value></Eq></Where></Query></View>"
|
|
55
61
|
```
|
|
56
62
|
|
|
57
63
|
Get all items from a list with ID _935c13a0-cc53-4103-8b48-c1d0828eaa7f_
|
|
58
64
|
|
|
59
65
|
```sh
|
|
60
|
-
m365 spo listitem list --
|
|
66
|
+
m365 spo listitem list --listId 935c13a0-cc53-4103-8b48-c1d0828eaa7f --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
61
67
|
```
|
|
62
68
|
|
|
63
69
|
Get all items from list named _Demo List_. For each item, retrieve the value of the _ID_, _Title_ and _Modified_ fields
|
|
64
70
|
|
|
65
71
|
```sh
|
|
66
|
-
m365 spo listitem list --
|
|
72
|
+
m365 spo listitem list --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --fields "ID,Title,Modified"
|
|
67
73
|
```
|
|
68
74
|
|
|
69
75
|
From a list named _Demo List_ get all items with title _Demo list item_ using an OData filter
|
|
70
76
|
|
|
71
77
|
```sh
|
|
72
|
-
m365 spo listitem list --
|
|
78
|
+
m365 spo listitem list --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --filter "Title eq 'Demo list item'"
|
|
73
79
|
```
|
|
74
80
|
|
|
75
81
|
From a list named _Demo List_ get the second batch of 10 items
|
|
76
82
|
|
|
77
83
|
```sh
|
|
78
|
-
m365 spo listitem list --
|
|
84
|
+
m365 spo listitem list --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --pageSize 10 --pageNumber 2
|
|
79
85
|
```
|
|
@@ -20,7 +20,7 @@ m365 spo listitem roleinheritance break [options]
|
|
|
20
20
|
: ID of the list. Specify listId or listTitle but not both
|
|
21
21
|
|
|
22
22
|
`-t, --listTitle [listTitle]`
|
|
23
|
-
Title of the list. Specify listId or listTitle but not both
|
|
23
|
+
: Title of the list. Specify listId or listTitle but not both
|
|
24
24
|
|
|
25
25
|
`-c, --clearExistingPermissions`
|
|
26
26
|
: Set to clear existing roles from the list item
|
|
@@ -55,4 +55,4 @@ Break inheritance of list item _1_ in list with ID _202b8199-b9de-43fd-9737-7f21
|
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
57
|
m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listId 202b8199-b9de-43fd-9737-7f213f51c991 --id 1 --clearExistingPermissions
|
|
58
|
-
```
|
|
58
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# spo roledefinition remove
|
|
2
|
+
|
|
3
|
+
Removes the role definition from the specified site
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo roledefinition remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site from which role should be removed
|
|
15
|
+
|
|
16
|
+
`-i, --id <id>`
|
|
17
|
+
: ID of the role definition to remove
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirming removing the role definition
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Remove the role definition from site _https://contoso.sharepoint.com/sites/project-x_ with id _1_
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 spo roledefinition remove --webUrl https://contoso.sharepoint.com/sites/project-x --id 1
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Remove the role definition from site _https://contoso.sharepoint.com/sites/project-x_ with id _1_ and don't prompt for confirmation
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo roledefinition remove --webUrl https://contoso.sharepoint.com/sites/project-x --id 1 --confirm
|
|
36
|
+
```
|