@pnp/cli-microsoft365 11.12.0-beta.8589b73 → 12.0.0-beta.0be7d8d

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 (83) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/m365/spfx/commands/project/DeployWorkflow.js +7 -15
  4. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +30 -2
  5. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +12 -2
  6. package/dist/m365/spo/commands/cdn/cdn-get.js +8 -35
  7. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +9 -36
  8. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +8 -34
  9. package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +10 -39
  10. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +8 -34
  11. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +10 -45
  12. package/dist/m365/spo/commands/cdn/cdn-set.js +10 -46
  13. package/dist/m365/spo/commands/contenttype/contenttype-sync.js +12 -24
  14. package/dist/m365/spo/commands/file/file-add.js +2 -6
  15. package/dist/m365/spo/commands/listitem/listitem-get.js +15 -7
  16. package/dist/m365/spo/commands/page/page-header-set.js +123 -64
  17. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +4 -4
  18. package/docs/docs/cmd/spo/file/file-add.mdx +2 -2
  19. package/docs/docs/cmd/spo/file/file-checkin.mdx +21 -0
  20. package/docs/docs/cmd/spo/file/file-checkout.mdx +21 -0
  21. package/docs/docs/cmd/spo/file/file-copy.mdx +19 -0
  22. package/docs/docs/cmd/spo/file/file-get.mdx +19 -0
  23. package/docs/docs/cmd/spo/file/file-list.mdx +19 -0
  24. package/docs/docs/cmd/spo/file/file-move.mdx +19 -0
  25. package/docs/docs/cmd/spo/file/file-remove.mdx +21 -0
  26. package/docs/docs/cmd/spo/file/file-rename.mdx +19 -0
  27. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +21 -0
  28. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +21 -0
  29. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +21 -0
  30. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +21 -0
  31. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +21 -0
  32. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +21 -0
  33. package/docs/docs/cmd/spo/list/list-add.mdx +19 -0
  34. package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +19 -0
  35. package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +21 -0
  36. package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +19 -0
  37. package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +21 -0
  38. package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +21 -0
  39. package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +19 -0
  40. package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +21 -0
  41. package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +21 -0
  42. package/docs/docs/cmd/spo/list/list-get.mdx +19 -0
  43. package/docs/docs/cmd/spo/list/list-list.mdx +19 -0
  44. package/docs/docs/cmd/spo/list/list-remove.mdx +21 -0
  45. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +21 -0
  46. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +19 -0
  47. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +21 -0
  48. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +21 -0
  49. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +21 -0
  50. package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +21 -0
  51. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +21 -0
  52. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +23 -0
  53. package/docs/docs/cmd/spo/list/list-set.mdx +21 -0
  54. package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +19 -0
  55. package/docs/docs/cmd/spo/list/list-view-add.mdx +19 -0
  56. package/docs/docs/cmd/spo/list/list-view-field-add.mdx +21 -0
  57. package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +21 -0
  58. package/docs/docs/cmd/spo/list/list-view-field-set.mdx +21 -0
  59. package/docs/docs/cmd/spo/list/list-view-get.mdx +19 -0
  60. package/docs/docs/cmd/spo/list/list-view-list.mdx +19 -0
  61. package/docs/docs/cmd/spo/list/list-view-remove.mdx +21 -0
  62. package/docs/docs/cmd/spo/list/list-view-set.mdx +19 -0
  63. package/docs/docs/cmd/spo/list/list-webhook-add.mdx +19 -0
  64. package/docs/docs/cmd/spo/list/list-webhook-get.mdx +19 -0
  65. package/docs/docs/cmd/spo/list/list-webhook-list.mdx +19 -0
  66. package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +21 -0
  67. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +21 -0
  68. package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +19 -0
  69. package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +19 -0
  70. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +19 -0
  71. package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +19 -0
  72. package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +19 -0
  73. package/docs/docs/cmd/spo/listitem/listitem-get.mdx +13 -7
  74. package/docs/docs/cmd/spo/page/page-header-set.mdx +9 -9
  75. package/docs/docs/cmd/tenant/id/id-get.mdx +15 -0
  76. package/docs/docs/cmd/tenant/info/info-get.mdx +19 -0
  77. package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +19 -0
  78. package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +19 -0
  79. package/docs/docs/cmd/tenant/report/report-settings-get.mdx +19 -0
  80. package/docs/docs/cmd/tenant/report/report-settings-set.mdx +21 -0
  81. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +19 -0
  82. package/npm-shrinkwrap.json +1103 -1157
  83. package/package.json +17 -17
