@pnp/cli-microsoft365 11.9.0 → 11.10.0-beta.6474466

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 (59) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/m365/planner/commands/roster/roster-add.js +5 -0
  4. package/dist/m365/planner/commands/roster/roster-get.js +8 -18
  5. package/dist/m365/planner/commands/roster/roster-member-add.js +29 -45
  6. package/dist/m365/planner/commands/roster/roster-member-get.js +28 -44
  7. package/dist/m365/planner/commands/roster/roster-member-list.js +8 -18
  8. package/dist/m365/planner/commands/roster/roster-member-remove.js +30 -48
  9. package/dist/m365/planner/commands/roster/roster-plan-list.js +28 -46
  10. package/dist/m365/planner/commands/roster/roster-remove.js +9 -27
  11. package/dist/m365/planner/commands/task/task-add.js +97 -111
  12. package/dist/m365/planner/commands/task/task-checklistitem-add.js +10 -23
  13. package/dist/m365/planner/commands/task/task-checklistitem-list.js +16 -26
  14. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -23
  15. package/dist/m365/planner/commands/task/task-get.js +46 -69
  16. package/dist/m365/planner/commands/task/task-list.js +33 -69
  17. package/dist/m365/planner/commands/task/task-reference-add.js +15 -35
  18. package/dist/m365/planner/commands/task/task-reference-list.js +8 -18
  19. package/dist/m365/planner/commands/task/task-reference-remove.js +26 -36
  20. package/dist/m365/planner/commands/task/task-remove.js +47 -71
  21. package/dist/m365/planner/commands/task/task-set.js +92 -113
  22. package/dist/m365/purview/commands/auditlog/auditlog-list.js +36 -60
  23. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +34 -53
  24. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +10 -23
  25. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +11 -32
  26. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +9 -24
  27. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +10 -23
  28. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +11 -32
  29. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +21 -35
  30. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +40 -82
  31. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +10 -23
  32. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +11 -32
  33. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +35 -78
  34. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +19 -44
  35. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +16 -39
  36. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +16 -39
  37. package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +44 -67
  38. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +11 -33
  39. package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +10 -33
  40. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +21 -0
  41. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +19 -0
  42. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +19 -0
  43. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +21 -0
  44. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +21 -0
  45. package/docs/docs/cmd/spo/cdn/cdn-get.mdx +19 -0
  46. package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +21 -0
  47. package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +19 -0
  48. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +21 -0
  49. package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +19 -0
  50. package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +21 -0
  51. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +21 -0
  52. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +19 -0
  53. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +19 -0
  54. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +19 -0
  55. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +21 -0
  56. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +21 -0
  57. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +19 -0
  58. package/npm-shrinkwrap.json +2 -2
  59. package/package.json +2 -2
@@ -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 applicationcustomizer add
4
6
 
@@ -37,6 +39,25 @@ m365 spo applicationcustomizer add [options]
37
39
 
38
40
  <Global />
39
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|----------------------|
49
+ | SharePoint | AllSites.FullControl |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|-----------------------|
56
+ | SharePoint | Sites.FullControl.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
40
61
  ## Remarks
41
62
 
42
63
  Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell treats quotes differently. For example, this is how an Application Customizer can be created from the Windows cmd.exe:
@@ -36,6 +36,25 @@ m365 spo applicationcustomizer get [options]
36
36
 
37
37
  <Global />
38
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |------------|---------------|
46
+ | SharePoint | AllSites.Read |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|----------------|
53
+ | SharePoint | Sites.Read.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Remarks
40
59
 
41
60
  This command can be used for retrieving an application customizer from a specific site. To retrieve an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer get](../tenant/tenant-applicationcustomizer-get.mdx) command.
