@pnp/cli-microsoft365 7.1.0-beta.aca68bd → 7.1.0-beta.d53f0d9

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 (237) hide show
  1. package/.devcontainer/Dockerfile +0 -1
  2. package/.eslintrc.cjs +1 -0
  3. package/Dockerfile +0 -1
  4. package/dist/Auth.js +1 -1
  5. package/dist/appInsights.js +5 -9
  6. package/dist/cli/Cli.js +6 -2
  7. package/dist/m365/spo/commands/app/app-deploy.js +1 -1
  8. package/dist/m365/spo/commands/app/app-get.js +1 -1
  9. package/dist/m365/spo/commands/app/app-teamspackage-download.js +1 -1
  10. package/dist/m365/spo/commands/apppage/apppage-add.js +1 -1
  11. package/dist/m365/spo/commands/feature/feature-disable.js +8 -6
  12. package/dist/m365/spo/commands/feature/feature-enable.js +6 -5
  13. package/dist/m365/spo/commands/page/Page.js +1 -1
  14. package/dist/m365/spo/commands/page/page-add.js +1 -1
  15. package/dist/m365/spo/commands/page/page-get.js +1 -1
  16. package/dist/m365/spo/commands/page/page-header-set.js +1 -1
  17. package/dist/m365/spo/commands/page/page-remove.js +1 -1
  18. package/dist/m365/spo/commands/page/page-set.js +2 -2
  19. package/dist/m365/spo/commands/page/page-text-add.js +1 -1
  20. package/dist/m365/spo/commands/user/user-get.js +7 -1
  21. package/dist/telemetry.js +30 -14
  22. package/dist/telemetryRunner.js +26 -0
  23. package/docs/docs/cmd/aad/license/license-list.mdx +21 -16
  24. package/docs/docs/cmd/aad/m365group/m365group-add.mdx +1 -1
  25. package/docs/docs/cmd/aad/user/user-add.mdx +2 -4
  26. package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -4
  27. package/docs/docs/cmd/aad/user/user-license-list.mdx +3 -5
  28. package/docs/docs/cmd/aad/user/user-recyclebinitem-list.mdx +1 -3
  29. package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.mdx +1 -3
  30. package/docs/docs/cmd/flow/environment/environment-get.mdx +3 -4
  31. package/docs/docs/cmd/flow/environment/environment-list.mdx +3 -4
  32. package/docs/docs/cmd/flow/owner/owner-list.mdx +2 -3
  33. package/docs/docs/cmd/flow/run/run-list.mdx +6 -8
  34. package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +2 -3
  35. package/docs/docs/cmd/onenote/page/page-list.mdx +6 -9
  36. package/docs/docs/cmd/outlook/message/message-get.mdx +5 -15
  37. package/docs/docs/cmd/outlook/message/message-list.mdx +5 -14
  38. package/docs/docs/cmd/outlook/room/room-list.mdx +3 -6
  39. package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -3
  40. package/docs/docs/cmd/pa/app/app-get.mdx +4 -7
  41. package/docs/docs/cmd/pa/app/app-list.mdx +4 -7
  42. package/docs/docs/cmd/pa/connector/connector-list.mdx +2 -4
  43. package/docs/docs/cmd/pa/environment/environment-get.mdx +2 -4
  44. package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -3
  45. package/docs/docs/cmd/planner/plan/plan-add.mdx +4 -11
  46. package/docs/docs/cmd/planner/plan/plan-get.mdx +4 -9
  47. package/docs/docs/cmd/planner/plan/plan-list.mdx +3 -6
  48. package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -9
  49. package/docs/docs/cmd/planner/roster/roster-member-add.mdx +2 -4
  50. package/docs/docs/cmd/planner/roster/roster-member-get.mdx +2 -4
  51. package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -3
  52. package/docs/docs/cmd/planner/task/task-add.mdx +4 -14
  53. package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +2 -4
  54. package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -3
  55. package/docs/docs/cmd/planner/task/task-get.mdx +0 -7
  56. package/docs/docs/cmd/planner/task/task-list.mdx +1 -5
  57. package/docs/docs/cmd/planner/task/task-reference-add.mdx +0 -2
  58. package/docs/docs/cmd/planner/task/task-reference-list.mdx +0 -2
  59. package/docs/docs/cmd/planner/task/task-set.mdx +4 -13
  60. package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -3
  61. package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +3 -5
  62. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +6 -8
  63. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -7
  64. package/docs/docs/cmd/pp/card/card-get.mdx +4 -8
  65. package/docs/docs/cmd/pp/card/card-list.mdx +0 -4
  66. package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +4 -6
  67. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +3 -14
  68. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +3 -14
  69. package/docs/docs/cmd/pp/environment/environment-get.mdx +3 -5
  70. package/docs/docs/cmd/pp/environment/environment-list.mdx +2 -4
  71. package/docs/docs/cmd/pp/gateway/gateway-get.mdx +0 -3
  72. package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -4
  73. package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +4 -0
  74. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +3 -8
  75. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -3
  76. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -5
  77. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -2
  78. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -3
  79. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -3
  80. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +3 -6
  81. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +3 -5
  82. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +4 -8
  83. package/docs/docs/cmd/spo/app/app-add.mdx +94 -7
  84. package/docs/docs/cmd/spo/app/app-deploy.mdx +11 -7
  85. package/docs/docs/cmd/spo/app/app-get.mdx +117 -8
  86. package/docs/docs/cmd/spo/app/app-install.mdx +9 -5
  87. package/docs/docs/cmd/spo/app/app-instance-list.mdx +85 -2
  88. package/docs/docs/cmd/spo/app/app-list.mdx +95 -3
  89. package/docs/docs/cmd/spo/app/app-remove.mdx +11 -7
  90. package/docs/docs/cmd/spo/app/app-retract.mdx +9 -5
  91. package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +12 -8
  92. package/docs/docs/cmd/spo/app/app-uninstall.mdx +11 -7
  93. package/docs/docs/cmd/spo/app/app-upgrade.mdx +9 -5
  94. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +4 -2
  95. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +9 -7
  96. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +6 -6
  97. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +12 -6
  98. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +4 -2
  99. package/docs/docs/cmd/spo/apppage/apppage-add.mdx +54 -5
  100. package/docs/docs/cmd/spo/apppage/apppage-set.mdx +8 -4
  101. package/docs/docs/cmd/spo/cdn/cdn-get.mdx +36 -1
  102. package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +7 -3
  103. package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +48 -3
  104. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +8 -4
  105. package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +53 -3
  106. package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +7 -3
  107. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +7 -3
  108. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +6 -6
  109. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +3 -5
  110. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +6 -5
  111. package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +7 -3
  112. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +6 -4
  113. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +148 -9
  114. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +19 -15
  115. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +12 -8
  116. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +147 -8
  117. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +115 -4
  118. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +8 -4
  119. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +8 -4
  120. package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +44 -0
  121. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +12 -8
  122. package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +10 -7
  123. package/docs/docs/cmd/spo/customaction/customaction-get.mdx +11 -15
  124. package/docs/docs/cmd/spo/customaction/customaction-list.mdx +87 -5
  125. package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +17 -13
  126. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +27 -23
  127. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +29 -14
  128. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +66 -5
  129. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +4 -0
  130. package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +78 -7
  131. package/docs/docs/cmd/spo/feature/feature-disable.mdx +10 -6
  132. package/docs/docs/cmd/spo/feature/feature-enable.mdx +9 -5
  133. package/docs/docs/cmd/spo/feature/feature-list.mdx +52 -0
  134. package/docs/docs/cmd/spo/field/field-add.mdx +177 -11
  135. package/docs/docs/cmd/spo/field/field-get.mdx +175 -9
  136. package/docs/docs/cmd/spo/field/field-list.mdx +135 -8
  137. package/docs/docs/cmd/spo/field/field-remove.mdx +16 -12
  138. package/docs/docs/cmd/spo/field/field-set.mdx +15 -11
  139. package/docs/docs/cmd/spo/file/file-add.mdx +31 -27
  140. package/docs/docs/cmd/spo/file/file-checkin.mdx +13 -9
  141. package/docs/docs/cmd/spo/file/file-checkout.mdx +9 -5
  142. package/docs/docs/cmd/spo/file/file-copy.mdx +5 -5
  143. package/docs/docs/cmd/spo/file/file-get.mdx +89 -18
  144. package/docs/docs/cmd/spo/file/file-list.mdx +5 -5
  145. package/docs/docs/cmd/spo/file/file-move.mdx +5 -5
  146. package/docs/docs/cmd/spo/file/file-remove.mdx +13 -9
  147. package/docs/docs/cmd/spo/file/file-rename.mdx +63 -5
  148. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +3 -3
  149. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +2 -2
  150. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +4 -0
  151. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +7 -3
  152. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +9 -5
  153. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +10 -6
  154. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +133 -5
  155. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +21 -3
  156. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +2 -2
  157. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +18 -0
  158. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +20 -3
  159. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +2 -7
  160. package/docs/docs/cmd/spo/file/file-version-clear.mdx +7 -7
  161. package/docs/docs/cmd/spo/file/file-version-get.mdx +28 -6
  162. package/docs/docs/cmd/spo/file/file-version-list.mdx +28 -6
  163. package/docs/docs/cmd/spo/file/file-version-remove.mdx +8 -8
  164. package/docs/docs/cmd/spo/file/file-version-restore.mdx +8 -8
  165. package/docs/docs/cmd/spo/folder/folder-add.mdx +3 -3
  166. package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
  167. package/docs/docs/cmd/spo/folder/folder-get.mdx +257 -3
  168. package/docs/docs/cmd/spo/folder/folder-list.mdx +3 -4
  169. package/docs/docs/cmd/spo/folder/folder-move.mdx +5 -5
  170. package/docs/docs/cmd/spo/folder/folder-remove.mdx +6 -2
  171. package/docs/docs/cmd/spo/folder/folder-rename.mdx +2 -2
  172. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +3 -3
  173. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +2 -2
  174. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +13 -8
  175. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +8 -4
  176. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +4 -0
  177. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +5 -1
  178. package/docs/docs/cmd/spo/group/group-add.mdx +78 -0
  179. package/docs/docs/cmd/spo/group/group-get.mdx +81 -3
  180. package/docs/docs/cmd/spo/group/group-list.mdx +74 -3
  181. package/docs/docs/cmd/spo/group/group-member-add.mdx +13 -21
  182. package/docs/docs/cmd/spo/group/group-member-list.mdx +80 -5
  183. package/docs/docs/cmd/spo/group/group-member-remove.mdx +4 -4
  184. package/docs/docs/cmd/spo/group/group-remove.mdx +10 -6
  185. package/docs/docs/cmd/spo/group/group-set.mdx +9 -5
  186. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +36 -1
  187. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +6 -2
  188. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +0 -2
  189. package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
  190. package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +0 -2
  191. package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +0 -2
  192. package/docs/docs/cmd/spo/list/list-get.mdx +1 -4
  193. package/docs/docs/cmd/spo/list/list-list.mdx +0 -4
  194. package/docs/docs/cmd/spo/list/list-view-add.mdx +0 -3
  195. package/docs/docs/cmd/spo/list/list-view-get.mdx +9 -12
  196. package/docs/docs/cmd/spo/list/list-view-list.mdx +4 -7
  197. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +8 -11
  198. package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -2
  199. package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +4 -6
  200. package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +0 -2
  201. package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +4 -6
  202. package/docs/docs/cmd/spo/page/page-copy.mdx +4 -8
  203. package/docs/docs/cmd/spo/page/page-get.mdx +2 -5
  204. package/docs/docs/cmd/spo/page/page-list.mdx +1 -5
  205. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +4 -4
  206. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +6 -7
  207. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +3 -1
  208. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +5 -3
  209. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +4 -2
  210. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +5 -1
  211. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +2 -0
  212. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +2 -1
  213. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +5 -2
  214. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +4 -1
  215. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +5 -1
  216. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +3 -1
  217. package/docs/docs/cmd/spo/user/user-get.mdx +6 -0
  218. package/docs/docs/cmd/teams/channel/channel-member-list.mdx +3 -5
  219. package/docs/docs/cmd/teams/channel/channel-member-set.mdx +0 -2
  220. package/docs/docs/cmd/teams/chat/chat-get.mdx +2 -4
  221. package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -3
  222. package/docs/docs/cmd/teams/chat/chat-member-list.mdx +2 -4
  223. package/docs/docs/cmd/teams/message/message-get.mdx +0 -7
  224. package/docs/docs/cmd/teams/message/message-list.mdx +0 -6
  225. package/docs/docs/cmd/teams/message/message-reply-list.mdx +0 -6
  226. package/docs/docs/cmd/teams/tab/tab-add.mdx +10 -12
  227. package/docs/docs/cmd/teams/tab/tab-get.mdx +8 -10
  228. package/docs/docs/cmd/teams/tab/tab-list.mdx +4 -7
  229. package/docs/docs/cmd/teams/team/team-add.mdx +0 -7
  230. package/docs/docs/cmd/teams/team/team-get.mdx +0 -6
  231. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
  232. package/docs/docs/cmd/todo/task/task-add.mdx +9 -13
  233. package/docs/docs/cmd/todo/task/task-set.mdx +10 -14
  234. package/eslint-rules/lib/index.js +2 -1
  235. package/eslint-rules/lib/rules/no-by-server-relative-url-usage.js +55 -0
  236. package/npm-shrinkwrap.json +86 -82
  237. package/package.json +20 -19
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo cdn origin list
4
6
 
