@pnp/cli-microsoft365 10.8.0-beta.cdb5c81 → 10.9.0-beta.3261443
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/Dockerfile +3 -3
- package/README.md +4 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/app/commands/app-get.js +5 -2
- package/dist/m365/app/commands/app-open.js +9 -22
- package/dist/m365/app/commands/permission/permission-add.js +18 -30
- package/dist/m365/app/commands/permission/permission-list.js +5 -2
- package/dist/m365/base/AppCommand.js +9 -25
- package/dist/m365/booking/commands/business/business-get.js +18 -25
- package/dist/m365/context/commands/context-remove.js +12 -25
- package/dist/m365/context/commands/option/option-remove.js +11 -25
- package/dist/m365/entra/commands/m365group/m365group-get.js +16 -3
- package/dist/m365/entra/commands/m365group/m365group-list.js +7 -1
- package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +9 -3
- package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +9 -3
- package/dist/m365/entra/commands/pim/pim-role-request-list.js +9 -3
- package/dist/m365/flow/commands/flow-list.js +14 -7
- package/dist/m365/flow/commands/run/run-get.js +1 -1
- package/dist/m365/graph/commands/directoryextension/directoryextension-list.js +74 -0
- package/dist/m365/graph/commands/subscription/subscription-add.js +10 -3
- package/dist/m365/graph/commands.js +1 -0
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +8 -1
- package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +9 -2
- package/dist/m365/spo/commands/file/file-move.js +8 -2
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +14 -5
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +9 -2
- package/dist/m365/spo/commands/list/list-get.js +12 -6
- package/dist/m365/spo/commands/page/clientsidepages.js +49 -17
- package/dist/m365/spo/commands/tenant/tenant-site-list.js +16 -5
- package/dist/m365/spo/commands/term/term-list.js +10 -3
- package/dist/m365/spp/commands/model/model-apply.js +130 -0
- package/dist/m365/spp/commands/model/model-get.js +7 -24
- package/dist/m365/spp/commands/model/model-list.js +1 -1
- package/dist/m365/spp/commands/model/model-remove.js +1 -1
- package/dist/m365/spp/commands.js +1 -0
- package/dist/m365/teams/commands/chat/chat-member-add.js +10 -4
- package/dist/m365/viva/commands/engage/engage-community-remove.js +99 -0
- package/dist/m365/viva/commands/engage/engage-network-list.js +8 -2
- package/dist/m365/viva/commands.js +1 -0
- package/dist/utils/spp.js +59 -1
- package/docs/docs/cmd/entra/m365group/m365group-get.mdx +8 -5
- package/docs/docs/cmd/entra/m365group/m365group-list.mdx +14 -12
- package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +7 -4
- package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +9 -6
- package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +7 -4
- package/docs/docs/cmd/flow/flow-list.mdx +8 -5
- package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
- package/docs/docs/cmd/graph/directoryextension/directoryextension-list.mdx +135 -0
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +6 -3
- package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +7 -4
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +7 -4
- package/docs/docs/cmd/spo/file/file-move.mdx +4 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +6 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +7 -4
- package/docs/docs/cmd/spo/list/list-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-get.mdx +12 -3
- package/docs/docs/cmd/spo/list/list-set.mdx +2 -2
- package/docs/docs/cmd/spo/tenant/tenant-site-list.mdx +10 -7
- package/docs/docs/cmd/spo/term/term-list.mdx +7 -4
- package/docs/docs/cmd/spp/model/model-apply.mdx +79 -0
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +6 -3
- package/docs/docs/cmd/viva/engage/engage-community-remove.mdx +61 -0
- package/docs/docs/cmd/viva/engage/engage-network-list.mdx +7 -4
- package/npm-shrinkwrap.json +112 -97
- package/package.json +14 -14
|
@@ -28,9 +28,12 @@ m365 spo site list
|
|
|
28
28
|
: type of sites to list. To be used with values like `GROUP#0` and `SITEPAGEPUBLISHING#0`. Specify either `type` or `webTemplate`, but not both.
|
|
29
29
|
|
|
30
30
|
`--filter [filter]`
|
|
31
|
-
: filter to apply when retrieving sites
|
|
31
|
+
: filter to apply when retrieving sites.
|
|
32
32
|
|
|
33
33
|
`--includeOneDriveSites`
|
|
34
|
+
: (deprecated. Use option `withOneDriveSites` instead) use this switch to include OneDrive sites in the result when retrieving sites. Do not specify the `type` or `webTemplate` options when using this.
|
|
35
|
+
|
|
36
|
+
`--withOneDriveSites`
|
|
34
37
|
: use this switch to include OneDrive sites in the result when retrieving sites. Do not specify the `type` or `webTemplate` options when using this.
|
|
35
38
|
```
|
|
36
39
|
|
|
@@ -52,34 +55,34 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
52
55
|
|
|
53
56
|
## Examples
|
|
54
57
|
|
|
55
|
-
List all sites in the currently connected tenant
|
|
58
|
+
List all sites in the currently connected tenant.
|
|
56
59
|
|
|
57
60
|
```sh
|
|
58
61
|
m365 spo tenant site list
|
|
59
62
|
```
|
|
60
63
|
|
|
61
|
-
List all group connected team sites in the currently connected tenant
|
|
64
|
+
List all group connected team sites in the currently connected tenant.
|
|
62
65
|
|
|
63
66
|
```sh
|
|
64
67
|
m365 spo tenant site list --type TeamSite
|
|
65
68
|
```
|
|
66
69
|
|
|
67
|
-
List all communication sites in the currently connected tenant
|
|
70
|
+
List all communication sites in the currently connected tenant.
|
|
68
71
|
|
|
69
72
|
```sh
|
|
70
73
|
m365 spo tenant site list --type CommunicationSite
|
|
71
74
|
```
|
|
72
75
|
|
|
73
|
-
List all group connected team sites that contain _project_ in the URL
|
|
76
|
+
List all group connected team sites that contain _project_ in the URL.
|
|
74
77
|
|
|
75
78
|
```sh
|
|
76
79
|
m365 spo tenant site list --type TeamSite --filter "Url -like 'project'"
|
|
77
80
|
```
|
|
78
81
|
|
|
79
|
-
List all sites in the currently connected tenant including OneDrive sites
|
|
82
|
+
List all sites in the currently connected tenant including OneDrive sites.
|
|
80
83
|
|
|
81
84
|
```sh
|
|
82
|
-
m365 spo tenant site list --
|
|
85
|
+
m365 spo tenant site list --withOneDriveSites
|
|
83
86
|
```
|
|
84
87
|
|
|
85
88
|
## Response
|
|
@@ -31,6 +31,9 @@ m365 spo term list [options]
|
|
|
31
31
|
: Name of the term set for which to retrieve terms. Specify `termSetId` or `termSetName` but not both.
|
|
32
32
|
|
|
33
33
|
`--includeChildTerms`
|
|
34
|
+
: (deprecated. Use option `withChildTerms` instead) If specified, child terms are loaded as well.
|
|
35
|
+
|
|
36
|
+
`--withChildTerms`
|
|
34
37
|
: If specified, child terms are loaded as well.
|
|
35
38
|
```
|
|
36
39
|
|
|
@@ -69,7 +72,7 @@ m365 spo term list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termSetI
|
|
|
69
72
|
List taxonomy terms from the term group and term set with the given ID including child terms if any are found.
|
|
70
73
|
|
|
71
74
|
```sh
|
|
72
|
-
m365 spo term list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termSetId 0e8f395e-ff58-4d45-9ff7-e331ab728bec --
|
|
75
|
+
m365 spo term list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termSetId 0e8f395e-ff58-4d45-9ff7-e331ab728bec --withChildTerms
|
|
73
76
|
```
|
|
74
77
|
|
|
75
78
|
## Response
|
|
@@ -162,9 +165,9 @@ m365 spo term list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termSetI
|
|
|
162
165
|
</TabItem>
|
|
163
166
|
</Tabs>
|
|
164
167
|
|
|
165
|
-
### `
|
|
168
|
+
### `withChildTerms` response
|
|
166
169
|
|
|
167
|
-
When we make use of the option `
|
|
170
|
+
When we make use of the option `withChildTerms` the response will differ.
|
|
168
171
|
|
|
169
172
|
<Tabs>
|
|
170
173
|
<TabItem value="JSON">
|
|
@@ -245,7 +248,7 @@ When we make use of the option `includeChildTerms` the response will differ.
|
|
|
245
248
|
<TabItem value="Markdown">
|
|
246
249
|
|
|
247
250
|
```md
|
|
248
|
-
# spo term list --termGroupName "PnPTermSets" --termSetName "PnP-Organizations" --
|
|
251
|
+
# spo term list --termGroupName "PnPTermSets" --termSetName "PnP-Organizations" --withChildTerms "true"
|
|
249
252
|
|
|
250
253
|
Date: 5/8/2023
|
|
251
254
|
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spp model apply
|
|
6
|
+
|
|
7
|
+
Applies (or syncs) a trained document understanding model to a document library
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spp model apply [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: The URL of the web where the library is located.
|
|
20
|
+
|
|
21
|
+
`-c, --contentCenterUrl <contentCenterUrl>`
|
|
22
|
+
: The URL of the content center site where model is located.
|
|
23
|
+
|
|
24
|
+
`-i, --id [id]`
|
|
25
|
+
: The unique ID of the model. Specify either `id` or `title` but not both.
|
|
26
|
+
|
|
27
|
+
`-t, --title [title]`
|
|
28
|
+
: The display name of the model. Specify either `id` or `title` but not both.
|
|
29
|
+
|
|
30
|
+
`--listTitle [listTitle]`
|
|
31
|
+
: The title of the document library to which the model will be applied. Specify either `listTitle`, `listId`, or `listUrl` but not multiple.
|
|
32
|
+
|
|
33
|
+
`--listId [listId]`
|
|
34
|
+
: The ID of the library to which the model will be applied. Specify either `listTitle`, `listId`, or `listUrl` but not multiple.
|
|
35
|
+
|
|
36
|
+
`--listUrl [listUrl]`
|
|
37
|
+
: Server or web-relative URL of the library to which the model will be applied. Specify either `listTitle`, `listId`, or `listUrl` but not multiple.
|
|
38
|
+
|
|
39
|
+
`--viewOption [viewOption]`
|
|
40
|
+
: Defines whether the model view should be set as the default view for the document library. Allowed values are: `NewViewAsDefault`, `DoNotChangeDefault`, `TileViewAsDefault`. The default value is `NewViewAsDefault`.
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<Global />
|
|
44
|
+
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
Applies a trained document understanding model using its unique ID to a document library, identified by its title.
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 spp model apply --webUrl "https://contoso.sharepoint.com" --contentCenterUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc" --listTitle "Shared Documents"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Applies a trained document understanding model using its display name to a document library, identified by its title.
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 spp model apply --webUrl "https://contoso.sharepoint.com" --contentCenterUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "ModelExample" --listTitle "Shared Documents"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Applies a trained document understanding model using its display name to a document library, identified by its URL.
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 spp model apply --webUrl "https://contoso.sharepoint.com" --contentCenterUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "ModelExample" --listUrl "/Shared Documents"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Applies a trained document understanding model using its display name to a document library, identified by its unique ID.
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 spp model apply --webUrl "https://contoso.sharepoint.com" --contentCenterUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "ModelExample" --listId "b4cfa0d9-b3d7-49ae-a0f0-f14ffdd005f7"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Applies a trained document understanding model using its display name to a document library, identified by its unique ID. Without changing a default document library view.
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
m365 spp model apply --webUrl "https://contoso.sharepoint.com" --contentCenterUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "ModelExample" --listId "b4cfa0d9-b3d7-49ae-a0f0-f14ffdd005f7" --viewOption "DoNotChangeDefault"
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Response
|
|
78
|
+
|
|
79
|
+
The command won't return a response on success.
|
|
@@ -26,10 +26,13 @@ m365 teams chat member add [options]
|
|
|
26
26
|
: The role for the user to add. Valid values are: `owner`, `guest`. Defaults to `owner`.
|
|
27
27
|
|
|
28
28
|
`--visibleHistoryStartDateTime [visibleHistoryStartDateTime]`
|
|
29
|
-
: Include chat history until a certain point in time. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, or neither.
|
|
29
|
+
: Include chat history until a certain point in time. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, `withAllHistory` or neither.
|
|
30
30
|
|
|
31
31
|
`--includeAllHistory`
|
|
32
|
-
: Include all chat history. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, or neither.
|
|
32
|
+
: (deprecated. Use option `withChildTerms` instead) Include all chat history. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, `withAllHistory` or neither.
|
|
33
|
+
|
|
34
|
+
`--withAllHistory`
|
|
35
|
+
: Include all chat history. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, `withAllHistory` or neither.
|
|
33
36
|
```
|
|
34
37
|
|
|
35
38
|
<Global />
|
|
@@ -58,7 +61,7 @@ m365 teams chat member add --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031
|
|
|
58
61
|
Add a guest member by UPN to a Teams chat and share all chat history.
|
|
59
62
|
|
|
60
63
|
```sh
|
|
61
|
-
m365 teams chat member add --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userName nelson.wilke@fabrikam.com --role guest --
|
|
64
|
+
m365 teams chat member add --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userName nelson.wilke@fabrikam.com --role guest --withAllHistory
|
|
62
65
|
```
|
|
63
66
|
|
|
64
67
|
## Response
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# viva engage community remove
|
|
4
|
+
|
|
5
|
+
Removes a Viva Engage community
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 viva engage community remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The id of the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
|
|
18
|
+
|
|
19
|
+
`-n, --displayName [displayName]`
|
|
20
|
+
: The name of the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
|
|
21
|
+
|
|
22
|
+
`--entraGroupId [entraGroupId]`
|
|
23
|
+
: The id of the Microsoft 365 group associated with the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
|
|
24
|
+
|
|
25
|
+
`-f, --force`
|
|
26
|
+
: Don't prompt for confirmation.
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
<Global />
|
|
30
|
+
|
|
31
|
+
## Remarks
|
|
32
|
+
|
|
33
|
+
:::info
|
|
34
|
+
|
|
35
|
+
When the Viva Engage community is removed, all the associated Microsoft 365 content, including the M365 group, the document library, OneNote notebook, and Planner plan is deleted.
|
|
36
|
+
|
|
37
|
+
:::
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
Remove a community specified by id without prompting
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 viva engage community remove --id eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI0NzY5MTM1ODIwOSJ9 --force
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Remove a community specified by name and prompt for confirmation
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 viva engage community remove --displayName 'Software Engineers'
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Remove a community specified by Entra group id and prompt for confirmation
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 viva engage community remove --entraGroupId '0bed8b86-5026-4a93-ac7d-56750cc099f1'
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Response
|
|
60
|
+
|
|
61
|
+
The command won't return a response on success
|
|
@@ -16,7 +16,10 @@ m365 viva engage network list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`--includeSuspended`
|
|
19
|
-
: Include the networks in which the user is suspended
|
|
19
|
+
: (deprecated. Use option `withSuspended` instead) Include the networks in which the user is suspended.
|
|
20
|
+
|
|
21
|
+
`--withSuspended`
|
|
22
|
+
: Include the networks in which the user is suspended.
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
<Global />
|
|
@@ -31,16 +34,16 @@ In order to use this command, you need to grant the Microsoft Entra application
|
|
|
31
34
|
|
|
32
35
|
## Examples
|
|
33
36
|
|
|
34
|
-
Returns the current user's networks
|
|
37
|
+
Returns the current user's networks.
|
|
35
38
|
|
|
36
39
|
```sh
|
|
37
40
|
m365 viva engage network list
|
|
38
41
|
```
|
|
39
42
|
|
|
40
|
-
Returns the current user's networks including the networks in which the user is suspended
|
|
43
|
+
Returns the current user's networks including the networks in which the user is suspended.
|
|
41
44
|
|
|
42
45
|
```sh
|
|
43
|
-
m365 viva engage network list --
|
|
46
|
+
m365 viva engage network list --withSuspended
|
|
44
47
|
```
|
|
45
48
|
|
|
46
49
|
## Response
|