@pnp/cli-microsoft365 11.10.0-beta.6b0583b → 11.10.0-beta.df8d498

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 (113) hide show
  1. package/.devcontainer/Dockerfile +1 -1
  2. package/.devproxy/api-specs/sharepoint-admin.yaml +50 -0
  3. package/Dockerfile +1 -1
  4. package/allCommands.json +1 -1
  5. package/allCommandsFull.json +1 -1
  6. package/dist/Auth.js +4 -2
  7. package/dist/m365/outlook/commands/event/event-get.js +77 -0
  8. package/dist/m365/outlook/commands.js +1 -0
  9. package/dist/m365/planner/commands/roster/roster-add.js +5 -0
  10. package/dist/m365/planner/commands/roster/roster-get.js +8 -18
  11. package/dist/m365/planner/commands/roster/roster-member-add.js +29 -45
  12. package/dist/m365/planner/commands/roster/roster-member-get.js +28 -44
  13. package/dist/m365/planner/commands/roster/roster-member-list.js +8 -18
  14. package/dist/m365/planner/commands/roster/roster-member-remove.js +30 -48
  15. package/dist/m365/planner/commands/roster/roster-plan-list.js +28 -46
  16. package/dist/m365/planner/commands/roster/roster-remove.js +9 -27
  17. package/dist/m365/planner/commands/task/task-add.js +97 -111
  18. package/dist/m365/planner/commands/task/task-checklistitem-add.js +10 -23
  19. package/dist/m365/planner/commands/task/task-checklistitem-list.js +16 -26
  20. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -23
  21. package/dist/m365/planner/commands/task/task-get.js +46 -69
  22. package/dist/m365/planner/commands/task/task-list.js +33 -69
  23. package/dist/m365/planner/commands/task/task-reference-add.js +15 -35
  24. package/dist/m365/planner/commands/task/task-reference-list.js +8 -18
  25. package/dist/m365/planner/commands/task/task-reference-remove.js +26 -36
  26. package/dist/m365/planner/commands/task/task-remove.js +47 -71
  27. package/dist/m365/planner/commands/task/task-set.js +92 -113
  28. package/dist/m365/pp/commands/website/Webrole.js +2 -0
  29. package/dist/m365/pp/commands/website/website-remove.js +80 -0
  30. package/dist/m365/pp/commands/website/website-webrole-list.js +61 -0
  31. package/dist/m365/pp/commands.js +3 -1
  32. package/dist/m365/purview/commands/auditlog/auditlog-list.js +36 -60
  33. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +34 -53
  34. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +10 -23
  35. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +11 -32
  36. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +9 -24
  37. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +10 -23
  38. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +11 -32
  39. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +21 -35
  40. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +40 -82
  41. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +10 -23
  42. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +11 -32
  43. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +35 -78
  44. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +19 -44
  45. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +16 -39
  46. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +16 -39
  47. package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +44 -67
  48. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +11 -33
  49. package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +10 -33
  50. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
  51. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.2.js +19 -0
  52. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  53. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.2.js +55 -0
  54. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  55. package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
  56. package/dist/m365/spo/commands/web/{web-alert-list.js → web-rule-list.js} +7 -4
  57. package/dist/m365/spo/commands/web/{web-alert-remove.js → web-rule-remove.js} +7 -4
  58. package/dist/m365/spo/commands.js +2 -0
  59. package/dist/utils/powerPlatform.js +20 -0
  60. package/docs/docs/cmd/outlook/event/event-get.mdx +280 -0
  61. package/docs/docs/cmd/pp/website/website-remove.mdx +89 -0
  62. package/docs/docs/cmd/pp/website/website-webrole-list.mdx +139 -0
  63. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  64. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +21 -0
  65. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +19 -0
  66. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +19 -0
  67. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +21 -0
  68. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +21 -0
  69. package/docs/docs/cmd/spo/cdn/cdn-get.mdx +19 -0
  70. package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +21 -0
  71. package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +19 -0
  72. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +21 -0
  73. package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +19 -0
  74. package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +21 -0
  75. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +21 -0
  76. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +19 -0
  77. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +19 -0
  78. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +19 -0
  79. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +21 -0
  80. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +21 -0
  81. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +19 -0
  82. package/docs/docs/cmd/spo/field/field-add.mdx +19 -0
  83. package/docs/docs/cmd/spo/field/field-get.mdx +19 -0
  84. package/docs/docs/cmd/spo/field/field-list.mdx +19 -0
  85. package/docs/docs/cmd/spo/field/field-remove.mdx +21 -0
  86. package/docs/docs/cmd/spo/field/field-set.mdx +21 -0
  87. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +21 -0
  88. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +21 -0
  89. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +21 -0
  90. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -0
  91. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -0
  92. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +21 -0
  93. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +21 -0
  94. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +19 -0
  95. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +21 -2
  96. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +19 -0
  97. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +19 -0
  98. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +24 -3
  99. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +21 -2
  100. package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +21 -0
  101. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +19 -0
  102. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +21 -0
  103. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +19 -0
  104. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +19 -0
  105. package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +19 -0
  106. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +21 -0
  107. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +21 -0
  108. package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +19 -0
  109. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +21 -0
  110. package/docs/docs/cmd/spo/web/{web-alert-list.mdx → web-rule-list.mdx} +13 -7
  111. package/docs/docs/cmd/spo/web/{web-alert-remove.mdx → web-rule-remove.mdx} +10 -4
  112. package/npm-shrinkwrap.json +1361 -648
  113. package/package.json +15 -15
