@pnp/cli-microsoft365 11.0.0-beta.4abfd23 → 11.0.0-beta.677f8d3

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.
Files changed (61) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/Command.js +0 -4
  4. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
  5. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +27 -13
  6. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +43 -18
  7. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +21 -10
  8. package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +49 -25
  9. package/dist/m365/entra/commands/group/group-member-add.js +27 -6
  10. package/dist/m365/entra/commands/group/group-member-set.js +26 -5
  11. package/dist/m365/entra/commands/m365group/m365group-get.js +7 -1
  12. package/dist/m365/entra/commands/m365group/m365group-list.js +7 -1
  13. package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +7 -1
  14. package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +7 -1
  15. package/dist/m365/entra/commands/pim/pim-role-request-list.js +7 -1
  16. package/dist/m365/flow/commands/flow-list.js +14 -7
  17. package/dist/m365/flow/commands/run/run-get.js +7 -1
  18. package/dist/m365/graph/commands/openextension/openextension-add.js +2 -2
  19. package/dist/m365/graph/commands/openextension/openextension-set.js +6 -2
  20. package/dist/m365/graph/commands/subscription/subscription-add.js +10 -3
  21. package/dist/m365/pp/commands/solution/solution-publisher-list.js +8 -1
  22. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +7 -1
  23. package/dist/m365/spo/commands/file/file-move.js +8 -2
  24. package/dist/m365/spo/commands/hubsite/hubsite-get.js +13 -4
  25. package/dist/m365/spo/commands/hubsite/hubsite-list.js +8 -1
  26. package/dist/m365/spo/commands/tenant/SPOTenantSitePropertiesEnumerable.js +2 -0
  27. package/dist/m365/spo/commands/tenant/TenantSiteProperties.js +2 -0
  28. package/dist/m365/spo/commands/{site/site-archive.js → tenant/tenant-site-archive.js} +14 -14
  29. package/dist/m365/spo/commands/{site/site-list.js → tenant/tenant-site-list.js} +27 -16
  30. package/dist/m365/spo/commands/{site/site-membership-list.js → tenant/tenant-site-membership-list.js} +15 -15
  31. package/dist/m365/spo/commands/{site/site-rename.js → tenant/tenant-site-rename.js} +14 -14
  32. package/dist/m365/spo/commands/{site/site-unarchive.js → tenant/tenant-site-unarchive.js} +14 -14
  33. package/dist/m365/spo/commands/term/term-list.js +7 -1
  34. package/dist/m365/spo/commands.js +5 -4
  35. package/dist/m365/teams/commands/chat/chat-member-add.js +9 -3
  36. package/dist/m365/viva/commands/engage/engage-network-list.js +7 -1
  37. package/docs/docs/cmd/entra/group/group-member-add.mdx +26 -7
  38. package/docs/docs/cmd/entra/group/group-member-set.mdx +23 -5
  39. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +3 -0
  40. package/docs/docs/cmd/entra/m365group/m365group-list.mdx +3 -0
  41. package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +3 -0
  42. package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +3 -0
  43. package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +3 -0
  44. package/docs/docs/cmd/flow/flow-list.mdx +3 -0
  45. package/docs/docs/cmd/flow/run/run-get.mdx +3 -0
  46. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +3 -0
  47. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +3 -0
  48. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +3 -0
  49. package/docs/docs/cmd/spo/file/file-move.mdx +3 -0
  50. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +1 -1
  51. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +3 -0
  52. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +3 -0
  53. package/docs/docs/cmd/spo/{site/site-archive.mdx → tenant/tenant-site-archive.mdx} +4 -4
  54. package/docs/docs/cmd/spo/{site/site-list.mdx → tenant/tenant-site-list.mdx} +16 -7
  55. package/docs/docs/cmd/spo/{site/site-membership-list.mdx → tenant/tenant-site-membership-list.mdx} +5 -5
  56. package/docs/docs/cmd/spo/{site/site-rename.mdx → tenant/tenant-site-rename.mdx} +7 -7
  57. package/docs/docs/cmd/spo/{site/site-unarchive.mdx → tenant/tenant-site-unarchive.mdx} +4 -4
  58. package/docs/docs/cmd/spo/term/term-list.mdx +3 -0
  59. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +5 -2
  60. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +3 -0
  61. package/package.json +1 -1
@@ -24,6 +24,9 @@ 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
+
27
30
  `--withAssociatedSites`
28
31
  : Include the associated sites in the result (only in JSON output)
29
32
  ```
@@ -15,6 +15,9 @@ 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
+
18
21
  `--withAssociatedSites`
19
22
  : Include the associated sites in the result (only in JSON output).
20
23
  ```
@@ -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 site archive
5
+ # spo tenant site archive
6
6
 
7
7
  Archives a site collection
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 spo site archive [options]
12
+ m365 spo tenant 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 site archive --url "https://contoso.sharepoint.com/sites/Marketing"
47
+ m365 spo tenant 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 site archive --url "https://contoso.sharepoint.com/sites/Marketing" --force
53
+ m365 spo tenant site archive --url "https://contoso.sharepoint.com/sites/Marketing" --force
54
54
  ```
55
55
 
56
56
  ## Response
@@ -2,14 +2,20 @@ 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 site list
5
+ # spo tenant 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 site list [options]
12
+ m365 spo tenant site list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 spo site list
13
19
  ```
