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

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 (104) 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/dist/m365/spo/commands/site/site-list.js +60 -49
  18. package/dist/m365/spo/commands/storageentity/storageentity-get.js +23 -17
  19. package/dist/m365/spo/commands/storageentity/storageentity-list.js +39 -36
  20. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +26 -33
  21. package/dist/m365/spo/commands/storageentity/storageentity-set.js +26 -36
  22. package/dist/m365/teams/commands/channel/channel-list.js +2 -6
  23. package/dist/m365/teams/commands/channel/channel-member-add.js +2 -6
  24. package/dist/m365/teams/commands/channel/channel-member-list.js +2 -6
  25. package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -6
  26. package/dist/m365/teams/commands/channel/channel-member-set.js +2 -6
  27. package/dist/m365/teams/commands/channel/channel-remove.js +2 -8
  28. package/dist/m365/teams/commands/channel/channel-set.js +2 -8
  29. package/dist/m365/teams/commands/tab/tab-get.js +2 -6
  30. package/dist/m365/teams/commands/team/team-archive.js +2 -6
  31. package/dist/m365/teams/commands/team/team-remove.js +2 -6
  32. package/dist/m365/teams/commands/team/team-unarchive.js +2 -6
  33. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +4 -4
  34. package/docs/docs/cmd/spo/file/file-add.mdx +2 -2
  35. package/docs/docs/cmd/spo/file/file-checkin.mdx +21 -0
  36. package/docs/docs/cmd/spo/file/file-checkout.mdx +21 -0
  37. package/docs/docs/cmd/spo/file/file-copy.mdx +19 -0
  38. package/docs/docs/cmd/spo/file/file-get.mdx +19 -0
  39. package/docs/docs/cmd/spo/file/file-list.mdx +19 -0
  40. package/docs/docs/cmd/spo/file/file-move.mdx +19 -0
  41. package/docs/docs/cmd/spo/file/file-remove.mdx +21 -0
  42. package/docs/docs/cmd/spo/file/file-rename.mdx +19 -0
  43. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +21 -0
  44. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +21 -0
  45. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +21 -0
  46. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +21 -0
  47. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +21 -0
  48. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +21 -0
  49. package/docs/docs/cmd/spo/list/list-add.mdx +19 -0
  50. package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +19 -0
  51. package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +21 -0
  52. package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +19 -0
  53. package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +21 -0
  54. package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +21 -0
  55. package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +19 -0
  56. package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +21 -0
  57. package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +21 -0
  58. package/docs/docs/cmd/spo/list/list-get.mdx +19 -0
  59. package/docs/docs/cmd/spo/list/list-list.mdx +19 -0
  60. package/docs/docs/cmd/spo/list/list-remove.mdx +21 -0
  61. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +21 -0
  62. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +19 -0
  63. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +21 -0
  64. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +21 -0
  65. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +21 -0
  66. package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +21 -0
  67. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +21 -0
  68. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +23 -0
  69. package/docs/docs/cmd/spo/list/list-set.mdx +21 -0
  70. package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +19 -0
  71. package/docs/docs/cmd/spo/list/list-view-add.mdx +19 -0
  72. package/docs/docs/cmd/spo/list/list-view-field-add.mdx +21 -0
  73. package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +21 -0
  74. package/docs/docs/cmd/spo/list/list-view-field-set.mdx +21 -0
  75. package/docs/docs/cmd/spo/list/list-view-get.mdx +19 -0
  76. package/docs/docs/cmd/spo/list/list-view-list.mdx +19 -0
  77. package/docs/docs/cmd/spo/list/list-view-remove.mdx +21 -0
  78. package/docs/docs/cmd/spo/list/list-view-set.mdx +19 -0
  79. package/docs/docs/cmd/spo/list/list-webhook-add.mdx +19 -0
  80. package/docs/docs/cmd/spo/list/list-webhook-get.mdx +19 -0
  81. package/docs/docs/cmd/spo/list/list-webhook-list.mdx +19 -0
  82. package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +21 -0
  83. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +21 -0
  84. package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +19 -0
  85. package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +19 -0
  86. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +19 -0
  87. package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +19 -0
  88. package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +19 -0
  89. package/docs/docs/cmd/spo/listitem/listitem-get.mdx +13 -7
  90. package/docs/docs/cmd/spo/page/page-header-set.mdx +9 -9
  91. package/docs/docs/cmd/spo/site/site-list.mdx +22 -1
  92. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +11 -2
  93. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +9 -3
  94. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +6 -6
  95. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +10 -4
  96. package/docs/docs/cmd/tenant/id/id-get.mdx +15 -0
  97. package/docs/docs/cmd/tenant/info/info-get.mdx +19 -0
  98. package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +19 -0
  99. package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +19 -0
  100. package/docs/docs/cmd/tenant/report/report-settings-get.mdx +19 -0
  101. package/docs/docs/cmd/tenant/report/report-settings-set.mdx +21 -0
  102. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +19 -0
  103. package/npm-shrinkwrap.json +1103 -1157
  104. 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 file checkin