@@ -14,7 +16,7 @@ m365 spo cdn origin list [options]
14
16
 
15
17
  ```md definition-list
16
18
  `-t, --type [type]`
17
- : Type of CDN to manage. `Public,Private`. Default `Public`
19
+ : Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
18
20
  ```
19
21
 
20
22
  <Global />
@@ -31,18 +33,61 @@ To use this command you have to have permissions to access the tenant admin site
31
33
 
32
34
  ## Examples
33
35
 
34
- Show the list of origins configured for the Public CDN
36
+ Show the list of origins configured for the Public CDN.
35
37
 
36
38
  ```sh
37
39
  m365 spo cdn origin list
38
40
  ```
39
41
 
40
- Show the list of origins configured for the Private CDN
42
+ Show the list of origins configured for the Private CDN.
41
43
 
42
44
  ```sh
43
45
  m365 spo cdn origin list --type Private
44
46
  ```
45
47
 
48
+ ## Response
49
+
50
+ <Tabs>
51
+ <TabItem value="JSON">
52
+
53
+ ```json
54
+ [
55
+ "*/MASTERPAGE",
56
+ "*/STYLE LIBRARY",
57
+ "*/CLIENTSIDEASSETS"
58
+ ]
59
+ ```
60
+
61
+ </TabItem>
62
+ <TabItem value="Text">
63
+
64
+ ```text
65
+ */MASTERPAGE
66
+ */STYLE LIBRARY
67
+ */CLIENTSIDEASSETS
68
+ ```
69
+
70
+ </TabItem>
71
+ <TabItem value="CSV">
72
+
73
+ ```csv
74
+ */MASTERPAGE
75
+ */STYLE LIBRARY
76
+ */CLIENTSIDEASSETS
77
+ ```
78
+
79
+ </TabItem>
80
+ <TabItem value="Markdown">
81
+
82
+ ```md
83
+ */MASTERPAGE
84
+ */STYLE LIBRARY
85
+ */CLIENTSIDEASSETS
86
+ ```
87
+
88
+ </TabItem>
89
+ </Tabs>
90
+
46
91
  ## More information