@@ -30,6 +30,25 @@ m365 spo hubsite get [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|---------------|
40
+ | SharePoint | AllSites.Read |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | Sites.Read.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  Get information about the hub site with specific ID.
@@ -25,6 +25,25 @@ m365 spo hubsite list [options]
25
25
 
26
26
  When using the text or csv output type, the command lists only the values of the `ID`, `SiteUrl` and `Title` properties of the hub site. With the output type as JSON, all available properties are included in the command output.
27
27
 
28
+ ## Permissions
29
+
30
+ <Tabs>
31
+ <TabItem value="Delegated">
32
+
33
+ | Resource | Permissions |
34
+ |------------|---------------|
35
+ | SharePoint | AllSites.Read |
36
+
37
+ </TabItem>
38
+ <TabItem value="Application">
39
+
40
+ | Resource | Permissions |
41
+ |------------|----------------|
42
+ | SharePoint | Sites.Read.All |
43
+
44
+ </TabItem>
45
+ </Tabs>
46
+
28
47
  ## Examples
29
48
 
30
49
  List hub sites in the current tenant
@@ -31,6 +31,25 @@ To use this command you must be a Global or SharePoint administrator.
31
31
 
32
32
  If the specified site collection is already registered as a hub site, you will get a `This site is already a HubSite.` error.
33
33
 
34
+ ## Permissions
35
+
36
+ <Tabs>
37
+ <TabItem value="Delegated">
38
+
39
+ | Resource | Permissions |
40
+ |------------|----------------------|
41
+ | SharePoint | AllSites.FullControl |
42
+
43
+ </TabItem>
44
+ <TabItem value="Application">
45
+
46
+ | Resource | Permissions |
47
+ |------------|-----------------------|
48
+ | SharePoint | Sites.FullControl.All |
49
+
50
+ </TabItem>
51
+ </Tabs>
52
+
34
53
  ## Examples
35
54
 
36
55
  Register the site collection with URL _https://contoso.sharepoint.com/sites/sales_ as a hub site
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo hubsite rights grant
4
6
 
@@ -33,6 +35,25 @@ To use this command you must be a Global or SharePoint administrator.
33
35
 
34
36
  :::
35
37
 
38
+ ## Permissions
39
+
40
+ <Tabs>
41
+ <TabItem value="Delegated">
42
+
43
+ | Resource | Permissions |
44
+ |------------|----------------------|
45
+ | SharePoint | AllSites.FullControl |
46
+
47
+ </TabItem>
48
+ <TabItem value="Application">
49
+
50
+ | Resource | Permissions |
51
+ |------------|-----------------------|
52
+ | SharePoint | Sites.FullControl.All |
53
+
54
+ </TabItem>
55
+ </Tabs>
56
+
36
57
  ## Examples
37
58
 
38
59
  Grant user with specific alias, permission to join sites to the hub site with specific URL.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo hubsite rights revoke
4
6
 
@@ -33,6 +35,25 @@ To use this command you must be a Global or SharePoint administrator.
33
35
 
34
36
  :::
35
37
 
38
+ ## Permissions
39
+
40
+ <Tabs>
41
+ <TabItem value="Delegated">
42
+
43
+ | Resource | Permissions |
44
+ |------------|----------------------|
45
+ | SharePoint | AllSites.FullControl |
46
+
47
+ </TabItem>
48
+ <TabItem value="Application">
49
+
50
+ | Resource | Permissions |
51
+ |------------|-----------------------|
52
+ | SharePoint | Sites.FullControl.All |
53
+
54
+ </TabItem>
55
+ </Tabs>
56
+
36
57
  ## Examples
37
58
 
38
59
  Revoke rights to join sites to the hub site with specific URL. from user with specific alias. Will prompt for confirmation before revoking the rights.
@@ -40,6 +40,25 @@ To use this command you must be a Global or SharePoint administrator.
40
40
 
41
41
  If the specified `id` doesn't refer to an existing hub site, you will get an `Unknown Error` error.
42
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------------|
50
+ | SharePoint | AllSites.FullControl |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|-----------------------|
57
+ | SharePoint | Sites.FullControl.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
43
62
  ## Examples
44
63
 
45
64
  Update hub site's title.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo hubsite unregister
4
6
 
@@ -32,6 +34,25 @@ To use this command you must be a Global or SharePoint administrator.
32
34
 
33
35
  If the specified site collection is not registered as a hub site, you will get a `hubSiteId` error.
34
36
 
37
+ ## Permissions
38
+
39
+ <Tabs>
40
+ <TabItem value="Delegated">
41
+
42
+ | Resource | Permissions |
43
+ |------------|----------------------|
44
+ | SharePoint | AllSites.FullControl |
45
+
46
+ </TabItem>
47
+ <TabItem value="Application">
48
+
49
+ | Resource | Permissions |
50
+ |------------|-----------------------|
51
+ | SharePoint | Sites.FullControl.All |
52
+
53
+ </TabItem>
54
+ </Tabs>
55
+
35
56
  ## Examples
36
57
 
37
58
  Unregister the site collection with specific URL. as a hub site. Will prompt for confirmation before unregistering the hub site.
@@ -2,14 +2,20 @@ import Global from '../../_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # spo web alert list
5
+ # spo web rule list
6
6
 
7
7
  Lists all SharePoint list alerts
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 spo web alert list [options]
12
+ m365 spo web rule list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 spo web alert list
13
19
  ```
14
20
 
15
21
  ## Options
@@ -60,25 +66,25 @@ m365 spo web alert list [options]
60
66
  List all alerts for a SharePoint site:
61
67
 
62
68
  ```sh
63
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing
69
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing
64
70
  ```
65
71
 
66
72
  List alerts for a SharePoint list by listUrl:
67
73
 
68
74
  ```sh
69
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/Marketing/lists/Tasks
75
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/Marketing/lists/Tasks
70
76
  ```
71
77
 
72
78
  List alerts for a specific user by userId:
73
79
 
74
80
  ```sh
75
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --userId 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
81
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --userId 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
76
82
  ```
77
83
 
78
84
  List alerts for a specific list by title and user by username:
79
85
 
80
86
  ```sh
81
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle "Tasks" --userName jane.doe@contoso.com
87
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle "Tasks" --userName jane.doe@contoso.com
82
88
  ```
83
89
 
84
90
  ## Response
@@ -161,7 +167,7 @@ m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing
161
167
  <TabItem value="Markdown">
162
168
 
163
169
  ```md
164
- # spo web alert list --webUrl "https://contoso.sharepoint.com/sites/marketing" --listUrl "/sites/marketing/Shared Documents"
170
+ # spo web rule list --webUrl "https://contoso.sharepoint.com/sites/marketing" --listUrl "/sites/marketing/Shared Documents"
165
171
 
166
172
  Date: 10/6/2025
167
173
 
@@ -2,14 +2,20 @@ import Global from '../../_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # spo web alert remove
5
+ # spo web rule remove
6
6
 
7
7
  Removes an alert from a SharePoint list
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 spo web alert remove [options]
12
+ m365 spo web rule remove [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 spo web alert remove
13
19
  ```
14
20
 
15
21
  ## Options
@@ -51,13 +57,13 @@ m365 spo web alert remove [options]
51
57
  Remove an alert by ID
52
58
 
53
59
  ```sh
54
- m365 spo web alert remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
60
+ m365 spo web rule remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
55
61
  ```
56
62
 
57
63
  Remove another alert without confirmation
58
64
 
59
65
  ```sh
60
- m365 spo web alert remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2b6f1c8a-3e6a-4c7e-b8c0-7bf4c8e6d7f1 --force
66
+ m365 spo web rule remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2b6f1c8a-3e6a-4c7e-b8c0-7bf4c8e6d7f1 --force
61
67
  ```
62
68
 
63
69
  ## Response