@pnp/cli-microsoft365 10.9.0-beta.bc13e90 → 10.10.0-beta.bd186ba
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- 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/subscription/subscription-add.js +10 -3
- 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/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/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/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/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-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/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 +13 -13
|
@@ -34,6 +34,9 @@ m365 entra pim role request list [options]
|
|
|
34
34
|
: An optional value to filter the list of requests. Allowed values are: `Canceled`, `Denied`, `Failed`, `Granted`, `PendingAdminDecision`, `PendingApproval`, `PendingProvisioning`, `PendingScheduleCreation`, `Provisioned`, `Revoked`, and `ScheduleCreated`.
|
|
35
35
|
|
|
36
36
|
`--includePrincipalDetails`
|
|
37
|
+
: (deprecated. Use option `withPrincipalDetails` instead) An optional flag to include details of the principals that were assigned a role.
|
|
38
|
+
|
|
39
|
+
`--withPrincipalDetails`
|
|
37
40
|
: An optional flag to include details of the principals that were assigned a role.
|
|
38
41
|
```
|
|
39
42
|
|
|
@@ -62,7 +65,7 @@ m365 entra pim role request list --createdDateTime 2024-01-01T00:00:00Z
|
|
|
62
65
|
Get a list of PIM requests with principal details.
|
|
63
66
|
|
|
64
67
|
```sh
|
|
65
|
-
m365 entra pim role request list --
|
|
68
|
+
m365 entra pim role request list --withPrincipalDetails
|
|
66
69
|
```
|
|
67
70
|
|
|
68
71
|
Get a list of PIM requests with pending approvals.
|
|
@@ -158,9 +161,9 @@ m365 entra pim role request list --status PendingApproval
|
|
|
158
161
|
</TabItem>
|
|
159
162
|
</Tabs>
|
|
160
163
|
|
|
161
|
-
### `
|
|
164
|
+
### `withPrincipalDetails` response
|
|
162
165
|
|
|
163
|
-
When we make use of the option `
|
|
166
|
+
When we make use of the option `withPrincipalDetails` the response will differ.
|
|
164
167
|
|
|
165
168
|
<Tabs>
|
|
166
169
|
<TabItem value="JSON">
|
|
@@ -238,7 +241,7 @@ When we make use of the option `includePrincipalDetails` the response will diffe
|
|
|
238
241
|
<TabItem value="Markdown">
|
|
239
242
|
|
|
240
243
|
```md
|
|
241
|
-
# entra pim role request list --
|
|
244
|
+
# entra pim role request list --withPrincipalDetails "true"
|
|
242
245
|
|
|
243
246
|
Date: 5/30/2024
|
|
244
247
|
|
|
@@ -22,6 +22,9 @@ m365 flow list [options]
|
|
|
22
22
|
: List a specific type of flows. Valid values: `ownedByMe`, `personal`, `sharedWithMe`, `all`. Defaults to `ownedByMe`. Don't specify this option when using asAdmin.
|
|
23
23
|
|
|
24
24
|
`--includeSolutions`
|
|
25
|
+
: (deprecated. Use option `withSolutions` instead) Include flows from solutions.
|
|
26
|
+
|
|
27
|
+
`--withSolutions`
|
|
25
28
|
: Include flows from solutions.
|
|
26
29
|
|
|
27
30
|
`--asAdmin`
|
|
@@ -49,28 +52,28 @@ When you specify a value for `sharingStatus`, consider the following:
|
|
|
49
52
|
|
|
50
53
|
## Examples
|
|
51
54
|
|
|
52
|
-
List all your flows in the given environment
|
|
55
|
+
List all your flows in the given environment.
|
|
53
56
|
|
|
54
57
|
```sh
|
|
55
58
|
m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
56
59
|
```
|
|
57
60
|
|
|
58
|
-
List all flows in the given environment
|
|
61
|
+
List all flows in the given environment.
|
|
59
62
|
|
|
60
63
|
```sh
|
|
61
64
|
m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
|
|
62
65
|
```
|
|
63
66
|
|
|
64
|
-
List all flows that are shared with the current user
|
|
67
|
+
List all flows that are shared with the current user.
|
|
65
68
|
|
|
66
69
|
```sh
|
|
67
70
|
m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --sharingStatus sharedWithMe
|
|
68
71
|
```
|
|
69
72
|
|
|
70
|
-
List all personal flows and include flows from solutions
|
|
73
|
+
List all personal flows and include flows from solutions.
|
|
71
74
|
|
|
72
75
|
```sh
|
|
73
|
-
m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --sharingStatus personal --
|
|
76
|
+
m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --sharingStatus personal --withSolutions
|
|
74
77
|
```
|
|
75
78
|
|
|
76
79
|
## Response
|
|
@@ -22,7 +22,7 @@ m365 flow run get [options]
|
|
|
22
22
|
: The name of the Power Automate flow for which to retrieve information.
|
|
23
23
|
|
|
24
24
|
`-e, --environmentName <environmentName>`
|
|
25
|
-
: The name of the environment where the flow is located
|
|
25
|
+
: The name of the environment where the flow is located.
|
|
26
26
|
|
|
27
27
|
`--includeTriggerInformation`
|
|
28
28
|
: (deprecated. Use option `withTrigger` instead) If specified, include information about the trigger details.
|
|
@@ -40,13 +40,16 @@ m365 graph subscription add [options]
|
|
|
40
40
|
: The latest version of TLS that the notification endpoint supports. Allowed values are `v1_0`, `v1_1`, `v1_2`, `v1_3`. Default is `v1_2`.
|
|
41
41
|
|
|
42
42
|
`--includeResourceData`
|
|
43
|
+
: (deprecated. Use option `withResourceData` instead) When set, the change notifications will include the changed resource data.
|
|
44
|
+
|
|
45
|
+
`--withResourceData`
|
|
43
46
|
: When set, the change notifications will include the changed resource data.
|
|
44
47
|
|
|
45
48
|
`--encryptionCertificate [encryptionCertificate]`
|
|
46
|
-
: A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Required when using `
|
|
49
|
+
: A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Required when using `withResourceData`.
|
|
47
50
|
|
|
48
51
|
`--encryptionCertificateId [encryptionCertificateId]`
|
|
49
|
-
: A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when using `
|
|
52
|
+
: A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when using `withResourceData`.
|
|
50
53
|
```
|
|
51
54
|
|
|
52
55
|
<Global />
|
|
@@ -83,7 +86,7 @@ m365 graph subscription add --resource "me/mailFolders('Inbox')/messages" --chan
|
|
|
83
86
|
Create a subscription on multiple change types and include resource data
|
|
84
87
|
|
|
85
88
|
```sh
|
|
86
|
-
m365 graph subscription add --resource "me/messages" --changeTypes "updated,deleted" --
|
|
89
|
+
m365 graph subscription add --resource "me/messages" --changeTypes "updated,deleted" --withResourceData --encryptionCertificate 'Q0xJIGZvciBNaWNyb3NvZnQgMzY1' --encryptionCertificateId 'myCert' --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient" --expirationDateTime "2016-11-20T18:23:45.935Z" --clientState "secretClientState"
|
|
87
90
|
```
|
|
88
91
|
|
|
89
92
|
Create a subscription using the maximum allowed expiration for Group resources
|
|
@@ -16,10 +16,13 @@ m365 pp solution publisher list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-e, --environmentName <environmentName>`
|
|
19
|
-
: The name of the environment
|
|
19
|
+
: The name of the environment.
|
|
20
20
|
|
|
21
21
|
`--includeMicrosoftPublishers`
|
|
22
|
-
: Include the Microsoft Publishers
|
|
22
|
+
: (deprecated. Use option `withMicrosoftPublishers` instead) Include the Microsoft Publishers.
|
|
23
|
+
|
|
24
|
+
`--withMicrosoftPublishers`
|
|
25
|
+
: Include the Microsoft Publishers.
|
|
23
26
|
|
|
24
27
|
`--asAdmin`
|
|
25
28
|
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
@@ -29,13 +32,13 @@ m365 pp solution publisher list [options]
|
|
|
29
32
|
|
|
30
33
|
## Examples
|
|
31
34
|
|
|
32
|
-
List all publishers in a specific environment
|
|
35
|
+
List all publishers in a specific environment.
|
|
33
36
|
|
|
34
37
|
```sh
|
|
35
38
|
m365 pp solution publisher list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
|
|
36
39
|
```
|
|
37
40
|
|
|
38
|
-
List all publishers in a specific environment as Admin
|
|
41
|
+
List all publishers in a specific environment as Admin.
|
|
39
42
|
|
|
40
43
|
```sh
|
|
41
44
|
m365 pp solution publisher list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
|
|
@@ -19,6 +19,9 @@ m365 purview threatassessment get [options]
|
|
|
19
19
|
: The Id of the threat assessment.
|
|
20
20
|
|
|
21
21
|
`--includeResults`
|
|
22
|
+
: (deprecated. Use option `withResults` instead) Include the threat assessment results.
|
|
23
|
+
|
|
24
|
+
`--withResults`
|
|
22
25
|
: Include the threat assessment results.
|
|
23
26
|
```
|
|
24
27
|
|
|
@@ -35,7 +38,7 @@ m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e
|
|
|
35
38
|
Get a threat assessment including results.
|
|
36
39
|
|
|
37
40
|
```sh
|
|
38
|
-
m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e --
|
|
41
|
+
m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e --withResults
|
|
39
42
|
```
|
|
40
43
|
|
|
41
44
|
## Response
|
|
@@ -118,9 +121,9 @@ m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e --in
|
|
|
118
121
|
</TabItem>
|
|
119
122
|
</Tabs>
|
|
120
123
|
|
|
121
|
-
### `
|
|
124
|
+
### `withResults` response
|
|
122
125
|
|
|
123
|
-
When we make use of the option `
|
|
126
|
+
When we make use of the option `withResults` the response will differ.
|
|
124
127
|
|
|
125
128
|
<Tabs>
|
|
126
129
|
<TabItem value="JSON">
|
|
@@ -184,7 +187,7 @@ When we make use of the option `includeResults` the response will differ.
|
|
|
184
187
|
<TabItem value="Markdown">
|
|
185
188
|
|
|
186
189
|
```md
|
|
187
|
-
# purview threatassessment get --id "8aaba0ac-ec4d-4e62-5774-08db16c68731" --
|
|
190
|
+
# purview threatassessment get --id "8aaba0ac-ec4d-4e62-5774-08db16c68731" --withResults "true"
|
|
188
191
|
|
|
189
192
|
Date: 25/02/2023
|
|
190
193
|
|
|
@@ -34,6 +34,9 @@ m365 spo file move [options]
|
|
|
34
34
|
: Behavior when a file or folder with the same name is already present at the destination. Allowed values: `fail`, `replace`, `rename`. Defaults to `fail`.
|
|
35
35
|
|
|
36
36
|
`--includeItemPermissions`
|
|
37
|
+
: (deprecated. Use option `withItemPermissions` instead) Ensure that item-level permissions are preserved during the move.
|
|
38
|
+
|
|
39
|
+
`--withItemPermissions`
|
|
37
40
|
: Ensure that item-level permissions are preserved during the move.
|
|
38
41
|
|
|
39
42
|
`--bypassSharedLock`
|
|
@@ -75,7 +78,7 @@ m365 spo file move --webUrl https://contoso.sharepoint.com/sites/project-x --sou
|
|
|
75
78
|
Move a file referenced by its ID to another document library and retain item-level permissions.
|
|
76
79
|
|
|
77
80
|
```sh
|
|
78
|
-
m365 spo file move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceId b8cc341b-9c11-4f2d-aa2b-0ce9c18bcba2 --targetUrl "/sites/project-x/My Documents" --
|
|
81
|
+
m365 spo file move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceId b8cc341b-9c11-4f2d-aa2b-0ce9c18bcba2 --targetUrl "/sites/project-x/My Documents" --withItemPermissions
|
|
79
82
|
```
|
|
80
83
|
|
|
81
84
|
## Response
|
|
@@ -25,6 +25,9 @@ m365 spo hubsite get [options]
|
|
|
25
25
|
: URL of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
26
26
|
|
|
27
27
|
`--includeAssociatedSites`
|
|
28
|
+
: (deprecated. Use option `withAssociatedSites` instead) Include the associated sites in the result (only in JSON output).
|
|
29
|
+
|
|
30
|
+
`--withAssociatedSites`
|
|
28
31
|
: Include the associated sites in the result (only in JSON output)
|
|
29
32
|
```
|
|
30
33
|
|
|
@@ -53,7 +56,7 @@ m365 spo hubsite get --url 'https://contoso.sharepoint.com/sites/HubSite'
|
|
|
53
56
|
Get information about the hub site with specific ID, including its associated sites. Associated site info is only shown in JSON output.
|
|
54
57
|
|
|
55
58
|
```sh
|
|
56
|
-
m365 spo hubsite get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --
|
|
59
|
+
m365 spo hubsite get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --withAssociatedSites --output json
|
|
57
60
|
```
|
|
58
61
|
|
|
59
62
|
## Response
|
|
@@ -147,9 +150,9 @@ m365 spo hubsite get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --includeAssociat
|
|
|
147
150
|
</TabItem>
|
|
148
151
|
</Tabs>
|
|
149
152
|
|
|
150
|
-
### `
|
|
153
|
+
### `withAssociatedSites` response
|
|
151
154
|
|
|
152
|
-
When we make use of the option `
|
|
155
|
+
When we make use of the option `withAssociatedSites` the response will differ. This command can only be executed using --output json or an error will be thrown.
|
|
153
156
|
|
|
154
157
|
<Tabs>
|
|
155
158
|
<TabItem value="JSON">
|
|
@@ -16,6 +16,9 @@ m365 spo hubsite list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-i, --includeAssociatedSites`
|
|
19
|
+
: (deprecated. Use option `withAssociatedSites` instead) Include the associated sites in the result (only in JSON output).
|
|
20
|
+
|
|
21
|
+
`--withAssociatedSites`
|
|
19
22
|
: Include the associated sites in the result (only in JSON output).
|
|
20
23
|
```
|
|
21
24
|
|
|
@@ -36,7 +39,7 @@ m365 spo hubsite list
|
|
|
36
39
|
List hub sites, including their associated sites, in the current tenant. Associated site info is only shown in JSON output.
|
|
37
40
|
|
|
38
41
|
```sh
|
|
39
|
-
m365 spo hubsite list --
|
|
42
|
+
m365 spo hubsite list --withAssociatedSites --output json
|
|
40
43
|
```
|
|
41
44
|
|
|
42
45
|
## Response
|
|
@@ -119,9 +122,9 @@ m365 spo hubsite list --includeAssociatedSites --output json
|
|
|
119
122
|
</TabItem>
|
|
120
123
|
</Tabs>
|
|
121
124
|
|
|
122
|
-
### `
|
|
125
|
+
### `withAssociatedSites` response
|
|
123
126
|
|
|
124
|
-
When we make use of the option `
|
|
127
|
+
When we make use of the option `withAssociatedSites` the response will differ.
|
|
125
128
|
|
|
126
129
|
<Tabs>
|
|
127
130
|
<TabItem value="JSON">
|
|
@@ -176,7 +179,7 @@ When we make use of the option `includeAssociatedSites` the response will differ
|
|
|
176
179
|
<TabItem value="Markdown">
|
|
177
180
|
|
|
178
181
|
```md
|
|
179
|
-
# spo hubsite list --
|
|
182
|
+
# spo hubsite list --withAssociatedSites "true"
|
|
180
183
|
|
|
181
184
|
Date: 2/20/2023
|
|
182
185
|
|
|
@@ -127,7 +127,7 @@ m365 spo list add [options]
|
|
|
127
127
|
: Boolean value that specifies whether the list is hidden. Valid values are `true`, `false`.
|
|
128
128
|
|
|
129
129
|
`--includedInMyFilesScope [includedInMyFilesScope]`
|
|
130
|
-
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string
|
|
130
|
+
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string "myfiles" by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list.
|
|
131
131
|
|
|
132
132
|
`--irmEnabled [irmEnabled]`
|
|
133
133
|
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list.
|
|
@@ -14,7 +14,7 @@ m365 spo list set [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: URL of the site
|
|
17
|
+
: URL of the site.
|
|
18
18
|
|
|
19
19
|
`--id [id]`
|
|
20
20
|
: ID of the list. Specify either `id`, `title`, or `url` but not multiple.
|
|
@@ -128,7 +128,7 @@ m365 spo list set [options]
|
|
|
128
128
|
: Boolean value that specifies whether the list is hidden. Valid values are `true`, `false`.
|
|
129
129
|
|
|
130
130
|
`--includedInMyFilesScope [includedInMyFilesScope]`
|
|
131
|
-
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string
|
|
131
|
+
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string "myfiles" by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list.
|
|
132
132
|
|
|
133
133
|
`--irmEnabled [irmEnabled]`
|
|
134
134
|
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list.
|
|
@@ -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
|
|
|
@@ -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
|