47
92
 
48
93
  - Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
@@ -14,13 +14,13 @@ m365 spo cdn origin remove [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-t, --type [type]`
17
- : Type of CDN to manage. `Public,Private`. Default `Public`
17
+ : Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
18
18
 
19
19
  `-r, --origin <origin>`
20
- : Origin to remove from the current CDN configuration
20
+ : Origin to remove from the current CDN configuration.
21
21
 
22
22
  `-f, --force`
23
- : Don't prompt for confirming removal of a tenant property
23
+ : Don't prompt for confirming removal of a tenant property.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -37,12 +37,16 @@ To use this command you have to have permissions to access the tenant admin site
37
37
 
38
38
  ## Examples
39
39
 
40
- Remove _*/CDN_ from the list of origins of the Public CDN
40
+ Remove _*/CDN_ from the list of origins of the Public CDN.
41
41
 
42
42
  ```sh
43
43
  m365 spo cdn origin remove --type Public --origin */CDN
44
44
  ```
45
45
 
46
+ ## Response
47
+
48
+ The command won't return a response on success.
49
+
46
50
  ## More information
47
51
 
48
52
  - Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo cdn policy list
4
6
 
@@ -14,7 +16,7 @@ m365 spo cdn policy list [options]
14
16
 
15
17
  ```md definition-list
16
18
  `-t, --cdnType [cdnType]`
17
- : Type of CDN to manage. `Public,Private`. Default `Public`
19
+ : Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
18
20
  ```
19
21
 
20
22
  <Global />
@@ -31,18 +33,66 @@ To use this command you have to have permissions to access the tenant admin site
31
33
 
32
34
  ## Examples
33
35
 
34
- Show the list of policies configured for the Public CDN
36
+ Show the list of policies configured for the Public CDN.
35
37
 
36
38
  ```sh
37
39
  m365 spo cdn policy list
38
40
  ```
39
41
 
40
- Show the list of policies configured for the Private CDN
42
+ Show the list of policies configured for the Private CDN.
41
43
 
42
44
  ```sh
43
45
  m365 spo cdn policy list --cdnType Private
44
46
  ```
45
47
 
48
+ ## Response
49
+
50
+ <Tabs>
51
+ <TabItem value="JSON">
52
+
53
+ ```json
54
+ [
55
+ {
56
+ "Policy": "IncludeFileExtensions",
57
+ "Value": "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON"
58
+ }
59
+ ]
60
+ ```
61
+
62
+ </TabItem>
63
+ <TabItem value="Text">
64
+
65
+ ```text
66
+ Policy Value
67
+ ------------------------------------ -----------------------------------------------------
68
+ IncludeFileExtensions CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON
69
+ ```
70
+
71
+ </TabItem>
72
+ <TabItem value="CSV">
73
+
74
+ ```csv
75
+ Policy,Value
76
+ IncludeFileExtensions,"CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON"
77
+ ```
78
+
79
+ </TabItem>
80
+ <TabItem value="Markdown">
81
+
82
+ ```md
83
+ # spo cdn policy list
84
+
85
+ Date: 10/2/2023
86
+
87
+ Property | Value
88
+ ---------|-------
89
+ Policy | IncludeFileExtensions
90
+ Value | CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON
91
+ ```
92
+
93
+ </TabItem>
94
+ </Tabs>
95
+
46
96
  ## More information
47
97
 
48
98
  - Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
@@ -14,13 +14,13 @@ m365 spo cdn policy set [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-t, --cdnType [cdnType]`
17
- : Type of CDN to manage. `Public,Private`. Default `Public`
17
+ : Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.
18
18
 
19
19
  `-p, --policy <policy>`
20
- : CDN policy to configure. `IncludeFileExtensions|ExcludeRestrictedSiteClassifications`
20
+ : CDN policy to configure. Allowed values are: `IncludeFileExtensions`, `ExcludeRestrictedSiteClassifications`.
21
21
 
22
22
  `-v, --value <value>`
23
- : Value for the policy to configure
23
+ : Value for the policy to configure.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -43,6 +43,10 @@ Set the list of extensions supported by the Public CDN
43
43
  m365 spo cdn policy set --cdnType Public --policy IncludeFileExtensions --value CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON
44
44
  ```
45
45
 
46
+ ## Response
47
+
48
+ The command won't return a response on success.
49
+
46
50
  ## More information
47
51
 
48
52
  - Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
@@ -14,13 +14,13 @@ m365 spo cdn set [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-e, --enabled <enabled>`
17
- : Set to true to enable CDN or to false to disable it. Valid values are `true,false`
17
+ : Set to true to enable CDN or to false to disable it. Allowed values: `true`, `false`.
18
18
 
19
19
  `-t, --type [type]`
20
- : Type of CDN to manage. `Public`, `Private`, `Both`. Default `Public`
20
+ : Type of CDN to manage. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
21
21
 
22
22
  `--noDefaultOrigins`
23
- : pass to not create the default Origins
23
+ : pass to not create the default origins.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -71,6 +71,10 @@ Enable the Microsoft 365 Private and Public CDN on the current tenant without de
71
71
  m365 spo cdn set --type Both --enabled true --noDefaultOrigins
72
72
  ```
73
73
 
74
+ ## Response
75
+
76
+ The command won't return a response on success.
77
+
74
78
  ## More information
75
79
 
76
80
  - Use Microsoft 365 CDN with SharePoint Online: [https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide](https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide)
@@ -16,13 +16,13 @@ m365 spo commandset add [options]
16
16
 
17
17
  ```md definition-list
18
18
  `-t, --title <title>`
19
- : The title of the ListView Command Set
19
+ : The title of the ListView Command Set.
20
20
 
21
21
  `-u, --webUrl <webUrl>`
22
22
  : The site to add the ListView Command Set.
23
23
 
24
24
  `-l, --listType <listType>`
25
- : The list or library type to register the Command Set on. Allowed values `List`, `Library` or `SitePages`.
25
+ : The list or library type to register the Command Set on. Allowed values are: `List`, `Library` or `SitePages`.
26
26
 
27
27
  `-i, --clientSideComponentId <clientSideComponentId>`
28
28
  : The Client Side Component Id (GUID) of the ListView Command Set.
@@ -31,10 +31,10 @@ m365 spo commandset add [options]
31
31
  : The Client Side Component properties of the ListView Command Set.
32
32
 
33
33
  `-s, --scope [scope]`
34
- : Scope of the ListView Command Set. Allowed values: `Site`, `Web`. Defaults to `Web`.
34
+ : Scope of the ListView Command Set. Allowed values are: `Site`, `Web`. Defaults to `Web`.
35
35
 
36
36
  `--location [location]`
37
- : The location of the ListView Command Set. Allowed values `ContextMenu`, `CommandBar` or `Both`. Defaults to `CommandBar`.
37
+ : The location of the ListView Command Set. Allowed values are: `ContextMenu`, `CommandBar` or `Both`. Defaults to `CommandBar`.
38
38
  ```
39
39
 
40
40
  <Global />
@@ -55,6 +55,8 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
55
55
 
56
56
  :::
57
57
 
58
+ This command can be used for configuring ListView Command Sets on a specific site. To configure a ListView Command Set tenant-wide, view our dedicated [spo tenant commandset add](../tenant/tenant-commandset-add.mdx) command.
59
+
58
60
  ## Examples
59
61
 
60
62
  Adds a ListView Command Set to lists on the sales site.
@@ -160,7 +162,6 @@ m365 spo commandset add --title "Some customizer" --clientSideComponentId 799883
160
162
  Name | null
161
163
  RegistrationId | 100
162
164
  RegistrationType | 0
163
- Rights | {"High":"0","Low":"0"}
164
165
  Scope | 2
165
166
  ScriptBlock | null
166
167
  ScriptSrc | null
@@ -172,4 +173,3 @@ m365 spo commandset add --title "Some customizer" --clientSideComponentId 799883
172
173
 
173
174
  </TabItem>
174
175
  </Tabs>
175
-
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
4
4
 
5
5
  # spo commandset get
6
6
 
7
- Get a ListView Command Set that is added to a site.
7
+ Get a ListView Command Set that is added to a site
8
8
 
9
9
  ## Usage
10
10
 
@@ -37,6 +37,8 @@ m365 spo commandset get [options]
37
37
 
38
38
  If the command finds multiple command sets with the specified title, it will prompt you to disambiguate which command set it should use, listing the discovered IDs.
39
39
 
40
+ This command can be used for retrieving a ListView Command Set from a specific site. To retrieve a ListView Command Set that's installed tenant-wide, view our dedicated [spo tenant commandset get](../tenant/tenant-commandset-get.mdx) command.
41
+
40
42
  ## Examples
41
43
 
42
44
  Retrieves a ListView Command Set by title.
@@ -137,7 +139,6 @@ m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19
137
139
  Property | Value
138
140
  ---------|-------
139
141
  ClientSideComponentId | c1cbd896-5140-428d-8b0c-4873be19f5ac
140
- ClientSideComponentProperties | {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
141
142
  CommandUIExtension | null
142
143
  Description | null
143
144
  Group | null
@@ -145,10 +146,8 @@ m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19
145
146
  Id | 9a0674de-2f3d-4a26-ba79-62b460ddd327
146
147
  ImageUrl | null
147
148
  Location | ClientSideExtension.ListViewCommandSet.CommandBar
148
- Name | {9a0674de-2f3d-4a26-ba79-62b460ddd327}
149
149
  RegistrationId | 100
150
150
  RegistrationType | 1
151
- Rights | {"High":"0","Low":"0"}
152
151
  Scope | 3
153
152
  ScriptBlock | null
154
153
  ScriptSrc | null
@@ -160,4 +159,3 @@ m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19
160
159
 
161
160
  </TabItem>
162
161
  </Tabs>
163
-
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
4
4
 
5
5
  # spo commandset list
6
6
 
7
- Get a list of ListView Command Sets that are added to a site.
7
+ Get a list of ListView Command Sets that are added to a site
8
8
 
9
9
  ## Usage
10
10
 
@@ -19,11 +19,15 @@ m365 spo commandset list [options]
19
19
  : The url of the site.
20
20
 
21
21
  `-s, --scope [scope]`
22
- : Scope of the ListView Command Sets. Allowed values `Site`, `Web`, `All`. Default to `All`
22
+ : Scope of the ListView Command Sets. Allowed values: `Site`, `Web`, `All`. Defaults to `All`.
23
23
  ```
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Remarks
28
+
29
+ This command can be used for retrieving a list of ListView Command Sets from a specific site. To retrieve a list of ListView Command Sets that are installed tenant-wide, view our dedicated [spo tenant commandset list](../tenant/tenant-commandset-list.mdx) command.
30
+
27
31
  ## Examples
28
32
 
29
33
  Retrieves a list of ListView Command Sets.
@@ -105,10 +109,8 @@ m365 spo commandset list --webUrl https://contoso.sharepoint.com/sites/sales
105
109
  Id | e7000aef-f756-4997-9420-01cc84f9ac9c
106
110
  ImageUrl | null
107
111
  Location | ClientSideExtension.ListViewCommandSet.CommandBar
108
- Name | {e7000aef-f756-4997-9420-01cc84f9ac9c}
109
112
  RegistrationId | 100
110
113
  RegistrationType | 0
111
- Rights | {"High":0,"Low":0}
112
114
  Scope | 2
113
115
  ScriptBlock | null
114
116
  ScriptSrc | null
@@ -120,4 +122,3 @@ m365 spo commandset list --webUrl https://contoso.sharepoint.com/sites/sales
120
122
 
121
123
  </TabItem>
122
124
  </Tabs>
123
-
@@ -2,7 +2,7 @@ import Global from '/docs/cmd/_global.mdx';
2
2
 
3
3
  # spo commandset remove
4
4
 
5
- Remove a ListView Command Set that is added to a site.
5
+ Remove a ListView Command Set that is added to a site
6
6
 
7
7
  ## Usage
8
8
 
@@ -26,14 +26,18 @@ m365 spo commandset remove [options]
26
26
  : The id of the ListView Command Set. Specify either `title`, `id` or `clientSideComponentId`.
27
27
 
28
28
  `-s, --scope [scope]`
29
- : Scope of the ListView Command Set. Allowed values: `Site`, `Web`, `All`. Defaults to `All`.
29
+ : Scope of the ListView Command Set. Allowed values are: `Site`, `Web`, `All`. Defaults to `All`.
30
30
 
31
31
  `-f, --force`
32
- : Don't prompt for confirming removal of the ListView Command Set
32
+ : Don't prompt for confirming removal of the ListView Command Set.
33
33
  ```
34
34
 
35
35
  <Global />
36
36
 
37
+ ## Remarks
38
+
39
+ This command can be used for removing a ListView Command Set from a specific site. To remove a ListView Command Set that's installed tenant-wide, view our dedicated [spo tenant commandset remove](../tenant/tenant-commandset-remove.mdx) command.
40
+
37
41
  ## Examples
38
42
 
39
43
  Remove a ListView Command Set by title.
@@ -2,7 +2,7 @@ import Global from '/docs/cmd/_global.mdx';
2
2
 
3
3
  # spo commandset set
4
4
 
5
- Updates a ListView Command Set on a site.
5
+ Updates a ListView Command Set on a site
6
6
 
7
7
  ## Usage
8
8
 
@@ -32,16 +32,16 @@ m365 spo commandset set [options]
32
32
  : The new title of the ListView Command Set.
33
33
 
34
34
  `-l, --listType [listType]`
35
- : The list or library type to register the Command Set on. Allowed values `List`, `Library` or `SitePages`.
35
+ : The list or library type to register the Command Set on. Allowed values are: `List`, `Library` or `SitePages`.
36
36
 
37
37
  `--clientSideComponentProperties [clientSideComponentProperties]`
38
38
  : The Client Side Component properties of the ListView Command Set.
39
39
 
40
40
  `-s, --scope [scope]`
41
- : The scope where to lookup the ListView Command Set: at site level or web level. Allowed values: `Site`, `Web`, `All`. Defaults to `All`.
41
+ : The scope where to lookup the ListView Command Set: at site level or web level. Allowed values are: `Site`, `Web`, `All`. Defaults to `All`.
42
42
 
43
43
  `--location [location]`
44
- : The location of the ListView Command Set. Allowed values `ContextMenu`, `CommandBar` or `Both`.
44
+ : The location of the ListView Command Set. Allowed values are: `ContextMenu`, `CommandBar` or `Both`.
45
45
  ```
46
46
 
47
47
  <Global />
@@ -62,6 +62,8 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
62
62
 
63
63
  :::
64
64
 
65
+ This command can be used for updating a ListView Command Set on a specific site. To update a ListView Command Set that's installed tenant-wide, view our dedicated [spo tenant commandset set](../tenant/tenant-commandset-set.mdx) command.
66
+
65
67
  ## Examples
66
68
 
67
69
  Updates the title and location of a ListView Command Set on the sales site.