@pnp/cli-microsoft365 11.0.0-beta.3655c37 → 11.0.0-beta.4abfd23
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/entra/commands/group/group-member-add.js +6 -27
- package/dist/m365/entra/commands/group/group-member-set.js +5 -26
- package/dist/m365/entra/commands/m365group/m365group-get.js +1 -7
- package/dist/m365/entra/commands/m365group/m365group-list.js +1 -7
- package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +1 -7
- package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +1 -7
- package/dist/m365/entra/commands/pim/pim-role-request-list.js +1 -7
- package/dist/m365/flow/commands/flow-list.js +7 -14
- package/dist/m365/flow/commands/run/run-get.js +1 -7
- package/dist/m365/graph/commands/subscription/subscription-add.js +3 -10
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +1 -8
- package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +1 -7
- package/dist/m365/spo/commands/file/file-move.js +2 -8
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +4 -13
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +1 -8
- package/dist/m365/spo/commands/{tenant/tenant-site-archive.js → site/site-archive.js} +14 -14
- package/dist/m365/spo/commands/{tenant/tenant-site-list.js → site/site-list.js} +16 -27
- package/dist/m365/spo/commands/{tenant/tenant-site-membership-list.js → site/site-membership-list.js} +15 -15
- package/dist/m365/spo/commands/{tenant/tenant-site-rename.js → site/site-rename.js} +14 -14
- package/dist/m365/spo/commands/{tenant/tenant-site-unarchive.js → site/site-unarchive.js} +14 -14
- package/dist/m365/spo/commands/term/term-list.js +1 -7
- package/dist/m365/spo/commands.js +4 -5
- package/dist/m365/teams/commands/chat/chat-member-add.js +3 -9
- package/dist/m365/viva/commands/engage/engage-network-list.js +1 -7
- package/docs/docs/cmd/entra/group/group-member-add.mdx +7 -26
- package/docs/docs/cmd/entra/group/group-member-set.mdx +5 -23
- package/docs/docs/cmd/entra/m365group/m365group-get.mdx +0 -3
- package/docs/docs/cmd/entra/m365group/m365group-list.mdx +0 -3
- package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +0 -3
- package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +0 -3
- package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +0 -3
- package/docs/docs/cmd/flow/flow-list.mdx +0 -3
- package/docs/docs/cmd/flow/run/run-get.mdx +0 -3
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +0 -3
- package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +0 -3
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +0 -3
- package/docs/docs/cmd/spo/file/file-move.mdx +0 -3
- package/docs/docs/cmd/spo/homesite/homesite-set.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +0 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +0 -3
- package/docs/docs/cmd/spo/{tenant/tenant-site-archive.mdx → site/site-archive.mdx} +4 -4
- package/docs/docs/cmd/spo/{tenant/tenant-site-list.mdx → site/site-list.mdx} +7 -16
- package/docs/docs/cmd/spo/{tenant/tenant-site-membership-list.mdx → site/site-membership-list.mdx} +5 -5
- package/docs/docs/cmd/spo/{tenant/tenant-site-rename.mdx → site/site-rename.mdx} +7 -7
- package/docs/docs/cmd/spo/{tenant/tenant-site-unarchive.mdx → site/site-unarchive.mdx} +4 -4
- package/docs/docs/cmd/spo/term/term-list.mdx +0 -3
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +2 -5
- package/docs/docs/cmd/viva/engage/engage-network-list.mdx +0 -3
- package/package.json +1 -1
- package/dist/m365/spo/commands/tenant/SPOTenantSitePropertiesEnumerable.js +0 -2
- package/dist/m365/spo/commands/tenant/TenantSiteProperties.js +0 -2
|
@@ -14,28 +14,21 @@ m365 entra group member add [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-i, --groupId [groupId]`
|
|
17
|
-
: The ID of the Microsoft Entra group. Specify `groupId
|
|
18
|
-
|
|
19
|
-
`-n, --groupDisplayName [groupDisplayName]`
|
|
20
|
-
: (deprecated. Use option `groupName` instead) The display name of the Microsoft Entra group. Specify `groupId`, `groupDisplayName` or `groupName` but not multiple.
|
|
21
|
-
|
|
22
|
-
`--groupName [groupName]`
|
|
23
|
-
: The display name of the Microsoft Entra group. Specify `groupId`, `groupDisplayName` or `groupName` but not multiple.
|
|
24
|
-
|
|
25
|
-
`--ids [ids]`
|
|
26
|
-
: (deprecated. Use option `userIds` instead) Microsoft Entra IDs of users. You can also pass a comma-separated list of IDs. Specify either `ids`, `userIds`,`userNames`, `subgroupIds`, or `subgroupNames` but not multiple.
|
|
17
|
+
: The ID of the Microsoft Entra group. Specify `groupId` or `groupName` but not both.
|
|
27
18
|
|
|
19
|
+
`-n, --groupName [groupName]`
|
|
20
|
+
: The display name of the Microsoft Entra group. Specify `groupId` or `groupName` but not both.
|
|
28
21
|
`--userIds [userIds]`
|
|
29
|
-
: Microsoft Entra IDs of users. You can also pass a comma-separated list of IDs. Specify either `
|
|
22
|
+
: Microsoft Entra IDs of users. You can also pass a comma-separated list of IDs. Specify either `userIds`,`userNames`, `subgroupIds`, or `subgroupNames` but not multiple.
|
|
30
23
|
|
|
31
24
|
`--userNames [userNames]`
|
|
32
|
-
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `
|
|
25
|
+
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `userIds`,`userNames`, `subgroupIds`, or `subgroupNames` but not multiple.
|
|
33
26
|
|
|
34
27
|
`--subgroupIds [subgroupIds]`
|
|
35
|
-
: Comma-separated list of Microsoft Entra group IDs to add. Specify either `
|
|
28
|
+
: Comma-separated list of Microsoft Entra group IDs to add. Specify either `userIds`,`userNames`, `subgroupIds`, or `subgroupNames` but not multiple.
|
|
36
29
|
|
|
37
30
|
`--subgroupNames [subgroupNames]`
|
|
38
|
-
: Comma-separated list of Microsoft Entra group titles to add. Specify either `
|
|
31
|
+
: Comma-separated list of Microsoft Entra group titles to add. Specify either `userIds`,`userNames`, `subgroupIds`, or `subgroupNames` but not multiple.
|
|
39
32
|
|
|
40
33
|
`-r, --role <role>`
|
|
41
34
|
: The role to be assigned to the new users. Valid values: `Owner`, `Member`.
|
|
@@ -45,12 +38,6 @@ m365 entra group member add [options]
|
|
|
45
38
|
|
|
46
39
|
## Examples
|
|
47
40
|
|
|
48
|
-
Add a single member specified by ID as a member to a group specified by display name.
|
|
49
|
-
|
|
50
|
-
```sh
|
|
51
|
-
m365 entra group member add --groupDisplayName Developers --userIds 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
52
|
-
```
|
|
53
|
-
|
|
54
41
|
Add a single member specified by ID as a member to a group specified by group name.
|
|
55
42
|
|
|
56
43
|
```sh
|
|
@@ -63,12 +50,6 @@ Add multiple members specified by ID as members to a group specified by ID.
|
|
|
63
50
|
m365 entra group member add --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userIds "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
64
51
|
```
|
|
65
52
|
|
|
66
|
-
Add a single member specified by UPN as an owner to a group specified by display name.
|
|
67
|
-
|
|
68
|
-
```sh
|
|
69
|
-
m365 entra group member add --groupDisplayName Developers --userNames john.doe@contoso.com --role Owner
|
|
70
|
-
```
|
|
71
|
-
|
|
72
53
|
Add a single member specified by UPN as an owner to a group specified by group name.
|
|
73
54
|
|
|
74
55
|
```sh
|
|
@@ -14,22 +14,16 @@ m365 entra group member set [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-i, --groupId [groupId]`
|
|
17
|
-
: The ID of the Entra ID group. Specify `groupId`,
|
|
17
|
+
: The ID of the Entra ID group. Specify `groupId`, or `groupName` but not both.
|
|
18
18
|
|
|
19
|
-
`-n, --
|
|
20
|
-
:
|
|
21
|
-
|
|
22
|
-
`--groupName [groupName]`
|
|
23
|
-
: The display name of the Microsoft Entra group. Specify `groupId`, `groupDisplayName` or `groupName` but not multiple.
|
|
24
|
-
|
|
25
|
-
`--ids [ids]`
|
|
26
|
-
: (deprecated. Use option `userIds` instead) Comma-separated list of user IDs. Specify either `ids`, `userIds` or `userNames` but not multiple.
|
|
19
|
+
`-n, --groupName [groupName]`
|
|
20
|
+
: The display name of the Microsoft Entra group. Specify `groupId`, `groupName` but not both.
|
|
27
21
|
|
|
28
22
|
`--userIds [userIds]`
|
|
29
|
-
: Comma-separated list of user IDs. Specify either `
|
|
23
|
+
: Comma-separated list of user IDs. Specify either `userIds` or `userNames` but not multiple.
|
|
30
24
|
|
|
31
25
|
`--userNames [userNames]`
|
|
32
|
-
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `
|
|
26
|
+
: The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `userIds` or `userNames` but not both.
|
|
33
27
|
|
|
34
28
|
`-r, --role <role>`
|
|
35
29
|
: The new role to be assigned to the members. Valid values: `Owner`, `Member`.
|
|
@@ -39,12 +33,6 @@ m365 entra group member set [options]
|
|
|
39
33
|
|
|
40
34
|
## Examples
|
|
41
35
|
|
|
42
|
-
Update a single member specified by ID to a member of a group specified by display name
|
|
43
|
-
|
|
44
|
-
```sh
|
|
45
|
-
m365 entra group member set --groupDisplayName Developers --userIds 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
46
|
-
```
|
|
47
|
-
|
|
48
36
|
Update a single member specified by ID to a member of a group specified by group name
|
|
49
37
|
|
|
50
38
|
```sh
|
|
@@ -57,12 +45,6 @@ Update multiple members specified by ID to members of a group specified by ID
|
|
|
57
45
|
m365 entra group member set --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userIds "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
58
46
|
```
|
|
59
47
|
|
|
60
|
-
Update a single member specified by UPN to an owner of a group specified by display name
|
|
61
|
-
|
|
62
|
-
```sh
|
|
63
|
-
m365 entra group member set --groupDisplayName Developers --userNames john.doe@contoso.com --role Owner
|
|
64
|
-
```
|
|
65
|
-
|
|
66
48
|
Update a single member specified by UPN to an owner of a group specified by group name
|
|
67
49
|
|
|
68
50
|
```sh
|
|
@@ -21,9 +21,6 @@ m365 entra m365group get [options]
|
|
|
21
21
|
`-n, --displayName [displayName]`
|
|
22
22
|
: Display name of the Microsoft 365 Group or Microsoft Teams team to retrieve information for. Specify either `id` or `displayName`, but not both.
|
|
23
23
|
|
|
24
|
-
`--includeSiteUrl`
|
|
25
|
-
: (deprecated. Use option `withSiteUrl` instead) Set to retrieve the site URL for the group.
|
|
26
|
-
|
|
27
24
|
`--withSiteUrl`
|
|
28
25
|
: Set to retrieve the site URL for the group.
|
|
29
26
|
```
|
|
@@ -21,9 +21,6 @@ m365 entra m365group list [options]
|
|
|
21
21
|
`-m, --mailNickname [displayName]`
|
|
22
22
|
: Retrieve only groups with mailNickname starting with the specified value.
|
|
23
23
|
|
|
24
|
-
`--includeSiteUrl`
|
|
25
|
-
: (deprecated. Use option `withSiteUrl` instead) Set to retrieve the site URL for each group.
|
|
26
|
-
|
|
27
24
|
`--withSiteUrl`
|
|
28
25
|
: Set to retrieve the site URL for each group.
|
|
29
26
|
|
|
@@ -27,9 +27,6 @@ m365 entra pim role assignment eligibility list [options]
|
|
|
27
27
|
`--groupName [groupName]`
|
|
28
28
|
: Display name of the group for which to list eligible roles. Specify either `userId`, `userName`, `groupId` or `groupName`. If not specified, all eligible roles will be listed.
|
|
29
29
|
|
|
30
|
-
`--includePrincipalDetails`
|
|
31
|
-
: (deprecated. Use option `withPrincipalDetails` instead) An optional flag to include details of the principals that were eligible for a role.
|
|
32
|
-
|
|
33
30
|
`--withPrincipalDetails`
|
|
34
31
|
: An optional flag to include details of the principals that were eligible for a role.
|
|
35
32
|
```
|
|
@@ -30,9 +30,6 @@ m365 entra pim role assignment list [options]
|
|
|
30
30
|
`-s, --startDateTime [startDateTime]`
|
|
31
31
|
: An optional ISO 8601 formatted date filter to search from.
|
|
32
32
|
|
|
33
|
-
`--includePrincipalDetails`
|
|
34
|
-
: (deprecated. Use option `withPrincipalDetails` instead) An optional flag to include details of the principals that were assigned a role.
|
|
35
|
-
|
|
36
33
|
`--withPrincipalDetails`
|
|
37
34
|
: An optional flag to include details of the principals that were assigned a role.
|
|
38
35
|
```
|
|
@@ -33,9 +33,6 @@ m365 entra pim role request list [options]
|
|
|
33
33
|
`-s, --status [status]`
|
|
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
|
-
`--includePrincipalDetails`
|
|
37
|
-
: (deprecated. Use option `withPrincipalDetails` instead) An optional flag to include details of the principals that were assigned a role.
|
|
38
|
-
|
|
39
36
|
`--withPrincipalDetails`
|
|
40
37
|
: An optional flag to include details of the principals that were assigned a role.
|
|
41
38
|
```
|
|
@@ -21,9 +21,6 @@ m365 flow list [options]
|
|
|
21
21
|
`--sharingStatus [sharingStatus]`
|
|
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
|
-
`--includeSolutions`
|
|
25
|
-
: (deprecated. Use option `withSolutions` instead) Include flows from solutions.
|
|
26
|
-
|
|
27
24
|
`--withSolutions`
|
|
28
25
|
: Include flows from solutions.
|
|
29
26
|
|
|
@@ -24,9 +24,6 @@ m365 flow run get [options]
|
|
|
24
24
|
`-e, --environmentName <environmentName>`
|
|
25
25
|
: The name of the environment where the flow is located.
|
|
26
26
|
|
|
27
|
-
`--includeTriggerInformation`
|
|
28
|
-
: (deprecated. Use option `withTrigger` instead) If specified, include information about the trigger details.
|
|
29
|
-
|
|
30
27
|
`--withTrigger`
|
|
31
28
|
: If specified, include information about the trigger details.
|
|
32
29
|
|
|
@@ -39,9 +39,6 @@ m365 graph subscription add [options]
|
|
|
39
39
|
`--latestTLSVersion [latestTLSVersion]`
|
|
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
|
-
`--includeResourceData`
|
|
43
|
-
: (deprecated. Use option `withResourceData` instead) When set, the change notifications will include the changed resource data.
|
|
44
|
-
|
|
45
42
|
`--withResourceData`
|
|
46
43
|
: When set, the change notifications will include the changed resource data.
|
|
47
44
|
|
|
@@ -18,9 +18,6 @@ m365 pp solution publisher list [options]
|
|
|
18
18
|
`-e, --environmentName <environmentName>`
|
|
19
19
|
: The name of the environment.
|
|
20
20
|
|
|
21
|
-
`--includeMicrosoftPublishers`
|
|
22
|
-
: (deprecated. Use option `withMicrosoftPublishers` instead) Include the Microsoft Publishers.
|
|
23
|
-
|
|
24
21
|
`--withMicrosoftPublishers`
|
|
25
22
|
: Include the Microsoft Publishers.
|
|
26
23
|
|
|
@@ -18,9 +18,6 @@ m365 purview threatassessment get [options]
|
|
|
18
18
|
`-i, --id <id>`
|
|
19
19
|
: The Id of the threat assessment.
|
|
20
20
|
|
|
21
|
-
`--includeResults`
|
|
22
|
-
: (deprecated. Use option `withResults` instead) Include the threat assessment results.
|
|
23
|
-
|
|
24
21
|
`--withResults`
|
|
25
22
|
: Include the threat assessment results.
|
|
26
23
|
```
|
|
@@ -33,9 +33,6 @@ m365 spo file move [options]
|
|
|
33
33
|
`--nameConflictBehavior [nameConflictBehavior]`
|
|
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
|
-
`--includeItemPermissions`
|
|
37
|
-
: (deprecated. Use option `withItemPermissions` instead) Ensure that item-level permissions are preserved during the move.
|
|
38
|
-
|
|
39
36
|
`--withItemPermissions`
|
|
40
37
|
: Ensure that item-level permissions are preserved during the move.
|
|
41
38
|
|
|
@@ -24,9 +24,6 @@ m365 spo hubsite get [options]
|
|
|
24
24
|
`-u, --url [url]`
|
|
25
25
|
: URL of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
26
26
|
|
|
27
|
-
`--includeAssociatedSites`
|
|
28
|
-
: (deprecated. Use option `withAssociatedSites` instead) Include the associated sites in the result (only in JSON output).
|
|
29
|
-
|
|
30
27
|
`--withAssociatedSites`
|
|
31
28
|
: Include the associated sites in the result (only in JSON output)
|
|
32
29
|
```
|
|
@@ -15,9 +15,6 @@ m365 spo hubsite list [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-i, --includeAssociatedSites`
|
|
19
|
-
: (deprecated. Use option `withAssociatedSites` instead) Include the associated sites in the result (only in JSON output).
|
|
20
|
-
|
|
21
18
|
`--withAssociatedSites`
|
|
22
19
|
: Include the associated sites in the result (only in JSON output).
|
|
23
20
|
```
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo
|
|
5
|
+
# spo site archive
|
|
6
6
|
|
|
7
7
|
Archives a site collection
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo
|
|
12
|
+
m365 spo site archive [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -44,13 +44,13 @@ After running this command, it may take a few minutes for the site to be fully a
|
|
|
44
44
|
Archive a specific SharePoint site collection
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
|
-
m365 spo
|
|
47
|
+
m365 spo site archive --url "https://contoso.sharepoint.com/sites/Marketing"
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Archive a specific SharePoint site collection without confirmation prompt
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
m365 spo
|
|
53
|
+
m365 spo site archive --url "https://contoso.sharepoint.com/sites/Marketing" --force
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Response
|
|
@@ -2,20 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo
|
|
5
|
+
# spo site list
|
|
6
6
|
|
|
7
7
|
Lists modern sites of the given type
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Alias
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
m365 spo site list
|
|
12
|
+
m365 spo site list [options]
|
|
19
13
|
```
|
|
20
14
|
|
|
21
15
|
## Options
|
|
@@ -30,9 +24,6 @@ m365 spo site list
|
|
|
30
24
|
`--filter [filter]`
|
|
31
25
|
: filter to apply when retrieving sites.
|
|
32
26
|
|
|
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
27
|
`--withOneDriveSites`
|
|
37
28
|
: use this switch to include OneDrive sites in the result when retrieving sites. Do not specify the `type` or `webTemplate` options when using this.
|
|
38
29
|
```
|
|
@@ -58,31 +49,31 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
58
49
|
List all sites in the currently connected tenant.
|
|
59
50
|
|
|
60
51
|
```sh
|
|
61
|
-
m365 spo
|
|
52
|
+
m365 spo site list
|
|
62
53
|
```
|
|
63
54
|
|
|
64
55
|
List all group connected team sites in the currently connected tenant.
|
|
65
56
|
|
|
66
57
|
```sh
|
|
67
|
-
m365 spo
|
|
58
|
+
m365 spo site list --type TeamSite
|
|
68
59
|
```
|
|
69
60
|
|
|
70
61
|
List all communication sites in the currently connected tenant.
|
|
71
62
|
|
|
72
63
|
```sh
|
|
73
|
-
m365 spo
|
|
64
|
+
m365 spo site list --type CommunicationSite
|
|
74
65
|
```
|
|
75
66
|
|
|
76
67
|
List all group connected team sites that contain _project_ in the URL.
|
|
77
68
|
|
|
78
69
|
```sh
|
|
79
|
-
m365 spo
|
|
70
|
+
m365 spo site list --type TeamSite --filter "Url -like 'project'"
|
|
80
71
|
```
|
|
81
72
|
|
|
82
73
|
List all sites in the currently connected tenant including OneDrive sites.
|
|
83
74
|
|
|
84
75
|
```sh
|
|
85
|
-
m365 spo
|
|
76
|
+
m365 spo site list --withOneDriveSites
|
|
86
77
|
```
|
|
87
78
|
|
|
88
79
|
## Response
|
package/docs/docs/cmd/spo/{tenant/tenant-site-membership-list.mdx → site/site-membership-list.mdx}
RENAMED
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo
|
|
5
|
+
# spo site membership list
|
|
6
6
|
|
|
7
7
|
Retrieves information about default site groups' membership
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo
|
|
12
|
+
m365 spo site membership list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -39,13 +39,13 @@ For other scenarios, refer to the [spo web get --withGroups](../web/web-get.mdx)
|
|
|
39
39
|
Retrieve information about default site groups' owners, members, and visitors of the site.
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
m365 spo
|
|
42
|
+
m365 spo site membership list --siteUrl https://contoso.sharepoint.com
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Retrieve information about site owners.
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
m365 spo
|
|
48
|
+
m365 spo site membership list --siteUrl https://contoso.sharepoint.com --role Owner
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
## Response
|
|
@@ -102,7 +102,7 @@ m365 spo tenant site membership list --siteUrl https://contoso.sharepoint.com --
|
|
|
102
102
|
<TabItem value="Markdown">
|
|
103
103
|
|
|
104
104
|
```md
|
|
105
|
-
# spo
|
|
105
|
+
# spo site membership list --siteUrl "https://contoso.sharepoint.com/sites/AudienceTest"
|
|
106
106
|
|
|
107
107
|
Date: 11/08/2024
|
|
108
108
|
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo
|
|
5
|
+
# spo site rename
|
|
6
6
|
|
|
7
7
|
Renames the URL and title of a site collection
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo
|
|
12
|
+
m365 spo site rename [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -38,7 +38,7 @@ m365 spo tenant site rename [options]
|
|
|
38
38
|
|
|
39
39
|
## Remarks
|
|
40
40
|
|
|
41
|
-
Renaming site collections is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the operation to complete fully, you should use the `--wait` flag. When using this flag, the `spo
|
|
41
|
+
Renaming site collections is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the operation to complete fully, you should use the `--wait` flag. When using this flag, the `spo site rename` command will keep running until it receives confirmation from Microsoft 365 that the site rename operation has completed.
|
|
42
42
|
|
|
43
43
|
:::info
|
|
44
44
|
|
|
@@ -51,19 +51,19 @@ To use this command you must have permissions to access the tenant admin site.
|
|
|
51
51
|
Starts the rename of the site collection with name "samplesite" to "renamed" without modifying the title
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
|
-
m365 spo
|
|
54
|
+
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
Starts the rename of the site collection with name "samplesite" to "renamed" modifying the title of the site to "New Title"
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
m365 spo
|
|
60
|
+
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title"
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
Renames the specified site collection and waits for the operation to complete
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
m365 spo
|
|
66
|
+
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title" --wait
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
## Response
|
|
@@ -130,7 +130,7 @@ m365 spo tenant site rename --url http://contoso.sharepoint.com/samplesite --new
|
|
|
130
130
|
<TabItem value="Markdown">
|
|
131
131
|
|
|
132
132
|
```md
|
|
133
|
-
# spo
|
|
133
|
+
# spo site rename --url "https://contoso.sharepoint.com/sites/team1" --newUrl "https://contoso.sharepoint.com/sites/team2"
|
|
134
134
|
|
|
135
135
|
Date: 2023-06-21
|
|
136
136
|
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo
|
|
5
|
+
# spo site unarchive
|
|
6
6
|
|
|
7
7
|
Unarchives a site collection
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo
|
|
12
|
+
m365 spo site unarchive [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -49,13 +49,13 @@ After running this command, it may take a few minutes for the site to be fully r
|
|
|
49
49
|
Unarchive a specific site collection.
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
m365 spo
|
|
52
|
+
m365 spo site unarchive --url "https://contoso.sharepoint.com/sites/Marketing"
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Unarchive a specific site collection without confirmation prompt.
|
|
56
56
|
|
|
57
57
|
```sh
|
|
58
|
-
m365 spo
|
|
58
|
+
m365 spo site unarchive --url "https://contoso.sharepoint.com/sites/Marketing" --force
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
## Response
|
|
@@ -30,9 +30,6 @@ m365 spo term list [options]
|
|
|
30
30
|
`--termSetName [termSetName]`
|
|
31
31
|
: Name of the term set for which to retrieve terms. Specify `termSetId` or `termSetName` but not both.
|
|
32
32
|
|
|
33
|
-
`--includeChildTerms`
|
|
34
|
-
: (deprecated. Use option `withChildTerms` instead) If specified, child terms are loaded as well.
|
|
35
|
-
|
|
36
33
|
`--withChildTerms`
|
|
37
34
|
: If specified, child terms are loaded as well.
|
|
38
35
|
```
|
|
@@ -26,13 +26,10 @@ 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`, `
|
|
30
|
-
|
|
31
|
-
`--includeAllHistory`
|
|
32
|
-
: (deprecated. Use option `withChildTerms` instead) Include all chat history. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, `withAllHistory` or neither.
|
|
29
|
+
: Include chat history until a certain point in time. Specify either `visibleHistoryStartDateTime`, `withAllHistory` or neither.
|
|
33
30
|
|
|
34
31
|
`--withAllHistory`
|
|
35
|
-
: Include all chat history. Specify either `visibleHistoryStartDateTime`, `
|
|
32
|
+
: Include all chat history. Specify either `visibleHistoryStartDateTime`, `withAllHistory` or neither.
|
|
36
33
|
```
|
|
37
34
|
|
|
38
35
|
<Global />
|
|
@@ -15,9 +15,6 @@ m365 viva engage network list [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`--includeSuspended`
|
|
19
|
-
: (deprecated. Use option `withSuspended` instead) Include the networks in which the user is suspended.
|
|
20
|
-
|
|
21
18
|
`--withSuspended`
|
|
22
19
|
: Include the networks in which the user is suspended.
|
|
23
20
|
```
|
package/package.json
CHANGED