@pnp/cli-microsoft365 6.3.0-beta.c3dc921 → 6.3.0-beta.cefe20e

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 (259) hide show
  1. package/.eslintrc.js +8 -0
  2. package/dist/Auth.js +0 -18
  3. package/dist/Command.js +12 -1
  4. package/dist/appInsights.js +2 -1
  5. package/dist/cli/Cli.js +74 -3
  6. package/dist/m365/aad/commands/group/group-list.js +2 -1
  7. package/dist/m365/aad/commands/license/license-list.js +41 -0
  8. package/dist/m365/aad/commands/user/user-add.js +223 -0
  9. package/dist/m365/aad/commands/user/user-license-add.js +88 -0
  10. package/dist/m365/aad/commands/user/user-license-list.js +99 -0
  11. package/dist/m365/aad/commands/user/user-license-remove.js +114 -0
  12. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
  13. package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
  14. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
  15. package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +77 -0
  16. package/dist/m365/aad/commands/user/user-remove.js +107 -0
  17. package/dist/m365/aad/commands.js +10 -0
  18. package/dist/m365/base/O365MgmtCommand.js +10 -0
  19. package/dist/m365/context/commands/option/option-list.js +54 -0
  20. package/dist/m365/context/commands.js +1 -0
  21. package/dist/m365/file/commands/convert/convert-pdf.js +7 -6
  22. package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
  23. package/dist/m365/flow/commands/environment/environment-get.js +26 -11
  24. package/dist/m365/flow/commands/run/run-list.js +55 -3
  25. package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
  26. package/dist/m365/onenote/commands/notebook/notebook-list.js +50 -53
  27. package/dist/m365/onenote/commands/page/page-list.js +2 -16
  28. package/dist/m365/outlook/commands/mail/mail-send.js +3 -2
  29. package/dist/m365/outlook/commands/message/message-get.js +4 -3
  30. package/dist/m365/pa/commands/environment/environment-get.js +13 -5
  31. package/dist/m365/planner/commands/plan/plan-add.js +20 -6
  32. package/dist/m365/planner/commands/plan/plan-get.js +40 -26
  33. package/dist/m365/planner/commands/plan/plan-list.js +24 -14
  34. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  35. package/dist/m365/planner/commands/plan/plan-set.js +21 -10
  36. package/dist/m365/planner/commands/roster/roster-add.js +47 -0
  37. package/dist/m365/planner/commands/roster/roster-get.js +61 -0
  38. package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
  39. package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
  40. package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
  41. package/dist/m365/planner/commands/roster/roster-remove.js +88 -0
  42. package/dist/m365/planner/commands/task/task-add.js +3 -0
  43. package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
  44. package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
  45. package/dist/m365/planner/commands.js +6 -0
  46. package/dist/m365/pp/commands/environment/environment-get.js +18 -9
  47. package/dist/m365/pp/commands/solution/solution-get.js +2 -1
  48. package/dist/m365/pp/commands/solution/solution-list.js +2 -1
  49. package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
  50. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +75 -0
  51. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +46 -0
  52. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
  53. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
  54. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +75 -0
  55. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +43 -0
  56. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
  57. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
  58. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
  59. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
  60. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
  61. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
  62. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
  63. package/dist/m365/purview/commands.js +9 -0
  64. package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +3 -0
  65. package/dist/m365/spfx/commands/project/project-permissions-grant.js +81 -0
  66. package/dist/m365/spfx/commands.js +3 -2
  67. package/dist/m365/spo/commands/app/app-add.js +2 -1
  68. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
  69. package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
  70. package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
  71. package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
  72. package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
  73. package/dist/m365/spo/commands/file/file-move.js +0 -2
  74. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
  75. package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
  76. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
  77. package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
  78. package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
  79. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
  80. package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
  81. package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
  82. package/dist/m365/spo/commands/folder/folder-move.js +0 -2
  83. package/dist/m365/spo/commands/group/group-list.js +2 -1
  84. package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
  85. package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
  86. package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
  87. package/dist/m365/spo/commands/navigation/navigation-node-add.js +17 -3
  88. package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
  89. package/dist/m365/spo/commands/navigation/navigation-node-list.js +4 -7
  90. package/dist/m365/spo/commands/navigation/navigation-node-set.js +118 -0
  91. package/dist/m365/spo/commands/page/page-column-get.js +2 -1
  92. package/dist/m365/spo/commands/page/page-column-list.js +2 -1
  93. package/dist/m365/spo/commands/page/page-section-get.js +2 -1
  94. package/dist/m365/spo/commands/page/page-section-list.js +2 -1
  95. package/dist/m365/spo/commands/site/site-add.js +0 -3
  96. package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -14
  97. package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -14
  98. package/dist/m365/spo/commands/site/site-apppermission-list.js +2 -14
  99. package/dist/m365/spo/commands/site/site-apppermission-remove.js +2 -14
  100. package/dist/m365/spo/commands/site/site-apppermission-set.js +2 -14
  101. package/dist/m365/spo/commands/site/site-remove.js +0 -3
  102. package/dist/m365/spo/commands/site/site-set.js +0 -2
  103. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
  104. package/dist/m365/spo/commands/spo-search.js +2 -1
  105. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
  106. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
  107. package/dist/m365/spo/commands/term/term-list.js +2 -1
  108. package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
  109. package/dist/m365/spo/commands/web/web-set.js +11 -4
  110. package/dist/m365/spo/commands.js +6 -0
  111. package/dist/m365/teams/commands/chat/chat-list.js +4 -4
  112. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +5 -5
  113. package/dist/m365/teams/commands/meeting/meeting-get.js +5 -5
  114. package/dist/m365/teams/commands/meeting/meeting-list.js +5 -4
  115. package/dist/m365/teams/commands/team/team-add.js +3 -8
  116. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  117. package/dist/m365/teams/commands/user/user-app-list.js +2 -1
  118. package/dist/m365/todo/commands/task/task-get.js +2 -1
  119. package/dist/m365/todo/commands/task/task-list.js +2 -1
  120. package/dist/m365/yammer/commands/yammer-search.js +2 -1
  121. package/dist/utils/aadUser.js +38 -0
  122. package/dist/utils/accessToken.js +1 -1
  123. package/dist/utils/planner.js +16 -5
  124. package/dist/utils/session.js +18 -0
  125. package/dist/utils/spo.js +119 -12
  126. package/docs/docs/cmd/aad/app/app-list.md +3 -0
  127. package/docs/docs/cmd/aad/license/license-list.md +87 -0
  128. package/docs/docs/cmd/aad/user/user-add.md +168 -0
  129. package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
  130. package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
  131. package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
  132. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +42 -0
  133. package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
  134. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
  135. package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
  136. package/docs/docs/cmd/aad/user/user-remove.md +51 -0
  137. package/docs/docs/cmd/aad/user/user-set.md +2 -2
  138. package/docs/docs/cmd/context/option/option-list.md +63 -0
  139. package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
  140. package/docs/docs/cmd/flow/run/run-list.md +21 -0
  141. package/docs/docs/cmd/login.md +26 -0
  142. package/docs/docs/cmd/logout.md +4 -0
  143. package/docs/docs/cmd/pa/app/app-get.md +24 -0
  144. package/docs/docs/cmd/pa/app/app-list.md +21 -0
  145. package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
  146. package/docs/docs/cmd/pa/environment/environment-get.md +26 -2
  147. package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
  148. package/docs/docs/cmd/planner/plan/plan-add.md +17 -6
  149. package/docs/docs/cmd/planner/plan/plan-get.md +21 -7
  150. package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
  151. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  152. package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
  153. package/docs/docs/cmd/planner/roster/roster-add.md +60 -0
  154. package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
  155. package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
  156. package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
  157. package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
  158. package/docs/docs/cmd/planner/roster/roster-remove.md +48 -0
  159. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
  160. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
  161. package/docs/docs/cmd/pp/card/card-clone.md +12 -0
  162. package/docs/docs/cmd/pp/card/card-get.md +49 -0
  163. package/docs/docs/cmd/pp/card/card-list.md +49 -0
  164. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
  165. package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
  166. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
  167. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
  168. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
  169. package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
  170. package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
  171. package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
  172. package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
  173. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
  174. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
  175. package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
  176. package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
  177. package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
  178. package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
  179. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
  180. package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
  181. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
  182. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
  183. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
  184. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
  185. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +103 -0
  186. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
  187. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
  188. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
  189. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
  190. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
  191. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
  192. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
  193. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
  194. package/docs/docs/cmd/request.md +74 -0
  195. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +65 -0
  196. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
  197. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
  198. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  199. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
  200. package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
  201. package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
  202. package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -2
  203. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
  204. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
  205. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
  206. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
  207. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
  208. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
  209. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
  210. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
  211. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
  212. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
  213. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +7 -1
  214. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
  215. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
  216. package/docs/docs/cmd/spo/list/list-add.md +123 -57
  217. package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
  218. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
  219. package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
  220. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
  221. package/docs/docs/cmd/spo/list/list-get.md +70 -4
  222. package/docs/docs/cmd/spo/list/list-list.md +70 -2
  223. package/docs/docs/cmd/spo/list/list-remove.md +6 -6
  224. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
  225. package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
  226. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
  227. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
  228. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
  229. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
  230. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
  231. package/docs/docs/cmd/spo/list/list-set.md +61 -61
  232. package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
  233. package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
  234. package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
  235. package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
  236. package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
  237. package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
  238. package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
  239. package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
  240. package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
  241. package/docs/docs/cmd/spo/listitem/listitem-add.md +29 -0
  242. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +19 -4
  243. package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
  244. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +8 -2
  245. package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
  246. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
  247. package/docs/docs/cmd/spo/listitem/listitem-set.md +30 -0
  248. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +40 -3
  249. package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
  250. package/docs/docs/cmd/spo/navigation/navigation-node-list.md +30 -0
  251. package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
  252. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +59 -0
  253. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
  254. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
  255. package/docs/docs/cmd/spo/web/web-set.md +9 -0
  256. package/docs/docs/cmd/status.md +46 -0
  257. package/docs/docs/cmd/version.md +26 -0
  258. package/npm-shrinkwrap.json +912 -876
  259. package/package.json +13 -12