14
20
 
15
21
  ## Options
@@ -24,6 +30,9 @@ m365 spo site list [options]
24
30
  `--filter [filter]`
25
31
  : filter to apply when retrieving sites.
26
32
 
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
+
27
36
  `--withOneDriveSites`
28
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.
29
38
  ```
@@ -49,31 +58,31 @@ To use this command you have to have permissions to access the tenant admin site
49
58
  List all sites in the currently connected tenant.
50
59
 
51
60
  ```sh
52
- m365 spo site list
61
+ m365 spo tenant site list
53
62
  ```
54
63
 
55
64
  List all group connected team sites in the currently connected tenant.
56
65
 
57
66
  ```sh
58
- m365 spo site list --type TeamSite
67
+ m365 spo tenant site list --type TeamSite
59
68
  ```
60
69
 
61
70
  List all communication sites in the currently connected tenant.
62
71
 
63
72
  ```sh
64
- m365 spo site list --type CommunicationSite
73
+ m365 spo tenant site list --type CommunicationSite
65
74
  ```
66
75
 
67
76
  List all group connected team sites that contain _project_ in the URL.
68
77
 
69
78
  ```sh
70
- m365 spo site list --type TeamSite --filter "Url -like 'project'"
79
+ m365 spo tenant site list --type TeamSite --filter "Url -like 'project'"
71
80
  ```
72
81
 
73
82
  List all sites in the currently connected tenant including OneDrive sites.
74
83
 
75
84
  ```sh
76
- m365 spo site list --withOneDriveSites
85
+ m365 spo tenant site list --withOneDriveSites
77
86
  ```
78
87
 
79
88
  ## Response
@@ -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 site membership list
5
+ # spo tenant 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 site membership list [options]
12
+ m365 spo tenant 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 site membership list --siteUrl https://contoso.sharepoint.com
42
+ m365 spo tenant 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 site membership list --siteUrl https://contoso.sharepoint.com --role Owner
48
+ m365 spo tenant site membership list --siteUrl https://contoso.sharepoint.com --role Owner
49
49
  ```
50
50
 
51
51
  ## Response
@@ -102,7 +102,7 @@ m365 spo site membership list --siteUrl https://contoso.sharepoint.com --role Ow
102
102
  <TabItem value="Markdown">
103
103
 
104
104
  ```md
105
- # spo site membership list --siteUrl "https://contoso.sharepoint.com/sites/AudienceTest"
105
+ # spo tenant 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 site rename
5
+ # spo tenant 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 site rename [options]
12
+ m365 spo tenant site rename [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -38,7 +38,7 @@ m365 spo 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 site rename` command will keep running until it receives confirmation from Microsoft 365 that the site rename operation has completed.
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 tenant 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 site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed
54
+ m365 spo tenant 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 site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title"
60
+ m365 spo tenant 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 site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title" --wait
66
+ m365 spo tenant 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 site rename --url http://contoso.sharepoint.com/samplesite --newUrl htt
130
130
  <TabItem value="Markdown">
131
131
 
132
132
  ```md
133
- # spo site rename --url "https://contoso.sharepoint.com/sites/team1" --newUrl "https://contoso.sharepoint.com/sites/team2"
133
+ # spo tenant 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 site unarchive
5
+ # spo tenant site unarchive
6
6
 
7
7
  Unarchives a site collection
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 spo site unarchive [options]
12
+ m365 spo tenant 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 site unarchive --url "https://contoso.sharepoint.com/sites/Marketing"
52
+ m365 spo tenant 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 site unarchive --url "https://contoso.sharepoint.com/sites/Marketing" --force
58
+ m365 spo tenant site unarchive --url "https://contoso.sharepoint.com/sites/Marketing" --force
59
59
  ```
60
60
 
61
61
  ## Response
@@ -30,6 +30,9 @@ 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
+
33
36
  `--withChildTerms`
34
37
  : If specified, child terms are loaded as well.
35
38
  ```
@@ -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`, `withAllHistory` or neither.
29
+ : Include chat history until a certain point in time. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, `withAllHistory` or neither.
30
+
31
+ `--includeAllHistory`
32
+ : (deprecated. Use option `withChildTerms` instead) Include all chat history. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, `withAllHistory` or neither.
30
33
 
31
34
  `--withAllHistory`
32
- : Include all chat history. Specify either `visibleHistoryStartDateTime`, `withAllHistory` or neither.
35
+ : Include all chat history. Specify either `visibleHistoryStartDateTime`, `includeAllHistory`, `withAllHistory` or neither.
33
36
  ```
34
37
 
35
38
  <Global />
@@ -15,6 +15,9 @@ 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
+
18
21
  `--withSuspended`
19
22
  : Include the networks in which the user is suspended.
20
23
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "11.0.0-beta.4abfd23",
3
+ "version": "11.0.0-beta.677f8d3",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",