@@ -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 list roleassignment remove
4
6
 
@@ -46,6 +48,25 @@ m365 spo list roleassignment remove [options]
46
48
 
47
49
  <Global />
48
50
 
51
+ ## Permissions
52
+
53
+ <Tabs>
54
+ <TabItem value="Delegated">
55
+
56
+ | Resource | Permissions |
57
+ |------------|----------------------|
58
+ | SharePoint | AllSites.FullControl |
59
+
60
+ </TabItem>
61
+ <TabItem value="Application">
62
+
63
+ | Resource | Permissions |
64
+ |------------|-----------------------|
65
+ | SharePoint | Sites.FullControl.All |
66
+
67
+ </TabItem>
68
+ </Tabs>
69
+
49
70
  ## Examples
50
71
 
51
72
  Remove roleassignment from list by title based on group name.
@@ -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 list roleinheritance break
4
6
 
@@ -38,6 +40,25 @@ m365 spo list roleinheritance break [options]
38
40
 
39
41
  By default, when breaking permissions inheritance, the list will retain existing permissions. To remove existing permissions, use the `--clearExistingPermissions` option.
40
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
+
41
62
  ## Examples
42
63
 
43
64
  Break inheritance of list by title in a specific 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 list roleinheritance reset
4
6
 
@@ -31,6 +33,25 @@ m365 spo list roleinheritance reset [options]
31
33
 
32
34
  <Global />
33
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |------------|----------------------|
43
+ | SharePoint | AllSites.FullControl |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|-----------------------|
50
+ | SharePoint | Sites.FullControl.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
34
55
  ## Examples
35
56
 
36
57
  Restores role inheritance of a specific list by id in a specific 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 list sensitivitylabel ensure
4
6
 
@@ -42,6 +44,27 @@ This command is based on an API that is currently in preview and is subject to c
42
44
 
43
45
  :::
44
46
 
47
+ ## Permissions
48
+
49
+ <Tabs>
50
+ <TabItem value="Delegated">
51
+
52
+ | Resource | Permissions |
53
+ |-----------------|----------------------------------|
54
+ | Microsoft Graph | InformationProtectionPolicy.Read |
55
+ | SharePoint | AllSites.Write |
56
+
57
+ </TabItem>
58
+ <TabItem value="Application">
59
+
60
+ | Resource | Permissions |
61
+ |-----------------|--------------------------------------|
62
+ | Microsoft Graph | InformationProtectionPolicy.Read.All |
63
+ | SharePoint | Sites.ReadWrite.All |
64
+
65
+ </TabItem>
66
+ </Tabs>
67
+
45
68
  ## Examples
46
69
 
47
70
  Applies a sensitivity label by id to a document library based on the list 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 list set
4
6
 
@@ -217,6 +219,25 @@ m365 spo list set [options]
217
219
 
218
220
  <Global />
219
221
 
222
+ ## Permissions
223
+
224
+ <Tabs>
225
+ <TabItem value="Delegated">
226
+
227
+ | Resource | Permissions |
228
+ |------------|-----------------|
229
+ | SharePoint | AllSites.Manage |
230
+
231
+ </TabItem>
232
+ <TabItem value="Application">
233
+
234
+ | Resource | Permissions |
235
+ |------------|------------------|
236
+ | SharePoint | Sites.Manage.All |
237
+
238
+ </TabItem>
239
+ </Tabs>
240
+
220
241
  ## Examples
