@pnp/cli-microsoft365 11.9.0 → 11.10.0-beta.49639f3

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 (100) hide show
  1. package/.devcontainer/Dockerfile +1 -1
  2. package/Dockerfile +1 -1
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/Auth.js +4 -2
  6. package/dist/m365/outlook/commands/event/event-get.js +77 -0
  7. package/dist/m365/outlook/commands.js +1 -0
  8. package/dist/m365/planner/commands/roster/roster-add.js +5 -0
  9. package/dist/m365/planner/commands/roster/roster-get.js +8 -18
  10. package/dist/m365/planner/commands/roster/roster-member-add.js +29 -45
  11. package/dist/m365/planner/commands/roster/roster-member-get.js +28 -44
  12. package/dist/m365/planner/commands/roster/roster-member-list.js +8 -18
  13. package/dist/m365/planner/commands/roster/roster-member-remove.js +30 -48
  14. package/dist/m365/planner/commands/roster/roster-plan-list.js +28 -46
  15. package/dist/m365/planner/commands/roster/roster-remove.js +9 -27
  16. package/dist/m365/planner/commands/task/task-add.js +97 -111
  17. package/dist/m365/planner/commands/task/task-checklistitem-add.js +10 -23
  18. package/dist/m365/planner/commands/task/task-checklistitem-list.js +16 -26
  19. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -23
  20. package/dist/m365/planner/commands/task/task-get.js +46 -69
  21. package/dist/m365/planner/commands/task/task-list.js +33 -69
  22. package/dist/m365/planner/commands/task/task-reference-add.js +15 -35
  23. package/dist/m365/planner/commands/task/task-reference-list.js +8 -18
  24. package/dist/m365/planner/commands/task/task-reference-remove.js +26 -36
  25. package/dist/m365/planner/commands/task/task-remove.js +47 -71
  26. package/dist/m365/planner/commands/task/task-set.js +92 -113
  27. package/dist/m365/pp/commands/website/Webrole.js +2 -0
  28. package/dist/m365/pp/commands/website/website-remove.js +80 -0
  29. package/dist/m365/pp/commands/website/website-webrole-list.js +61 -0
  30. package/dist/m365/pp/commands.js +3 -1
  31. package/dist/m365/purview/commands/auditlog/auditlog-list.js +36 -60
  32. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +34 -53
  33. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +10 -23
  34. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +11 -32
  35. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +9 -24
  36. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +10 -23
  37. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +11 -32
  38. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +21 -35
  39. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +40 -82
  40. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +10 -23
  41. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +11 -32
  42. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +35 -78
  43. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +19 -44
  44. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +16 -39
  45. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +16 -39
  46. package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +44 -67
  47. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +11 -33
  48. package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +10 -33
  49. package/dist/m365/spo/commands/web/{web-alert-list.js → web-rule-list.js} +7 -4
  50. package/dist/m365/spo/commands/web/{web-alert-remove.js → web-rule-remove.js} +7 -4
  51. package/dist/m365/spo/commands.js +2 -0
  52. package/dist/utils/powerPlatform.js +20 -0
  53. package/docs/docs/cmd/outlook/event/event-get.mdx +280 -0
  54. package/docs/docs/cmd/pp/website/website-remove.mdx +89 -0
  55. package/docs/docs/cmd/pp/website/website-webrole-list.mdx +139 -0
  56. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +21 -0
  57. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +19 -0
  58. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +19 -0
  59. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +21 -0
  60. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +21 -0
  61. package/docs/docs/cmd/spo/cdn/cdn-get.mdx +19 -0
  62. package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +21 -0
  63. package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +19 -0
  64. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +21 -0
  65. package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +19 -0
  66. package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +21 -0
  67. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +21 -0
  68. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +19 -0
  69. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +19 -0
  70. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +19 -0
  71. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +21 -0
  72. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +21 -0
  73. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +19 -0
  74. package/docs/docs/cmd/spo/field/field-add.mdx +19 -0
  75. package/docs/docs/cmd/spo/field/field-get.mdx +19 -0
  76. package/docs/docs/cmd/spo/field/field-list.mdx +19 -0
  77. package/docs/docs/cmd/spo/field/field-remove.mdx +21 -0
  78. package/docs/docs/cmd/spo/field/field-set.mdx +21 -0
  79. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +21 -0
  80. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +21 -0
  81. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +21 -0
  82. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -0
  83. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -0
  84. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +21 -0
  85. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +21 -0
  86. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +19 -0
  87. package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +21 -0
  88. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +19 -0
  89. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +21 -0
  90. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +19 -0
  91. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +19 -0
  92. package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +19 -0
  93. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +21 -0
  94. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +21 -0
  95. package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +19 -0
  96. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +21 -0
  97. package/docs/docs/cmd/spo/web/{web-alert-list.mdx → web-rule-list.mdx} +13 -7
  98. package/docs/docs/cmd/spo/web/{web-alert-remove.mdx → web-rule-remove.mdx} +10 -4
  99. package/npm-shrinkwrap.json +2 -2
  100. package/package.json +2 -2