@@ -24,6 +24,25 @@ m365 spo applicationcustomizer list [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |------------|---------------|
34
+ | SharePoint | AllSites.Read |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |------------|----------------|
41
+ | SharePoint | Sites.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Remarks
28
47
 
29
48
  This command can be used for retrieving a list of application customizers from a specific site. To retrieve a list of application customizers that are installed tenant-wide, view our dedicated [spo tenant applicationcustomizer list](../tenant/tenant-applicationcustomizer-list.mdx) command.
@@ -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 applicationcustomizer remove
4
6
 
@@ -34,6 +36,25 @@ m365 spo applicationcustomizer remove [options]
34
36
 
35
37
  <Global />
36
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |------------|----------------------|
46
+ | SharePoint | AllSites.FullControl |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|-----------------------|
53
+ | SharePoint | Sites.FullControl.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
37
58
  ## Remarks
38
59
 
39
60
  If the command finds multiple application customizers with the specified title or clientSideComponentId, it will prompt you to disambiguate which customizer it should remove, listing the discovered IDs.
@@ -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 applicationcustomizer set
4
6
 
@@ -43,6 +45,25 @@ m365 spo applicationcustomizer set [options]
43
45
 
44
46
  <Global />
45
47
 
48
+ ## Permissions
49
+
50
+ <Tabs>
51
+ <TabItem value="Delegated">
52
+
53
+ | Resource | Permissions |
54
+ |------------|----------------------|
55
+ | SharePoint | AllSites.FullControl |
56
+
57
+ </TabItem>
58
+ <TabItem value="Application">
59
+
60
+ | Resource | Permissions |
61
+ |------------|-----------------------|
62
+ | SharePoint | Sites.FullControl.All |
63
+
64
+ </TabItem>
65
+ </Tabs>
66
+
46
67
  ## Remarks
47
68
 
48
69
  Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for `clientSideComponentProperties` and `hostProperties` options that have JSON value because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
@@ -21,6 +21,25 @@ m365 spo cdn get [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |------------|----------------------|
31
+ | SharePoint | AllSites.FullControl |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |------------|-----------------------|
38
+ | SharePoint | Sites.FullControl.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Remarks
25
44
 
26
45
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn origin add
4
6
 
@@ -22,6 +24,25 @@ m365 spo cdn origin add [options]
22
24
 
23
25
  <Global />
24
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |------------|----------------------|
34
+ | SharePoint | AllSites.FullControl |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |------------|-----------------------|
41
+ | SharePoint | Sites.FullControl.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
25
46
  ## Remarks
26
47
 
27
48
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -21,6 +21,25 @@ m365 spo cdn origin list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |------------|----------------------|
31
+ | SharePoint | AllSites.FullControl |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |------------|-----------------------|
38
+ | SharePoint | Sites.FullControl.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Remarks
25
44
 
26
45
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn origin remove
4
6
 
@@ -25,6 +27,25 @@ m365 spo cdn origin remove [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------------|
37
+ | SharePoint | AllSites.FullControl |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|-----------------------|
44
+ | SharePoint | Sites.FullControl.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Remarks
29
50
 
30
51
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -21,6 +21,25 @@ m365 spo cdn policy list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |------------|----------------------|
31
+ | SharePoint | AllSites.FullControl |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |------------|-----------------------|
38
+ | SharePoint | Sites.FullControl.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Remarks
25
44
 
26
45
  Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn policy set
4
6
 
@@ -25,6 +27,25 @@ m365 spo cdn policy set [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------------|
37
+ | SharePoint | AllSites.FullControl |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|-----------------------|
44
+ | SharePoint | Sites.FullControl.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Remarks
29
50
 
30
51
  Using the `-t, --cdnType` option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.
@@ -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 cdn set
4
6
 
@@ -25,6 +27,25 @@ m365 spo cdn set [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------------|
37
+ | SharePoint | AllSites.FullControl |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|-----------------------|
44
+ | SharePoint | Sites.FullControl.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Remarks
29
50
 
30
51
  Using the `-t, --type` option you can choose whether you want to manage the settings of the Public (default), Private CDN or both. If you don't use the option, the command will use the Public CDN.
@@ -48,6 +48,25 @@ If the specified content type already exists, you will get a _A duplicate conten
48
48
 
49
49
  The ID of the content type specifies the parent content type from which this content type inherits.
50
50
 
51
+ ## Permissions
52
+
53
+ <Tabs>
54
+ <TabItem value="Delegated">
55
+
56
+ | Resource | Permissions |
57
+ |------------|-----------------|
58
+ | SharePoint | AllSites.Manage |
59
+
60
+ </TabItem>
61
+ <TabItem value="Application">
62
+
63
+ | Resource | Permissions |
64
+ |------------|------------------|
65
+ | SharePoint | Sites.Manage.All |
66
+
67
+ </TabItem>
68
+ </Tabs>
69
+
51
70
  ## Examples
52
71
 
53
72
  Create a site content type that inherits from the List item content type.
@@ -40,6 +40,25 @@ m365 spo contenttype get [options]
40
40
 
41
41
  If no content type with the specified is found in the site or the list, you will get the _Content type with ID 0x010012 not found_ error.
42
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|---------------|
50
+ | SharePoint | AllSites.Read |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|----------------|
57
+ | SharePoint | Sites.Read.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
43
62
  ## Examples
44
63
 
45
64
  Retrieve site content type by id.
@@ -24,6 +24,25 @@ m365 spo contenttype list [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |------------|---------------|
34
+ | SharePoint | AllSites.Read |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |------------|----------------|
41
+ | SharePoint | Sites.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Examples
28
47
 
29
48
  Retrieve site content types.
@@ -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 contenttype remove
4
6
 
@@ -34,6 +36,25 @@ If the specified content type is in use by a list and cannot be removed, you wil
34
36
 
35
37
  The content type you wish to remove can be selected by the ID or Name of the content type. Either ID or Name parameter must be specified.
36
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |------------|----------------------|
46
+ | SharePoint | AllSites.FullControl |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|-----------------------|
53
+ | SharePoint | Sites.FullControl.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
37
58
  ## Examples
38
59
 
39
60
  Remove a site content type by ID
@@ -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 contenttype set
4
6
 
@@ -45,6 +47,25 @@ When specifying the `--updateChildren` flag, SharePoint will only propagate the
45
47
 
46
48
  :::
47
49
 
50
+ ## Permissions
51
+
52
+ <Tabs>
53
+ <TabItem value="Delegated">
54
+
55
+ | Resource | Permissions |
56
+ |------------|-----------------|
57
+ | SharePoint | AllSites.Manage |
58
+
59
+ </TabItem>
60
+ <TabItem value="Application">
61
+
62
+ | Resource | Permissions |
63
+ |------------|------------------|
64
+ | SharePoint | Sites.Manage.All |
65
+
66
+ </TabItem>
67
+ </Tabs>
68
+
48
69
  ## Examples
49
70
 
50
71
  Move site content type to a different group.
@@ -36,6 +36,25 @@ m365 spo contenttype sync [options]
36
36
 
37
37
  <Global />
38
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |------------|-----------------|
46
+ | SharePoint | AllSites.Manage |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|------------------|
53
+ | SharePoint | Sites.Manage.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Examples
40
59
 
41
60
  Syncs a given published content type from the hub to the specified site.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "11.9.0",
3
+ "version": "11.10.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@pnp/cli-microsoft365",
9
- "version": "11.9.0",
9
+ "version": "11.10.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@azure/msal-common": "^16.6.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "11.9.0",
3
+ "version": "11.10.0-beta.6474466",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -364,4 +364,4 @@
364
364
  "source-map-support": "^0.5.21",
365
365
  "tsc-watch": "^7.2.0"
366
366
  }
367
- }
367
+ }