4
6
 
@@ -31,6 +33,25 @@ m365 spo file checkin [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.Write |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|---------------------|
50
+ | SharePoint | Sites.ReadWrite.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
34
55
  ## Examples
35
56
 
36
57
  Checks in file with the specified UniqueId 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 file checkout
4
6
 
@@ -25,6 +27,25 @@ m365 spo file checkout [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.Write |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|---------------------|
44
+ | SharePoint | Sites.ReadWrite.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Examples
29
50
 
30
51
  Checks out file with the specified UniqueId located in the specified site.
@@ -52,6 +52,25 @@ When you specify a value for `nameConflictBehavior`, consider the following:
52
52
  - `replace` will replace the destination file if it already exists.
53
53
  - `rename` will add a suffix (e.g. Document1.pdf) when the destination file already exists.
54
54
 
55
+ ## Permissions
56
+
57
+ <Tabs>
58
+ <TabItem value="Delegated">
59
+
60
+ | Resource | Permissions |
61
+ |------------|----------------|
62
+ | SharePoint | AllSites.Write |
63
+
64
+ </TabItem>
65
+ <TabItem value="Application">
66
+
67
+ | Resource | Permissions |
68
+ |------------|---------------------|
69
+ | SharePoint | Sites.ReadWrite.All |
70
+
71
+ </TabItem>
72
+ </Tabs>
73
+
55
74
  ## Examples
56
75
 
57
76
  Copy a file by server-relative URL to a document library in another site collection with server relative URL.
@@ -42,6 +42,25 @@ m365 spo file get [options]
42
42
 
43
43
  <Global />
44
44
 
45
+ ## Permissions
46
+
47
+ <Tabs>
48
+ <TabItem value="Delegated">
49
+
50
+ | Resource | Permissions |
51
+ |------------|---------------|
52
+ | SharePoint | AllSites.Read |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |------------|----------------|
59
+ | SharePoint | Sites.Read.All |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
45
64
  ## Examples
46
65
 
47
66
  Get file properties for a file with id (UniqueId) parameter located in a site.
@@ -37,6 +37,25 @@ m365 spo file list [options]
37
37
 
38
38
  When the `fields` option includes values with a `/`, for example: `ListItemAllFields/Id`, an additional `$expand` query parameter will be included on `ListItemAllFields`.
39
39
 
40
+ ## Permissions
41
+
42
+ <Tabs>
43
+ <TabItem value="Delegated">
44
+
45
+ | Resource | Permissions |
46
+ |------------|---------------|
47
+ | SharePoint | AllSites.Read |
48
+
49
+ </TabItem>
50
+ <TabItem value="Application">
51
+
52
+ | Resource | Permissions |
53
+ |------------|----------------|
54
+ | SharePoint | Sites.Read.All |
55
+
56
+ </TabItem>
57
+ </Tabs>
58
+
40
59
  ## Examples
41
60
 
42
61
  Return all files from a folder.
@@ -52,6 +52,25 @@ When you specify a value for `nameConflictBehavior`, consider the following:
52
52
  - `replace` will replace the destination file if it already exists.
53
53
  - `rename` will add a suffix (e.g. Document1.pdf) when the destination file already exists.
54
54
 
55
+ ## Permissions
56
+
57
+ <Tabs>
58
+ <TabItem value="Delegated">
59
+
60
+ | Resource | Permissions |
61
+ |------------|----------------|
62
+ | SharePoint | AllSites.Write |
63
+
64
+ </TabItem>
65
+ <TabItem value="Application">
66
+
67
+ | Resource | Permissions |
68
+ |------------|---------------------|
69
+ | SharePoint | Sites.ReadWrite.All |
70
+
71
+ </TabItem>
72
+ </Tabs>
73
+
55
74
  ## Examples
56
75
 
57
76
  Move a file to a document library in another site collection by server relative 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 file remove
4
6
 
@@ -40,6 +42,25 @@ m365 spo page template remove
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 a file by ID.
@@ -34,6 +34,25 @@ m365 spo file rename [options]
34
34
 
35
35
  If you try to rename a file without the `--force` flag and a file with this name already exists, the operation will be cancelled.
36
36
 
37
+ ## Permissions
38
+
39
+ <Tabs>
40
+ <TabItem value="Delegated">
41
+
42
+ | Resource | Permissions |
43
+ |------------|----------------|
44
+ | SharePoint | AllSites.Write |
45
+
46
+ </TabItem>
47
+ <TabItem value="Application">
48
+
49
+ | Resource | Permissions |
50
+ |------------|---------------------|
51
+ | SharePoint | Sites.ReadWrite.All |
52
+
53
+ </TabItem>
54
+ </Tabs>
55
+
37
56
  ## Examples
38
57
 
39
58
  Renames a file.
@@ -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 folder retentionlabel ensure
4
6
 
@@ -32,6 +34,25 @@ m365 spo folder retentionlabel ensure [options]
32
34
 
33
35
  You can also use [spo listitem retentionlabel remove](./../../../cmd/spo/listitem/listitem-retentionlabel-remove.mdx) for removing the retention label from a list item.
34
36
 
37
+ ## Permissions
38
+
39
+ <Tabs>
40
+ <TabItem value="Delegated">
41
+
42
+ | Resource | Permissions |
43
+ |------------|----------------|
44
+ | SharePoint | AllSites.Write |
45
+
46
+ </TabItem>
47
+ <TabItem value="Application">
48
+
49
+ | Resource | Permissions |
50
+ |------------|---------------------|
51
+ | SharePoint | Sites.ReadWrite.All |
52
+
53
+ </TabItem>
54
+ </Tabs>
55
+
35
56
  ## Examples
36
57
 
37
58
  Applies a retention label to a folder based on the label name and the folderUrl.
@@ -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 folder retentionlabel remove
4
6
 
@@ -28,6 +30,25 @@ m365 spo folder retentionlabel remove [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
  Removes the retention label from a folder in a given site based on the folder 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 folder roleassignment add
4
6
 
@@ -43,6 +45,25 @@ m365 spo folder roleassignment 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.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
  ## Examples
47
68
 
48
69
  Add the role assignment to the specified folder based on the group name and role definition 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 folder roleassignment remove
4
6
 
@@ -40,6 +42,25 @@ m365 spo folder roleassignment 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.FullControl |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |------------|-----------------------|
59
+ | SharePoint | Sites.FullControl.All |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
43
64
  ## Examples
44
65
 
45
66
  Remove roleassignment from folder 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 folder roleinheritance break
4
6
 
@@ -28,6 +30,25 @@ m365 spo folder roleinheritance break [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.FullControl |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|-----------------------|
47
+ | SharePoint | Sites.FullControl.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Break the inheritance of a folder with a specified site-relative 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 folder roleinheritance reset
4
6
 
@@ -25,6 +27,25 @@ m365 spo folder roleinheritance reset [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
  ## Examples
29
50
 
30
51
  Reset inheritance of folder with a specific site-relative URL.
@@ -207,6 +207,25 @@ m365 spo list add [options]
207
207
 
208
208
  <Global />
209
209
 
210
+ ## Permissions
211
+
212
+ <Tabs>
213
+ <TabItem value="Delegated">
214
+
215
+ | Resource | Permissions |
216
+ |------------|-----------------|
217
+ | SharePoint | AllSites.Manage |
218
+
219
+ </TabItem>
220
+ <TabItem value="Application">
221
+
222
+ | Resource | Permissions |
223
+ |------------|------------------|
224
+ | SharePoint | Sites.Manage.All |
225
+
226
+ </TabItem>
227
+ </Tabs>
228
+
210
229
  ## Examples
211
230
 
212
231
  Add a list with specific title and baseTemplate in a specific site.
@@ -33,6 +33,25 @@ m365 spo list contenttype add [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.Write |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|---------------------|
50
+ | SharePoint | Sites.ReadWrite.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
36
55
  ## Examples
37
56
 
38
57
  Adds a specific existing content type to 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 contenttype default set
4
6
 
@@ -31,6 +33,25 @@ m365 spo list contenttype default set [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.Write |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|---------------------|
50
+ | SharePoint | Sites.ReadWrite.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
34
55
  ## Examples
35
56
 
36
57
  Set a content type with a specific id as default a list retrieved by id located in a specific site.
@@ -30,6 +30,25 @@ m365 spo list contenttype 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 content types configured on a specific 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 contenttype remove
4
6
 
@@ -34,6 +36,25 @@ m365 spo list contenttype 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.Write |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|---------------------|
53
+ | SharePoint | Sites.ReadWrite.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
37
58
  ## Examples
38
59
 
39
60
  Remove content type with a specific id from the 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 defaultvalue clear
4
6
 
@@ -37,6 +39,25 @@ m365 spo list defaultvalue clear [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 all default column values from a library
@@ -33,6 +33,25 @@ m365 spo list defaultvalue 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
  List all default column values of a list specified 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 defaultvalue remove
4
6
 
@@ -37,6 +39,25 @@ m365 spo list defaultvalue 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 a default column value from the root folder of the list