@pnp/cli-microsoft365 6.0.0-beta.c32757e → 6.0.0-beta.f73c4f8
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/dist/m365/planner/commands/bucket/bucket-add.js +17 -9
- package/dist/m365/planner/commands/bucket/bucket-get.js +19 -11
- package/dist/m365/planner/commands/bucket/bucket-list.js +17 -9
- package/dist/m365/planner/commands/bucket/bucket-remove.js +19 -11
- package/dist/m365/planner/commands/bucket/bucket-set.js +19 -11
- package/dist/m365/planner/commands/plan/plan-get.js +1 -1
- package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
- package/dist/m365/planner/commands/task/task-add.js +15 -9
- package/dist/m365/planner/commands/task/task-get.js +14 -9
- package/dist/m365/planner/commands/task/task-list.js +19 -11
- package/dist/m365/planner/commands/task/task-remove.js +4 -19
- package/dist/m365/planner/commands/task/task-set.js +15 -9
- package/dist/m365/search/commands/externalconnection/externalconnection-get.js +69 -0
- package/dist/m365/search/commands.js +1 -0
- package/dist/m365/spo/base-permissions.js +9 -0
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +62 -12
- package/dist/m365/spo/commands/roledefinition/RoleDefinition.js +3 -0
- package/dist/m365/spo/commands/roledefinition/RoleType.js +16 -0
- package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +59 -0
- package/dist/m365/spo/commands.js +1 -0
- package/dist/utils/planner.js +6 -6
- package/docs/docs/cmd/planner/bucket/bucket-add.md +9 -6
- package/docs/docs/cmd/planner/bucket/bucket-get.md +10 -7
- package/docs/docs/cmd/planner/bucket/bucket-list.md +8 -5
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +8 -5
- package/docs/docs/cmd/planner/bucket/bucket-set.md +9 -6
- package/docs/docs/cmd/planner/task/task-add.md +11 -8
- package/docs/docs/cmd/planner/task/task-get.md +11 -8
- package/docs/docs/cmd/planner/task/task-list.md +9 -6
- package/docs/docs/cmd/planner/task/task-set.md +9 -6
- package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +33 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +19 -8
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +27 -0
- package/package.json +1 -1
|
@@ -17,16 +17,19 @@ 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 a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `
|
|
20
|
+
: ID of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planTitle` but not both. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
21
|
+
|
|
22
|
+
`--planTitle [planTitle]`
|
|
23
|
+
: Title of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planTitle` but not both. Always use in combination with either `ownerGroupId` or `ownerGroupName`. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
21
24
|
|
|
22
25
|
`--planName [planName]`
|
|
23
|
-
:
|
|
26
|
+
: (deprecated. Use `planTitle` instead) Title of the plan to which the bucket belongs.
|
|
24
27
|
|
|
25
28
|
`--ownerGroupId [ownerGroupId]`
|
|
26
|
-
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `
|
|
29
|
+
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
27
30
|
|
|
28
31
|
`--ownerGroupName [ownerGroupName]`
|
|
29
|
-
: Name of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `
|
|
32
|
+
: Name of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
30
33
|
|
|
31
34
|
--8<-- "docs/cmd/_global.md"
|
|
32
35
|
|
|
@@ -52,7 +55,7 @@ m365 planner task list --planId "iVPMIgdku0uFlou-KLNg6MkAE1O2"`
|
|
|
52
55
|
List the Microsoft Planner tasks in the plan _My Plan_ in group _My Group_
|
|
53
56
|
|
|
54
57
|
```sh
|
|
55
|
-
m365 planner task list --
|
|
58
|
+
m365 planner task list --planTitle "My Plan" --ownerGroupName "My Group"
|
|
56
59
|
```
|
|
57
60
|
|
|
58
61
|
List the Microsoft Planner tasks in the bucket _FtzysDykv0-9s9toWiZhdskAD67z_
|
|
@@ -70,5 +73,5 @@ m365 planner task list --bucketName "My Bucket" --planId "iVPMIgdku0uFlou-KLNg6M
|
|
|
70
73
|
List the Microsoft Planner tasks in the bucket _My Bucket_ belonging to plan _My Plan_ in group _My Group_
|
|
71
74
|
|
|
72
75
|
```sh
|
|
73
|
-
m365 planner task list --bucketName "My Bucket" --
|
|
76
|
+
m365 planner task list --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
|
|
74
77
|
```
|
|
@@ -23,16 +23,19 @@ m365 planner task set [options]
|
|
|
23
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
|
-
: ID of the plan to which the bucket belongs to. Specify either `planId` or `
|
|
26
|
+
: ID of the plan to which the bucket belongs to. Specify either `planId` or `planTitle` when using `bucketName`.
|
|
27
|
+
|
|
28
|
+
`--planTitle [planTitle]`
|
|
29
|
+
: Title of the plan to which the bucket belongs to. Specify either `planId` or `planTitle` when using `bucketName`.
|
|
27
30
|
|
|
28
31
|
`--planName [planName]`
|
|
29
|
-
:
|
|
32
|
+
: (deprecated. Use `planTitle` instead) Title of the plan to which the bucket belongs.
|
|
30
33
|
|
|
31
34
|
`--ownerGroupId [ownerGroupId]`
|
|
32
|
-
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `
|
|
35
|
+
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
33
36
|
|
|
34
37
|
`--ownerGroupName [ownerGroupName]`
|
|
35
|
-
: Name of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `
|
|
38
|
+
: Name of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
36
39
|
|
|
37
40
|
`--startDateTime [startDateTime]`
|
|
38
41
|
: The date and time when the task started. This should be defined as a valid ISO 8601 string. `2021-12-16T18:28:48.6964197Z`
|
|
@@ -91,10 +94,10 @@ Updates a Microsoft Planner task name to _My Planner Task_ for the task with the
|
|
|
91
94
|
m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --title "My Planner Task"
|
|
92
95
|
```
|
|
93
96
|
|
|
94
|
-
Moves a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ to the bucket named _My Planner Bucket_. Based on the plan with the
|
|
97
|
+
Moves a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ to the bucket named _My Planner Bucket_. Based on the plan with the title _My Planner Plan_ owned by the group _My Planner Group_
|
|
95
98
|
|
|
96
99
|
```sh
|
|
97
|
-
m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --bucketName "My Planner Bucket" --
|
|
100
|
+
m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --bucketName "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
|
|
98
101
|
```
|
|
99
102
|
|
|
100
103
|
Marks a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ as 50% complete and assigned to categories 1 and 3.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# search externalconnection get
|
|
2
|
+
|
|
3
|
+
Allow the administrator to get a specific external connection for use in Microsoft Search.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 search externalconnection get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id [id]`
|
|
14
|
+
: ID of the External Connection to get. Specify either `id` or `name`
|
|
15
|
+
|
|
16
|
+
`-n, --name [name]`
|
|
17
|
+
: Name of the External Connection to get. Specify either `id` or `name`
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Examples
|
|
22
|
+
|
|
23
|
+
Get the External Connection by its id
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
m365 search externalconnection get --id "MyApp"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Get the External Connection by its name
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 search externalconnection get --name "Test"
|
|
33
|
+
```
|
|
@@ -10,17 +10,16 @@ m365 spo hubsite get [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --id
|
|
14
|
-
:
|
|
13
|
+
`-i, --id [id]`
|
|
14
|
+
: ID of the hubsite. Specify either `id`, `title` or `url` but not multiple.
|
|
15
15
|
|
|
16
|
-
--
|
|
17
|
-
|
|
18
|
-
## Remarks
|
|
16
|
+
`-t, --title [title]`
|
|
17
|
+
: Title of the hubsite. Specify either `id`, `title` or `url` but not multiple.
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
`-u, --url [url]`
|
|
20
|
+
: URL of the hubsite. Specify either `id`, `title` or `url` but not multiple.
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
24
23
|
|
|
25
24
|
## Examples
|
|
26
25
|
|
|
@@ -30,6 +29,18 @@ Get information about the hub site with ID _2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
|
|
|
30
29
|
m365 spo hubsite get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
|
|
31
30
|
```
|
|
32
31
|
|
|
32
|
+
Get information about the hub site with Title _My Hub Site_
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo hubsite get --title 'My Hub Site'
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Get information about the hub site with URL _https://contoso.sharepoint.com/sites/HubSite_
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo hubsite get --url 'https://contoso.sharepoint.com/sites/HubSite'
|
|
42
|
+
```
|
|
43
|
+
|
|
33
44
|
## More information
|
|
34
45
|
|
|
35
46
|
- SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# spo roledefinition get
|
|
2
|
+
|
|
3
|
+
Gets specified role definition from web by id
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo roledefinition get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site for which to retrieve the role definition
|
|
15
|
+
|
|
16
|
+
`-i, --id <id>`
|
|
17
|
+
: The Id of the role definition to retrieve.
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Examples
|
|
22
|
+
|
|
23
|
+
Retrieve the role definition for site _https://contoso.sharepoint.com/sites/project-x_ with id _1_
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
m365 spo roledefinition get --webUrl https://contoso.sharepoint.com/sites/project-x --id 1
|
|
27
|
+
```
|
package/package.json
CHANGED