@@ -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.
@@ -40,6 +40,25 @@ m365 spo field add [options]
40
40
 
41
41
  If the specified field already exists, you will get a _A duplicate field name "your-field" was found._ error.
42
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------|
50
+ | SharePoint | AllSites.Write |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|---------------------|
57
+ | SharePoint | Sites.ReadWrite.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
43
62
  ## Examples
44
63
 
45
64
  Create a date time site column.
@@ -39,6 +39,25 @@ m365 spo field get [options]
39
39
 
40
40
  <Global />
41
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|---------------|
49
+ | SharePoint | AllSites.Read |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------|
56
+ | SharePoint | Sites.Read.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
42
61
  ## Examples
43
62
 
44
63
  Retrieves site column by id located in the specified site.
@@ -30,6 +30,25 @@ m365 spo field list [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
  Retrieves site columns for the specified 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 field remove
4
6
 
@@ -43,6 +45,25 @@ m365 spo field remove [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.Write |
56
+
57
+ </TabItem>
58
+ <TabItem value="Application">
59
+
60
+ | Resource | Permissions |
61
+ |------------|---------------------|
62
+ | SharePoint | Sites.ReadWrite.All |
63
+
64
+ </TabItem>
65
+ </Tabs>
66
+
46
67
  ## Examples
47
68
 
48
69
  Remove the site column with the specified ID, located in the specified 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 field set
4
6
 
@@ -50,6 +52,25 @@ When updating column formatting for a field with the `--CustomFormatter` option,
50
52
 
51
53
  :::
52
54
 
55
+ ## Permissions
56
+
57
+ <Tabs>
58
+ <TabItem value="Delegated">
59
+
60
+ | Resource | Permissions |
61
+ |------------|-----------------|
62
+ | SharePoint | AllSites.Manage |
63
+
64
+ </TabItem>
65
+ <TabItem value="Application">
66
+
67
+ | Resource | Permissions |
68
+ |------------|------------------|
69
+ | SharePoint | Sites.Manage.All |
70
+
71
+ </TabItem>
72
+ </Tabs>
73
+
53
74
  ## Examples
54
75
 
55
76
  Update the title of the site column specified by its internal name and push changes to existing lists.
@@ -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 file checkout undo
4
6
 
@@ -28,6 +30,25 @@ m365 spo file checkout undo [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|----------------|
40
+ | SharePoint | AllSites.Write |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|---------------------|
47
+ | SharePoint | Sites.ReadWrite.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Discards a checked-out file with a specific 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 file retentionlabel ensure
4
6
 
@@ -37,6 +39,25 @@ You can also use [spo listitem retentionlabel remove](./../../../cmd/spo/listite
37
39
 
38
40
  The `--assetId` option has to do with event-based retention. Event-based retention is about starting a retention period when a specific event occurs, instead of the moment a document was labeled or created.
39
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|----------------|
49
+ | SharePoint | AllSites.Write |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|---------------------|
56
+ | SharePoint | Sites.ReadWrite.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
40
61
  ## Examples
41
62
 
42
63
  Applies a retention label to a file based on the label name and the fileUrl.