@@ -11,16 +11,16 @@ m365 spo hubsite set [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --id <id>`
14
- : ID of the hub site to update
14
+ : ID of the hub site.
15
15
 
16
16
  `-t, --title [title]`
17
- : The new title for the hub site
17
+ : The new title for the hub site.
18
18
 
19
19
  `-d, --description [description]`
20
- : The new description for the hub site
20
+ : The new description for the hub site.
21
21
 
22
22
  `-l, --logoUrl [logoUrl]`
23
- : The URL of the new logo for the hub site
23
+ : The URL of the new logo for the hub site.
24
24
 
25
25
  --8<-- "docs/cmd/_global.md"
26
26
 
@@ -33,13 +33,13 @@ If the specified `id` doesn't refer to an existing hub site, you will get an `Un
33
33
 
34
34
  ## Examples
35
35
 
36
- Update hub site's title
36
+ Update hub site's title.
37
37
 
38
38
  ```sh
39
39
  m365 spo hubsite set --id 255a50b2-527f-4413-8485-57f4c17a24d1 --title Sales
40
40
  ```
41
41
 
42
- Update hub site's title and description
42
+ Update hub site's title and description.
43
43
 
44
44
  ```sh
45
45
  m365 spo hubsite set --id 255a50b2-527f-4413-8485-57f4c17a24d1 --title Sales --description "All things sales"
@@ -51,43 +51,68 @@ m365 spo hubsite set --id 255a50b2-527f-4413-8485-57f4c17a24d1 --title Sales --d
51
51
 
52
52
  ```json
53
53
  {
54
- "Description": "Hello",
54
+ "Description": "All things sales",
55
55
  "EnablePermissionsSync": false,
56
56
  "HideNameInNavigation": false,
57
- "ID": "af80c11f-0138-4d72-bb37-514542c3aabb",
57
+ "ID": "255a50b2-527f-4413-8485-57f4c17a24d1",
58
58
  "LogoUrl": "https://contoso.sharepoint.com/sites/intra/SiteAssets/teapoint.png",
59
59
  "ParentHubSiteId": "/Guid(00000000-0000-0000-0000-000000000000)/",
60
60
  "Permissions": null,
61
61
  "RequiresJoinApproval": false,
62
62
  "SiteDesignId": "/Guid(184644fb-90ed-4841-a7ad-6930cf819060)/",
63
- "SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
63
+ "SiteId": "255a50b2-527f-4413-8485-57f4c17a24d1",
64
64
  "SiteUrl": "https://contoso.sharepoint.com/sites/intra",
65
- "Title": "Intranet"
65
+ "Title": "Sales"
66
66
  }
67
67
  ```
68
68
 
69
69
  === "Text"
70
70
 
71
71
  ```text
72
- Description : Hello
72
+ Description : All things sales
73
73
  EnablePermissionsSync: false
74
74
  HideNameInNavigation : false
75
- ID : af80c11f-0138-4d72-bb37-514542c3aabb
75
+ ID : 255a50b2-527f-4413-8485-57f4c17a24d1
76
76
  LogoUrl : https://contoso.sharepoint.com/sites/intra/SiteAssets/teapoint.png
77
77
  ParentHubSiteId : /Guid(00000000-0000-0000-0000-000000000000)/
78
78
  Permissions : null
79
79
  RequiresJoinApproval : false
80
80
  SiteDesignId : /Guid(184644fb-90ed-4841-a7ad-6930cf819060)/
81
- SiteId : af80c11f-0138-4d72-bb37-514542c3aabb
81
+ SiteId : 255a50b2-527f-4413-8485-57f4c17a24d1
82
82
  SiteUrl : https://contoso.sharepoint.com/sites/intra
83
- Title : Intranet
83
+ Title : Sales
84
84
  ```
85
85
 
86
86
  === "CSV"
87
87
 
88
88
  ```csv
89
89
  Description,EnablePermissionsSync,HideNameInNavigation,ID,LogoUrl,ParentHubSiteId,Permissions,RequiresJoinApproval,SiteDesignId,SiteId,SiteUrl,Title
90
- Hello,,,af80c11f-0138-4d72-bb37-514542c3aabb,https://contoso.sharepoint.com/sites/intra/SiteAssets/teapoint.png,/Guid(00000000-0000-0000-0000-000000000000)/,,,/Guid(184644fb-90ed-4841-a7ad-6930cf819060)/,af80c11f-0138-4d72-bb37-514542c3aabb,https://contoso.sharepoint.com/sites/intra,Intranet
90
+ All things sales,,,255a50b2-527f-4413-8485-57f4c17a24d1,https://contoso.sharepoint.com/sites/intra/SiteAssets/teapoint.png,/Guid(00000000-0000-0000-0000-000000000000)/,,,/Guid(184644fb-90ed-4841-a7ad-6930cf819060)/,255a50b2-527f-4413-8485-57f4c17a24d1,https://contoso.sharepoint.com/sites/intra,Sales
91
+ ```
92
+
93
+ === "Markdown"
94
+
95
+ ```md
96
+ # spo hubsite set --id "255a50b2-527f-4413-8485-57f4c17a24d1" --title "Sales" --description "All things sales"
97
+
98
+ Date: 2/20/2023
99
+
100
+ ## Sales (255a50b2-527f-4413-8485-57f4c17a24d1)
101
+
102
+ Property | Value
103
+ ---------|-------
104
+ Description | All things sales
105
+ EnablePermissionsSync | false
106
+ HideNameInNavigation | false
107
+ ID | 255a50b2-527f-4413-8485-57f4c17a24d1
108
+ LogoUrl | https://contoso.sharepoint.com/sites/intra/SiteAssets/teapoint.png
109
+ ParentHubSiteId | /Guid(00000000-0000-0000-0000-000000000000)/
110
+ Permissions | null
111
+ RequiresJoinApproval | false
112
+ SiteDesignId | /Guid(00000000-0000-0000-0000-000000000000)/
113
+ SiteId | 255a50b2-527f-4413-8485-57f4c17a24d1
114
+ SiteUrl | https://contoso.sharepoint.com/sites/intra
115
+ Title | Sales
91
116
  ```
92
117
 
93
118
  ## More information
@@ -11,10 +11,10 @@ m365 spo hubsite unregister [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --url <url>`
14
- : URL of the site collection to unregister as a hub site
14
+ : URL of the site collection.
15
15
 
16
16
  `--confirm`
17
- : Don't prompt for confirming unregistering the hub site
17
+ : Don't prompt for confirmation.
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
@@ -27,13 +27,13 @@ If the specified site collection is not registered as a hub site, you will get a
27
27
 
28
28
  ## Examples
29
29
 
30
- Unregister the site collection with URL _https://contoso.sharepoint.com/sites/sales_ as a hub site. Will prompt for confirmation before unregistering the hub site.
30
+ Unregister the site collection with specific URL. as a hub site. Will prompt for confirmation before unregistering the hub site.
31
31
 
32
32
  ```sh
33
33
  m365 spo hubsite unregister --url https://contoso.sharepoint.com/sites/sales
34
34
  ```
35
35
 
36
- Unregister the site collection with URL _https://contoso.sharepoint.com/sites/sales_ as a hub site without prompting for confirmation.
36
+ Unregister the site collection with specific URL. as a hub site without prompting for confirmation.
37
37
 
38
38
  ```sh
39
39
  m365 spo hubsite unregister --url https://contoso.sharepoint.com/sites/sales --confirm
@@ -17,7 +17,7 @@ m365 spo knowledgehub get [options]
17
17
 
18
18
  ## Examples
19
19
 
20
- Gets the Knowledge Hub Site URL for your tenant
20
+ Gets the Knowledge Hub Site URL for your tenant.
21
21
 
22
22
  ```sh
23
23
  m365 spo knowledgehub get
@@ -42,3 +42,9 @@ m365 spo knowledgehub get
42
42
  ```csv
43
43
  https://contoso.sharepoint.com
44
44
  ```
45
+
46
+ === "Markdown"
47
+
48
+ ```md
49
+ https://contoso.sharepoint.com
50
+ ```
@@ -11,7 +11,7 @@ m365 spo knowledgehub remove [options]
11
11
  ## Options
12
12
 
13
13
  `--confirm`
14
- : Do not prompt for confirmation before removing the Knowledge Hub Site setting for your tenant
14
+ : Do not prompt for confirmation before removing the Knowledge Hub Site setting for your tenant.
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
@@ -20,13 +20,13 @@ m365 spo knowledgehub remove [options]
20
20
 
21
21
  ## Examples
22
22
 
23
- Removes the Knowledge Hub Site setting for your tenant
23
+ Removes the Knowledge Hub Site setting for your tenant.
24
24
 
25
25
  ```sh
26
26
  m365 spo knowledgehub remove
27
27
  ```
28
28
 
29
- Removes the Knowledge Hub Site setting for your tenant without confirmation
29
+ Removes the Knowledge Hub Site setting for your tenant without confirmation.
30
30
 
31
31
  ```sh
32
32
  m365 spo knowledgehub remove --confirm
@@ -51,3 +51,9 @@ m365 spo knowledgehub remove --confirm
51
51
  ```csv
52
52
  The knowledge hub site setting was removed.
53
53
  ```
54
+
55
+ === "Markdown"
56
+
57
+ ```md
58
+ The knowledge hub site setting was removed.
59
+ ```
@@ -11,7 +11,7 @@ m365 spo knowledgehub set [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --siteUrl <siteUrl>`
14
- : URL of the site to set as Knowledge Hub
14
+ : URL of the site to set as Knowledge Hub.
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
@@ -24,7 +24,7 @@ If the specified url doesn't refer to an existing site collection, you will get
24
24
 
25
25
  ## Examples
26
26
 
27
- Sets the Knowledge Hub Site for your tenant
27
+ Sets the Knowledge Hub Site for your tenant.
28
28
 
29
29
  ```sh
30
30
  m365 spo knowledgehub set --siteUrl https://contoso.sharepoint.com/sites/knowledgesite
@@ -49,3 +49,9 @@ m365 spo knowledgehub set --siteUrl https://contoso.sharepoint.com/sites/knowled
49
49
  ```csv
50
50
  The knowledge hub site with url "https://contoso.sharepoint.com" is added to list.
51
51
  ```
52
+
53
+ === "Markdown"
54
+
55
+ ```md
56
+ The knowledge hub site with url "https://contoso.sharepoint.com" is added to list.
57
+ ```
@@ -11,130 +11,130 @@ m365 spo list add [options]
11
11
  ## Options
12
12
 
13
13
  `-t, --title <title>`
14
- : Title of the list to add
14
+ : Title of the list to add.
15
15
 
16
16
  `--baseTemplate <baseTemplate>`
17
- : The list definition type on which the list is based. Allowed values `Announcements,Contacts,CustomGrid,DataSources,DiscussionBoard,DocumentLibrary,Events,GanttTasks,GenericList,IssuesTracking,Links,NoCodeWorkflows,PictureLibrary,Survey,Tasks,WebPageLibrary,WorkflowHistory,WorkflowProcess,XmlForm`. Default `GenericList`
17
+ : The list definition type on which the list is based. Allowed values `Announcements`, `Contacts`, `CustomGrid`, `DataSources`,`DiscussionBoard`, `DocumentLibrary`, `Events`, `GanttTasks`, `GenericList`, `IssuesTracking`, `Links`, `NoCodeWorkflows`,`PictureLibrary`, `Survey`, `Tasks`, `WebPageLibrary`, `WorkflowHistory`, `WorkflowProcess`, `XmlForm`. Default `GenericList`.
18
18
 
19
19
  `-u, --webUrl <webUrl>`
20
- : URL of the site where the list should be added
20
+ : URL of the site where the list should be added.
21
21
 
22
22
  `--description [description]`
23
- : The description for the list
23
+ : The description for the list.
24
24
 
25
25
  `--templateFeatureId [templateFeatureId]`
26
- : The globally unique identifier (GUID) of a template feature that is associated with the list
26
+ : The globally unique identifier (GUID) of a template feature that is associated with the list.
27
27
 
28
28
  `--allowDeletion [allowDeletion]`
29
- : Boolean value specifying whether the list can be deleted. Valid values are `true,false`
29
+ : Boolean value specifying whether the list can be deleted. Valid values are `true`, `false`.
30
30
 
31
31
  `--allowEveryoneViewItems [allowEveryoneViewItems]`
32
- : Boolean value specifying whether everyone can view documents in the documentlibrary or attachments to items in the list. Valid values are `true,false`
32
+ : Boolean value specifying whether everyone can view documents in the documentlibrary or attachments to items in the list. Valid values are `true`, `false`.
33
33
 
34
34
  `--allowMultiResponses [allowMultiResponses]`
35
- : Boolean value specifying whether users are allowed to give multiple responses to the survey. Valid values are `true,false`
35
+ : Boolean value specifying whether users are allowed to give multiple responses to the survey. Valid values are `true`, `false`.
36
36
 
37
37
  `--contentTypesEnabled [contentTypesEnabled]`
38
- : Boolean value specifying whether content types are enabled for the list. Valid values are `true,false`
38
+ : Boolean value specifying whether content types are enabled for the list. Valid values are `true`, `false`.
39
39
 
40
40
  `--crawlNonDefaultViews [crawlNonDefaultViews]`
41
- : Boolean value specifying whether to crawl non default views. Valid values are `true,false`
41
+ : Boolean value specifying whether to crawl non default views. Valid values are `true`, `false`.
42
42
 
43
43
  `--defaultContentApprovalWorkflowId [defaultContentApprovalWorkflowId]`
44
- : Value that specifies the default workflow identifier for content approval onthe list (GUID)
44
+ : Value that specifies the default workflow identifier for content approval onthe list (GUID).
45
45
 
46
46
  `--defaultDisplayFormUrl [defaultDisplayFormUrl]`
47
- : Value that specifies the location of the default display form for the list
47
+ : Value that specifies the location of the default display form for the list.
48
48
 
49
49
  `--defaultEditFormUrl [defaultEditFormUrl]`
50
50
  : Value that specifies the URL of the edit form to use for list items in the list
51
-
51
+ .
52
52
  `--direction [direction]`
53
- : Value that specifies the reading order of the list. Valid values are `NONE,LTR,RTL`
53
+ : Value that specifies the reading order of the list. Valid values are `NONE`, `LTR`, `RTL`.
54
54
 
55
55
  `--disableGridEditing [disableGridEditing]`
56
- : Property for assigning or retrieving grid editing on the list. Valid values are `true,false`
56
+ : Property for assigning or retrieving grid editing on the list. Valid values are `true`, `false`.
57
57
 
58
58
  `--draftVersionVisibility [draftVersionVisibility]`
59
- : Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values `Reader,Author,Approver`. Default Reader
59
+ : Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values `Reader`, `Author`, `Approver`. Default `Reader`.
60
60
 
61
61
  `--emailAlias [emailAlias]`
62
62
  : If e-mail notification is enabled, gets or sets the e-mail address to use tonotify to the owner of an item when an assignment has changed or the item has been updated.
63
63
 
64
64
  `--enableAssignToEmail [enableAssignToEmail]`
65
- : Boolean value specifying whether e-mail notification is enabled for the list. Valid values are `true,false`
65
+ : Boolean value specifying whether e-mail notification is enabled for the list. Valid values are `true`, `false`.
66
66
 
67
67
  `--enableAttachments [enableAttachments]`
68
- : Boolean value that specifies whether attachments can be added to items in the list. Valid values are `true,false`
68
+ : Boolean value that specifies whether attachments can be added to items in the list. Valid values are `true`, `false`.
69
69
 
70
70
  `--enableDeployWithDependentList [enableDeployWithDependentList]`
71
- : Boolean value that specifies whether the list can be deployed with a dependent list. Valid values are `true,false`
71
+ : Boolean value that specifies whether the list can be deployed with a dependent list. Valid values are `true`, `false`.
72
72
 
73
73
  `--enableFolderCreation [enableFolderCreation]`
74
- : Boolean value that specifies whether folders can be created for the list. Valid values are `true,false`
74
+ : Boolean value that specifies whether folders can be created for the list. Valid values are `true`, `false`.
75
75
 
76
76
  `--enableMinorVersions [enableMinorVersions]`
77
- : Boolean value that specifies whether minor versions are enabled when versioning is enabled for the document library. Valid values are `true,false`
77
+ : Boolean value that specifies whether minor versions are enabled when versioning is enabled for the document library. Valid values are `true`, `false`.
78
78
 
79
79
  `--enableModeration [enableModeration]`
80
- : Boolean value that specifies whether Content Approval is enabled for the list. Valid values are `true,false`
80
+ : Boolean value that specifies whether Content Approval is enabled for the list. Valid values are `true`, `false`.
81
81
 
82
82
  `--enablePeopleSelector [enablePeopleSelector]`
83
- : Enable user selector on event list. Valid values are `true,false`
83
+ : Enable user selector on event list. Valid values are `true`, `false`.
84
84
 
85
85
  `--enableResourceSelector [enableResourceSelector]`
86
- : Enables resource selector on an event list. Valid values are `true,false`
86
+ : Enables resource selector on an event list. Valid values are `true`, `false`.
87
87
 
88
88
  `--enableSchemaCaching [enableSchemaCaching]`
89
- : Boolean value specifying whether schema caching is enabled for the list. Valid values are `true,false`
89
+ : Boolean value specifying whether schema caching is enabled for the list. Valid values are `true`, `false`.
90
90
 
91
91
  `--enableSyndication [enableSyndication]`
92
- : Boolean value that specifies whether RSS syndication is enabled for the list. Valid values are `true,false`
92
+ : Boolean value that specifies whether RSS syndication is enabled for the list. Valid values are `true`, `false`.
93
93
 
94
94
  `--enableThrottling [enableThrottling]`
95
- : Indicates whether throttling for this list is enabled or not. Valid values are `true,false`
95
+ : Indicates whether throttling for this list is enabled or not. Valid values are `true`, `false`.
96
96
 
97
97
  `--enableVersioning [enableVersioning]`
98
- : Boolean value that specifies whether versioning is enabled for the document library. Valid values are `true,false`
98
+ : Boolean value that specifies whether versioning is enabled for the document library. Valid values are `true`, `false`.
99
99
 
100
100
  `--enforceDataValidation [enforceDataValidation]`
101
- : Value that indicates whether certain field properties are enforced when an item is added or updated. Valid values are `true,false`
101
+ : Value that indicates whether certain field properties are enforced when an item is added or updated. Valid values are `true`, `false`.
102
102
 
103
103
  `--excludeFromOfflineClient [excludeFromOfflineClient]`
104
- : Value that indicates whether the list should be downloaded to the client during offline synchronization. Valid values are `true,false`
104
+ : Value that indicates whether the list should be downloaded to the client during offline synchronization. Valid values are `true`, `false`.
105
105
 
106
106
  `--fetchPropertyBagForListView [fetchPropertyBagForListView]`
107
- : Specifies whether property bag information, as part of the list schema JSON,is retrieved when the list is being rendered on the client. Valid values are `true,false`
107
+ : Specifies whether property bag information, as part of the list schema JSON,is retrieved when the list is being rendered on the client. Valid values are `true`, `false`.
108
108
 
109
109
  `--followable [followable]`
110
- : Can a list be followed in an activity feed?. Valid values are `true,false`
110
+ : Can a list be followed in an activity feed?. Valid values are `true`, `false`.
111
111
 
112
112
  `--forceCheckout [forceCheckout]`
113
- : Boolean value that specifies whether forced checkout is enabled for the document library. Valid values are `true,false`
113
+ : Boolean value that specifies whether forced checkout is enabled for the document library. Valid values are `true`, `false`.
114
114
 
115
115
  `--forceDefaultContentType [forceDefaultContentType]`
116
- : Specifies whether we want to return the default Document root content type. Valid values are `true,false`
116
+ : Specifies whether we want to return the default Document root content type. Valid values are `true`, `false`.
117
117
 
118
118
  `--hidden [hidden]`
119
- : Boolean value that specifies whether the list is hidden. Valid values are `true,false`
119
+ : Boolean value that specifies whether the list is hidden. Valid values are `true`, `false`.
120
120
 
121
121
  `--includedInMyFilesScope [includedInMyFilesScope]`
122
- : Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string “myfiles” by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list
122
+ : Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string “myfiles” by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list.
123
123
 
124
124
  `--irmEnabled [irmEnabled]`
125
- : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list
125
+ : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list.
126
126
 
127
127
  `--irmExpire [irmExpire]`
128
- : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) expiration is enabled for the list
128
+ : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) expiration is enabled for the list.
129
129
 
130
130
  `--irmReject [irmReject]`
131
- : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) rejection is enabled for the list
131
+ : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) rejection is enabled for the list.
132
132
 
133
133
  `--isApplicationList [isApplicationList]`
134
- : Indicates whether this list should be treated as a top level navigation object or not
134
+ : Indicates whether this list should be treated as a top level navigation object or not.
135
135
 
136
136
  `--listExperienceOptions [listExperienceOptions]`
137
- : Gets or sets the list experience for the list. Allowed values Auto,NewExperience,ClassicExperience. Default Auto
137
+ : Gets or sets the list experience for the list. Allowed values `Auto`, `NewExperience`, `ClassicExperience`. Default `Auto`.
138
138
 
139
139
  `--majorVersionLimit [majorVersionLimit]`
140
140
  : Gets or sets the maximum number of major versions allowed for an item in a document library that uses version control with major versions only.
@@ -146,46 +146,46 @@ m365 spo list add [options]
146
146
  : Gets or sets a Boolean value that specifies whether the list in a Meeting Workspace sitecontains data for multiple meeting instances within the site
147
147
 
148
148
  `--navigateForFormsPages [navigateForFormsPages]`
149
- : Indicates whether to navigate for forms pages or use a modal dialog
149
+ : Indicates whether to navigate for forms pages or use a modal dialog.
150
150
 
151
151
  `--needUpdateSiteClientTag [needUpdateSiteClientTag]`
152
152
  : A boolean value that determines whether to editing documents in this list should increment the ClientTag for the site. The tag is used to allow clients to cache JS/CSS/resources that are retrieved from the Content DB, including custom CSR templates.
153
153
 
154
154
  `--noCrawl [noCrawl]`
155
- : Gets or sets a Boolean value specifying whether crawling is enabled for the list
155
+ : Gets or sets a Boolean value specifying whether crawling is enabled for the list.
156
156
 
157
157
  `--onQuickLaunch [onQuickLaunch]`
158
- : Gets or sets a Boolean value that specifies whether the list appears on the Quick Launcharea of the home page
158
+ : Gets or sets a Boolean value that specifies whether the list appears on the Quick Launcharea of the home page.
159
159
 
160
160
  `--ordered [ordered]`
161
- : Gets or sets a Boolean value that specifies whether the option to allow users to reorderitems in the list is available on the Edit View page for the list
161
+ : Gets or sets a Boolean value that specifies whether the option to allow users to reorderitems in the list is available on the Edit View page for the list.
162
162
 
163
163
  `--parserDisabled [parserDisabled]`
164
- : Gets or sets a Boolean value that specifies whether the parser should be disabled
164
+ : Gets or sets a Boolean value that specifies whether the parser should be disabled.
165
165
 
166
166
  `--readOnlyUI [readOnlyUI]`
167
- : A boolean value that indicates whether the UI for this list should be presented in a read-only fashion. This will not affect security nor will it actually prevent changes to the list from occurring - it only affects the way the UI is displayed
167
+ : A boolean value that indicates whether the UI for this list should be presented in a read-only fashion. This will not affect security nor will it actually prevent changes to the list from occurring - it only affects the way the UI is displayed.
168
168
 
169
169
  `--readSecurity [readSecurity]`
170
- : Gets or sets the Read security setting for the list. Valid values are 1 (All users have Read access to all items)|2 (Users have Read access only to items that they create)
170
+ : Gets or sets the Read security setting for the list. Valid values are 1 (All users have Read access to all items)|2 (Users have Read access only to items that they create).
171
171
 
172
172
  `--requestAccessEnabled [requestAccessEnabled]`
173
- : Gets or sets a Boolean value that specifies whether the option to allow users to requestaccess to the list is available
173
+ : Gets or sets a Boolean value that specifies whether the option to allow users to requestaccess to the list is available.
174
174
 
175
175
  `--restrictUserUpdates [restrictUserUpdates]`
176
- : A boolean value that indicates whether the this list is a restricted one or not The value can't be changed if there are existing items in the list
176
+ : A boolean value that indicates whether the this list is a restricted one or not The value can't be changed if there are existing items in the list.
177
177
 
178
178
  `--sendToLocationName [sendToLocationName]`
179
179
  : Gets or sets a file name to use when copying an item in the list to another document library.
180
180
 
181
181
  `--sendToLocationUrl [sendToLocationUrl]`
182
- : Gets or sets a URL to use when copying an item in the list to another document library
182
+ : Gets or sets a URL to use when copying an item in the list to another document library.
183
183
 
184
184
  `--showUser [showUser]`
185
- : Gets or sets a Boolean value that specifies whether names of users are shown in the results of the survey
185
+ : Gets or sets a Boolean value that specifies whether names of users are shown in the results of the survey.
186
186
 
187
187
  `--useFormsForDisplay [useFormsForDisplay]`
188
- : Indicates whether forms should be considered for display context or not
188
+ : Indicates whether forms should be considered for display context or not.
189
189
 
190
190
  `--validationFormula [validationFormula]`
191
191
  : Gets or sets a formula that is evaluated each time that a list item is added or updated.
@@ -194,22 +194,22 @@ m365 spo list add [options]
194
194
  : Gets or sets the message that is displayed when validation fails for a list item.
195
195
 
196
196
  `--writeSecurity [writeSecurity]`
197
- : Gets or sets the Write security setting for the list. Valid values are 1 (All users can modify all items)|2 (Users can modify only items that they create)|4 (Users cannot modify any list item)
197
+ : Gets or sets the Write security setting for the list. Valid values are 1 (All users can modify all items)|2 (Users can modify only items that they create)|4 (Users cannot modify any list item).
198
198
 
199
199
  `--schemaXml [schemaXml]`
200
- : (deprecated) The schema in Collaborative Application Markup Language (CAML) schemas that defines the list
200
+ : (deprecated) The schema in Collaborative Application Markup Language (CAML) schemas that defines the list.
201
201
 
202
202
  --8<-- "docs/cmd/_global.md"
203
203
 
204
204
  ## Examples
205
205
 
206
- Add a list with title _Announcements_ and baseTemplate _Announcements_ in site _https://contoso.sharepoint.com/sites/project-x_
206
+ Add a list with specific title and baseTemplate in a specific site.
207
207
 
208
208
  ```sh
209
209
  m365 spo list add --title Announcements --baseTemplate Announcements --webUrl https://contoso.sharepoint.com/sites/project-x
210
210
  ```
211
211
 
212
- Add a list with title _Announcements_, baseTemplate _Announcements_ in site _https://contoso.sharepoint.com/sites/project-x_ with content types and versioning enabled and major version limit set to _50_
212
+ Add a list with specific title and baseTemplate in a specific site with content types and versioning enabled and major version limit set.
213
213
 
214
214
  ```sh
215
215
  m365 spo list add --webUrl https://contoso.sharepoint.com/sites/project-x --title Announcements --baseTemplate Announcements --contentTypesEnabled true --enableVersioning true --majorVersionLimit 50
@@ -348,6 +348,72 @@ m365 spo list add --webUrl https://contoso.sharepoint.com/sites/project-x --titl
348
348
  1,100,0,,,2022-11-16T19:52:41Z,"{""StringValue"":""1;3;3b6bd39e-1e62-4ddf-ac8e-020bf5353891;638042251616230000;564166296""}",00000000-0000-0000-0000-000000000000,,,none,,,,0,1,,,,1,1,TestList,,,,,,3b6bd39e-1e62-4ddf-ac8e-020bf5353891,"{""DecodedUrl"":""/_layouts/15/images/itgen.png?rev=47""}",/_layouts/15/images/itgen.png?rev=47,,,,,,,,0,2022-11-16T19:52:41Z,2022-11-16T19:52:42Z,2022-11-16T19:52:41Z,0,SP.Data.TestListItem,50,0,,,"{""DecodedUrl"":""/""}",/,,1,00bfea71-de22-43b2-a848-c05709900100,Test
349
349
  ```
350
350
 
351
+ === "Markdown"
352
+
353
+ ```md
354
+ # spo list add --contentTypesEnabled "true" --enableVersioning "true" --webUrl "https://contoso.sharepoint.com" --title "Test" --baseTemplate "GenericList" --majorVersionLimit "50"
355
+
356
+ Date: 2/20/2023
357
+
358
+ ## Test (ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d)
359
+
360
+ Property | Value
361
+ ---------|-------
362
+ AllowContentTypes | true
363
+ BaseTemplate | 100
364
+ BaseType | 0
365
+ ContentTypesEnabled | false
366
+ CrawlNonDefaultViews | false
367
+ Created | 2022-11-16T19:51:42Z
368
+ CurrentChangeToken | {"StringValue":"1;3;ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d;638042251016970000;564165920"}
369
+ DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
370
+ DefaultItemOpenUseListSetting | false
371
+ Description |
372
+ Direction | none
373
+ DisableCommenting | false
374
+ DisableGridEditing | false
375
+ DocumentTemplateUrl | null
376
+ DraftVersionVisibility | 0
377
+ EnableAttachments | true
378
+ EnableFolderCreation | false
379
+ EnableMinorVersions | false
380
+ EnableModeration | false
381
+ EnableRequestSignOff | true
382
+ EnableVersioning | true
383
+ EntityTypeName | AnnouncementsList
384
+ ExemptFromBlockDownloadOfNonViewableFiles | false
385
+ FileSavePostProcessingEnabled | false
386
+ ForceCheckout | false
387
+ HasExternalDataSource | false
388
+ Hidden | false
389
+ Id | ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d
390
+ ImagePath | {"DecodedUrl":"/\/_layouts/15/images/itgen.png?rev=47"}
391
+ ImageUrl | /\/_layouts/15/images/itgen.png?rev=47
392
+ DefaultSensitivityLabelForLibrary |
393
+ IrmEnabled | false
394
+ IrmExpire | false
395
+ IrmReject | false
396
+ IsApplicationList | false
397
+ IsCatalog | false
398
+ IsPrivate | false
399
+ ItemCount | 0
400
+ LastItemDeletedDate | 2022-11-16T19:51:42Z
401
+ LastItemModifiedDate | 2022-11-16T19:51:42Z
402
+ LastItemUserModifiedDate | 2022-11-16T19:51:42Z
403
+ ListExperienceOptions | 0
404
+ ListItemEntityTypeFullName | SP.Data.TestListItem
405
+ MajorVersionLimit | 50
406
+ MajorWithMinorVersionsLimit | 0
407
+ MultipleDataList | false
408
+ NoCrawl | false
409
+ ParentWebPath | {"DecodedUrl":"/"}
410
+ ParentWebUrl | /
411
+ ParserDisabled | false
412
+ ServerTemplateCanCreateFolders | true
413
+ TemplateFeatureId | 00bfea71-de22-43b2-a848-c05709900100
414
+ Title | Test
415
+ ```
416
+
351
417
  ## More information
352
418
 
353
419
  - SPList Class Members information: [https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list_members.aspx](https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list_members.aspx)
@@ -13,17 +13,17 @@ m365 spo list contenttype add [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the list is located.
15
15
 
16
- `-i, --listId [listId]`
17
- : ID of the list. Specify either `listTitle`, `listId` or `listUrl`.
16
+ `-l, --listId [listId]`
17
+ : ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
20
- : Title of the list. Specify either `listTitle`, `listId` or `listUrl`.
20
+ : Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
21
21
 
22
22
  `--listUrl [listUrl]`
23
- : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`.
23
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
24
24
 
25
25
  `-i, --id <id>`
26
- : ID of the content type to add to the list
26
+ : ID of the content type to add to the list.
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
@@ -133,3 +133,48 @@ m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/proj
133
133
  ClientFormCustomFormatter,Description,DisplayFormClientSideComponentId,DisplayFormClientSideComponentProperties,DisplayFormTarget,DisplayFormTemplateName,DisplayFormUrl,DocumentTemplate,DocumentTemplateUrl,EditFormClientSideComponentId,EditFormClientSideComponentProperties,EditFormTarget,EditFormTemplateName,EditFormUrl,Group,Hidden,Id,JSLink,MobileDisplayFormUrl,MobileEditFormUrl,MobileNewFormUrl,Name,NewFormClientSideComponentId,NewFormClientSideComponentProperties,NewFormTarget,NewFormTemplateName,NewFormUrl,ReadOnly,SchemaXml,Scope,Sealed,StringId
134
134
  ,Create a new list item.,,,0,ListForm,,,,,,0,ListForm,,List Content Types,,"{""StringValue"":""0x01006D9EF01B2D22B3428279F8CF918B5EE0""}",,,,,Item,,,0,ListForm,,,"<ContentType ID=""0x01006D9EF01B2D22B3428279F8CF918B5EE0"" Name=""Item"" Group=""List Content Types"" Description=""Create a new list item."" Version=""0"" FeatureId=""{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}"" FeatureIds=""{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}""><Folder TargetName=""Item""/><Fields><Field ID=""{c042a256-787d-4a6f-8a8a-cf6ab767f12d}"" Type=""Computed"" DisplayName=""Content Type"" Name=""ContentType"" DisplaceOnUpgrade=""TRUE"" RenderXMLUsingPattern=""TRUE"" Sortable=""FALSE"" SourceID=""http://schemas.microsoft.com/sharepoint/v3"" StaticName=""ContentType"" Group=""_Hidden"" PITarget=""MicrosoftWindowsSharePointServices"" PIAttribute=""ContentTypeID"" FromBaseType=""TRUE""><FieldRefs><FieldRef Name=""ContentTypeId""/></FieldRefs><DisplayPattern><MapToContentType><Column Name=""ContentTypeId""/></MapToContentType></DisplayPattern></Field><Field ID=""{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"" Type=""Text"" Name=""Title"" DisplayName=""Title"" Required=""TRUE"" SourceID=""http://schemas.microsoft.com/sharepoint/v3"" StaticName=""Title"" FromBaseType=""TRUE"" ColName=""nvarchar1"" ShowInNewForm=""TRUE"" ShowInEditForm=""TRUE""/></Fields><XmlDocuments><XmlDocument NamespaceURI=""http://schemas.microsoft.com/sharepoint/v3/contenttype/forms""><FormTemplates xmlns=""http://schemas.microsoft.com/sharepoint/v3/contenttype/forms""><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",/Lists/Test,,0x01006D9EF01B2D22B3428279F8CF918B5EE0
135
135
  ```
136
+
137
+ === "Markdown"
138
+
139
+ ```md
140
+ # spo list contenttype add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents" --id "0x0103"
141
+
142
+ Date: 2/20/2023
143
+
144
+ ## Item ([object Object])
145
+
146
+ Property | Value
147
+ ---------|-------
148
+ ClientFormCustomFormatter |
149
+ Description | Create a new list item.
150
+ DisplayFormClientSideComponentId |
151
+ DisplayFormClientSideComponentProperties |
152
+ DisplayFormTarget | 0
153
+ DisplayFormTemplateName | ListForm
154
+ DisplayFormUrl |
155
+ DocumentTemplate |
156
+ DocumentTemplateUrl |
157
+ EditFormClientSideComponentId |
158
+ EditFormClientSideComponentProperties |
159
+ EditFormTarget | 0
160
+ EditFormTemplateName | ListForm
161
+ EditFormUrl |
162
+ Group | List Content Types
163
+ Hidden | false
164
+ Id | {"StringValue":"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E"}
165
+ JSLink |
166
+ MobileDisplayFormUrl |
167
+ MobileEditFormUrl |
168
+ MobileNewFormUrl |
169
+ Name | Issue
170
+ NewFormClientSideComponentId | null
171
+ NewFormClientSideComponentProperties |
172
+ NewFormTarget | 0
173
+ NewFormTemplateName | ListForm
174
+ NewFormUrl |
175
+ ReadOnly | false
176
+ SchemaXml | <ContentType ID="0x01000B1208C5D23DF44B9F1AEE7373DE9D5E" Name="Item" Group="List Content Types" Description="Create a new list item." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}" FeatureIds="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}"><Folder TargetName="Item"/><Fields><Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE"><FieldRefs><FieldRef Name="ContentTypeId"/></FieldRefs><DisplayPattern><MapToContentType><Column Name="ContentTypeId"/></MapToContentType></DisplayPattern></Field><Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Title" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" FromBaseType="TRUE" ColName="nvarchar1" ShowInNewForm="TRUE" ShowInEditForm="TRUE"/></Fields><XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>
177
+ Scope | /Lists/Test
178
+ Sealed | false
179
+ StringId | 0x01000B1208C5D23DF44B9F1AEE7373DE9D5E
180
+ ```