221
242
 
222
243
  Update the _contentTypesEnabled_ property of the list with id located in a specific site.
@@ -30,6 +30,25 @@ m365 spo list sitescript 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
  Extract a site script from an existing SharePoint list with specified title located in the specified site.
@@ -80,6 +80,25 @@ We recommend using the `paged` option. Paging is enabled by default: the view sh
80
80
 
81
81
  :::
82
82
 
83
+ ## Permissions
84
+
85
+ <Tabs>
86
+ <TabItem value="Delegated">
87
+
88
+ | Resource | Permissions |
89
+ |-----------------|----------------|
90
+ | SharePoint | AllSites.Write |
91
+
92
+ </TabItem>
93
+ <TabItem value="Application">
94
+
95
+ | Resource | Permissions |
96
+ |-----------------|---------------------|
97
+ | SharePoint | Sites.ReadWrite.All |
98
+
99
+ </TabItem>
100
+ </Tabs>
101
+
83
102
  ## Examples
84
103
 
85
104
  Add a list view called to a list with specific 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 list view field add
4
6
 
@@ -43,6 +45,25 @@ m365 spo list view field add [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
  Add field with ID to view with ID of the list with ID located in a specific 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 list view field remove
4
6
 
@@ -40,6 +42,25 @@ m365 spo list view field remove [options]
40
42
 
41
43
  <Global />
42
44
 
45
+ ## Permissions
46
+
47
+ <Tabs>
48
+ <TabItem value="Delegated">
49
+
50
+ | Resource | Permissions |
51
+ |------------|----------------|
52
+ | SharePoint | AllSites.Write |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |------------|---------------------|
59
+ | SharePoint | Sites.ReadWrite.All |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
43
64
  ## Examples
44
65
 
45
66
  Remove field with ID _330f29c5-5c4c-465f-9f4b-7903020ae1ce_ from view with ID _3d760127-982c-405e-9c93-e1f76e1a1110_ from the list with ID _1f187321-f086-4d3d-8523-517e94cc9df9_ located in site _https://contoso.sharepoint.com/sites/project-x_
@@ -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 list view field set
4
6
 
@@ -43,6 +45,25 @@ m365 spo list view field 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.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
  Move field with ID _330f29c5-5c4c-465f-9f4b-7903020ae1ce_ to the front in view with ID _3d760127-982c-405e-9c93-e1f76e1a1110_ of list with ID _1f187321-f086-4d3d-8523-517e94cc9df9_ located in site _https://contoso.sharepoint.com/sites/project-x_
@@ -36,6 +36,25 @@ m365 spo list view 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
  ## Examples
40
59
 
41
60
  Gets a list view by name from a list located in the specified site.
@@ -30,6 +30,25 @@ m365 spo list view 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
  List all views for a list by 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 list view remove
4
6
 
@@ -37,6 +39,25 @@ m365 spo list view remove [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.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
  Remove view from the list by ID _0cd891ef-afce-4e55-b836-fce03286cccf_ located in site _https://contoso.sharepoint.com/sites/project-x_
@@ -48,6 +48,25 @@ When updating list view formatting for a view with the `--CustomFormatter` optio
48
48
 
49
49
  :::
50
50
 
51
+ ## Permissions
52
+
53
+ <Tabs>
54
+ <TabItem value="Delegated">
55
+
56
+ | Resource | Permissions |
57
+ |-----------------|----------------|
58
+ | SharePoint | AllSites.Write |
59
+
60
+ </TabItem>
61
+ <TabItem value="Application">
62
+
63
+ | Resource | Permissions |
64
+ |-----------------|---------------------|
65
+ | SharePoint | Sites.ReadWrite.All |
66
+
67
+ </TabItem>
68
+ </Tabs>
69
+
51
70
  ## Examples
52
71
 
53
72
  Update the title of the list view specified by its name
@@ -39,6 +39,25 @@ m365 spo list webhook add [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.Write |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|---------------------|
56
+ | SharePoint | Sites.ReadWrite.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
42
61
  ## Examples
43
62
 
44
63
  Add a web hook to the list retrieved by Title located in a specific site with a specific notification url and the default expiration date
@@ -37,6 +37,25 @@ m365 spo list webhook get [options]
37
37
 
38
38
  If the specified `id` doesn't refer to an existing webhook, you will get a `404 - "404 FILE NOT FOUND"` error.
39
39
 
40
+ ## Permissions
41
+
42
+ <Tabs>
43
+ <TabItem value="Delegated">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | AllSites.Write |
48
+
49
+ </TabItem>
50
+ <TabItem value="Application">
51
+
52
+ | Resource | Permissions |
53
+ |------------|---------------------|
54
+ | SharePoint | Sites.ReadWrite.All |
55
+
56
+ </TabItem>
57
+ </Tabs>
58
+
40
59
  ## Examples
41
60
 
42
61
  Return information about a specific webhook which belongs to a list retrieved by ID in a specific site
@@ -30,6 +30,25 @@ m365 spo list webhook 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.FullControl |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|-----------------------|
47
+ | SharePoint | Sites.FullControl.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  List all webhooks for a list with a specific ID in a specific 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 list webhook remove
4
6
 
@@ -38,6 +40,25 @@ m365 spo list webhook remove [options]
38
40
 
39
41
  If the specified id doesn't refer to an existing webhook, you will get a `404 - "404 FILE NOT FOUND"` error.
40
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
+
41
62
  ## Examples
42
63
 
43
64
  Remove webhook with a specific ID from a list retrieved by ID in a specific 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 list webhook set
4
6
 
@@ -44,6 +46,25 @@ m365 spo list webhook set [options]
44
46
 
45
47
  If the specified `id` doesn't refer to an existing webhook, you will get a `404 - "404 FILE NOT FOUND"` error.
46
48
 
49
+ ## Permissions
50
+
51
+ <Tabs>
52
+ <TabItem value="Delegated">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------|
56
+ | SharePoint | AllSites.Write |
57
+
58
+ </TabItem>
59
+ <TabItem value="Application">
60
+
61
+ | Resource | Permissions |
62
+ |------------|---------------------|
63
+ | SharePoint | Sites.ReadWrite.All |
64
+
65
+ </TabItem>
66
+ </Tabs>
67
+
47
68
  ## Examples
48
69
 
49
70
  Update the notification url of a webhook with a specific ID attached to a list with a specific ID in a specific site to a specific URL
@@ -39,6 +39,25 @@ m365 spo listitem attachment add [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.Write |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|---------------------|
56
+ | SharePoint | Sites.ReadWrite.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
42
61
  ## Examples
43
62
 
44
63
  Add a new attachment to a list item from a local file by using list title
@@ -36,6 +36,25 @@ m365 spo listitem attachment 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
  ## Examples
40
59
 
41
60
  Get an attachment from a list item by using list title.
@@ -33,6 +33,25 @@ m365 spo listitem attachment list [options]
33
33
 
34
34
  <Global />
35
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |------------|---------------|
43
+ | SharePoint | AllSites.Read |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------|
50
+ | SharePoint | Sites.Read.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
36
55
  ## Examples
37
56
 
38
57
  Gets the attachments from list item with the specified listItemId in list with the specified title in the specified site.
@@ -39,6 +39,25 @@ m365 spo listitem attachment remove [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.Write |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|---------------------|
56
+ | SharePoint | Sites.ReadWrite.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
42
61
  ## Examples
43
62
 
44
63
  Remove an attachment from a list item using list tile.