@pnp/cli-microsoft365 6.0.0-beta.dc71aa3 → 6.0.0-beta.dc8d53d

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 (326) hide show
  1. package/LICENSE +1 -3
  2. package/dist/Command.js +8 -6
  3. package/dist/cli/Cli.js +64 -6
  4. package/dist/m365/aad/commands/app/app-add.js +1 -1
  5. package/dist/m365/aad/commands/app/app-get.js +1 -1
  6. package/dist/m365/aad/commands/app/app-remove.js +1 -1
  7. package/dist/m365/aad/commands/app/app-role-add.js +1 -1
  8. package/dist/m365/aad/commands/app/app-role-list.js +1 -1
  9. package/dist/m365/aad/commands/app/app-role-remove.js +1 -1
  10. package/dist/m365/aad/commands/app/app-set.js +1 -1
  11. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +1 -1
  12. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +1 -1
  13. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +1 -1
  14. package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -1
  15. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +1 -1
  16. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +1 -1
  17. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +1 -1
  18. package/dist/m365/aad/commands/o365group/o365group-teamify.js +1 -1
  19. package/dist/m365/aad/commands/o365group/o365group-user-add.js +1 -1
  20. package/dist/m365/aad/commands/o365group/o365group-user-remove.js +1 -1
  21. package/dist/m365/aad/commands/o365group/o365group-user-set.js +1 -1
  22. package/dist/m365/aad/commands/sp/sp-add.js +1 -1
  23. package/dist/m365/aad/commands/sp/sp-get.js +1 -1
  24. package/dist/m365/aad/commands/user/user-get.js +1 -1
  25. package/dist/m365/aad/commands/user/user-set.js +1 -1
  26. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
  27. package/dist/m365/booking/commands/business/business-get.js +1 -1
  28. package/dist/m365/cli/commands/config/config-set.js +4 -0
  29. package/dist/m365/commands/login.js +6 -1
  30. package/dist/m365/outlook/commands/message/message-list.js +1 -1
  31. package/dist/m365/outlook/commands/message/message-move.js +1 -1
  32. package/dist/m365/pa/commands/app/app-get.js +1 -1
  33. package/dist/m365/planner/commands/bucket/bucket-add.js +1 -1
  34. package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
  35. package/dist/m365/planner/commands/bucket/bucket-list.js +1 -1
  36. package/dist/m365/planner/commands/bucket/bucket-remove.js +1 -1
  37. package/dist/m365/planner/commands/bucket/bucket-set.js +1 -1
  38. package/dist/m365/planner/commands/plan/plan-add.js +1 -1
  39. package/dist/m365/planner/commands/plan/plan-get.js +1 -1
  40. package/dist/m365/planner/commands/plan/plan-list.js +1 -1
  41. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  42. package/dist/m365/planner/commands/task/task-add.js +1 -1
  43. package/dist/m365/planner/commands/task/task-get.js +1 -1
  44. package/dist/m365/planner/commands/task/task-reference-remove.js +1 -1
  45. package/dist/m365/planner/commands/task/task-remove.js +1 -1
  46. package/dist/m365/pp/commands/card/card-clone.js +2 -2
  47. package/dist/m365/pp/commands/card/card-get.js +2 -2
  48. package/dist/m365/pp/commands/card/card-list.js +1 -1
  49. package/dist/m365/pp/commands/card/card-remove.js +2 -2
  50. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +1 -1
  51. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +1 -1
  52. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +1 -1
  53. package/dist/m365/pp/commands/environment/environment-get.js +1 -1
  54. package/dist/m365/pp/commands/environment/environment-list.js +1 -1
  55. package/dist/m365/pp/commands/managementapp/managementapp-add.js +1 -1
  56. package/dist/m365/pp/commands/solution/solution-get.js +2 -2
  57. package/dist/m365/pp/commands/solution/solution-list.js +1 -1
  58. package/dist/m365/pp/commands/solution/solution-publisher-get.js +2 -2
  59. package/dist/m365/pp/commands/solution/solution-publisher-list.js +1 -1
  60. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +2 -2
  61. package/dist/m365/pp/commands/solution/solution-remove.js +2 -2
  62. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +1 -1
  63. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +1 -1
  64. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-rc.0.js → doctor-1.16.0.js} +1 -1
  65. package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
  66. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-rc.0.js → upgrade-1.16.0.js} +26 -26
  67. package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
  68. package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
  69. package/dist/m365/spo/commands/app/app-deploy.js +1 -1
  70. package/dist/m365/spo/commands/app/app-get.js +1 -1
  71. package/dist/m365/spo/commands/app/app-list.js +4 -11
  72. package/dist/m365/spo/commands/contenttype/contenttype-get.js +1 -1
  73. package/dist/m365/spo/commands/contenttype/contenttype-list.js +3 -10
  74. package/dist/m365/spo/commands/contenttype/contenttype-remove.js +1 -1
  75. package/dist/m365/spo/commands/contenttype/contenttype-set.js +1 -1
  76. package/dist/m365/spo/commands/customaction/customaction-get.js +1 -1
  77. package/dist/m365/spo/commands/customaction/customaction-list.js +4 -17
  78. package/dist/m365/spo/commands/customaction/customaction-remove.js +1 -1
  79. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +44 -28
  80. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +3 -10
  81. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +3 -9
  82. package/dist/m365/spo/commands/feature/feature-list.js +4 -11
  83. package/dist/m365/spo/commands/field/field-get.js +1 -1
  84. package/dist/m365/spo/commands/field/field-list.js +3 -10
  85. package/dist/m365/spo/commands/field/field-remove.js +1 -1
  86. package/dist/m365/spo/commands/field/field-set.js +1 -1
  87. package/dist/m365/spo/commands/file/file-checkin.js +1 -1
  88. package/dist/m365/spo/commands/file/file-checkout.js +1 -1
  89. package/dist/m365/spo/commands/file/file-get.js +28 -2
  90. package/dist/m365/spo/commands/file/file-remove.js +1 -1
  91. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  92. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
  93. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  94. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  95. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
  96. package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
  97. package/dist/m365/spo/commands/file/file-version-get.js +1 -1
  98. package/dist/m365/spo/commands/file/file-version-list.js +7 -11
  99. package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
  100. package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
  101. package/dist/m365/spo/commands/folder/folder-get.js +30 -5
  102. package/dist/m365/spo/commands/folder/folder-list.js +4 -11
  103. package/dist/m365/spo/commands/group/group-add.js +1 -1
  104. package/dist/m365/spo/commands/group/group-get.js +1 -1
  105. package/dist/m365/spo/commands/group/group-list.js +4 -9
  106. package/dist/m365/spo/commands/group/group-member-add.js +1 -1
  107. package/dist/m365/spo/commands/group/group-member-list.js +4 -11
  108. package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
  109. package/dist/m365/spo/commands/group/group-remove.js +1 -1
  110. package/dist/m365/spo/commands/group/group-set.js +1 -1
  111. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +1 -1
  112. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +1 -1
  113. package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
  114. package/dist/m365/spo/commands/hubsite/hubsite-list.js +4 -10
  115. package/dist/m365/spo/commands/list/list-contenttype-add.js +1 -1
  116. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +1 -1
  117. package/dist/m365/spo/commands/list/list-contenttype-list.js +4 -12
  118. package/dist/m365/spo/commands/list/list-contenttype-remove.js +1 -1
  119. package/dist/m365/spo/commands/list/list-get.js +13 -5
  120. package/dist/m365/spo/commands/list/list-label-get.js +34 -22
  121. package/dist/m365/spo/commands/list/list-label-set.js +1 -1
  122. package/dist/m365/spo/commands/list/list-list.js +4 -12
  123. package/dist/m365/spo/commands/list/list-remove.js +1 -1
  124. package/dist/m365/spo/commands/list/list-roleassignment-add.js +1 -1
  125. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +1 -1
  126. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +1 -1
  127. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +1 -1
  128. package/dist/m365/spo/commands/list/list-set.js +1 -1
  129. package/dist/m365/spo/commands/list/list-sitescript-get.js +35 -24
  130. package/dist/m365/spo/commands/list/list-view-add.js +1 -1
  131. package/dist/m365/spo/commands/list/list-view-field-add.js +1 -1
  132. package/dist/m365/spo/commands/list/list-view-field-remove.js +1 -1
  133. package/dist/m365/spo/commands/list/list-view-field-set.js +1 -1
  134. package/dist/m365/spo/commands/list/list-view-get.js +1 -1
  135. package/dist/m365/spo/commands/list/list-view-list.js +4 -11
  136. package/dist/m365/spo/commands/list/list-view-remove.js +1 -1
  137. package/dist/m365/spo/commands/list/list-view-set.js +1 -1
  138. package/dist/m365/spo/commands/list/list-webhook-add.js +1 -1
  139. package/dist/m365/spo/commands/list/list-webhook-get.js +1 -1
  140. package/dist/m365/spo/commands/list/list-webhook-list.js +6 -14
  141. package/dist/m365/spo/commands/list/list-webhook-remove.js +1 -1
  142. package/dist/m365/spo/commands/list/list-webhook-set.js +1 -1
  143. package/dist/m365/spo/commands/listitem/listitem-add.js +1 -1
  144. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +1 -1
  145. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +202 -0
  146. package/dist/m365/spo/commands/listitem/listitem-get.js +28 -5
  147. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +1 -1
  148. package/dist/m365/spo/commands/listitem/listitem-list.js +1 -1
  149. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +1 -1
  150. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +1 -1
  151. package/dist/m365/spo/commands/listitem/listitem-remove.js +1 -1
  152. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +1 -1
  153. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +1 -1
  154. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +1 -1
  155. package/dist/m365/spo/commands/listitem/listitem-set.js +1 -1
  156. package/dist/m365/spo/commands/navigation/navigation-node-list.js +3 -10
  157. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +1 -1
  158. package/dist/m365/spo/commands/page/page-list.js +7 -21
  159. package/dist/m365/spo/commands/page/page-set.js +36 -3
  160. package/dist/m365/spo/commands/page/page-template-list.js +4 -11
  161. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +3 -10
  162. package/dist/m365/spo/commands/site/site-apppermission-add.js +1 -1
  163. package/dist/m365/spo/commands/site/site-apppermission-remove.js +1 -1
  164. package/dist/m365/spo/commands/site/site-apppermission-set.js +1 -1
  165. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +1 -1
  166. package/dist/m365/spo/commands/term/term-add.js +1 -1
  167. package/dist/m365/spo/commands/term/term-get.js +1 -1
  168. package/dist/m365/spo/commands/term/term-group-get.js +1 -1
  169. package/dist/m365/spo/commands/term/term-list.js +1 -1
  170. package/dist/m365/spo/commands/term/term-set-add.js +1 -1
  171. package/dist/m365/spo/commands/term/term-set-get.js +1 -1
  172. package/dist/m365/spo/commands/term/term-set-list.js +1 -1
  173. package/dist/m365/spo/commands/user/user-get.js +1 -1
  174. package/dist/m365/spo/commands/user/user-remove.js +1 -1
  175. package/dist/m365/spo/commands/web/web-get.js +24 -1
  176. package/dist/m365/spo/commands/web/web-list.js +3 -10
  177. package/dist/m365/spo/commands/web/web-roleassignment-add.js +1 -1
  178. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +1 -1
  179. package/dist/m365/spo/commands.js +1 -0
  180. package/dist/m365/teams/commands/app/app-install.js +1 -1
  181. package/dist/m365/teams/commands/app/app-update.js +1 -1
  182. package/dist/m365/teams/commands/cache/cache-remove.js +41 -10
  183. package/dist/m365/teams/commands/channel/channel-add.js +1 -1
  184. package/dist/m365/teams/commands/channel/channel-get.js +1 -1
  185. package/dist/m365/teams/commands/channel/channel-list.js +1 -1
  186. package/dist/m365/teams/commands/channel/channel-member-add.js +1 -1
  187. package/dist/m365/teams/commands/channel/channel-member-list.js +1 -1
  188. package/dist/m365/teams/commands/channel/channel-member-remove.js +1 -1
  189. package/dist/m365/teams/commands/channel/channel-member-set.js +1 -1
  190. package/dist/m365/teams/commands/channel/channel-remove.js +1 -1
  191. package/dist/m365/teams/commands/channel/channel-set.js +1 -1
  192. package/dist/m365/teams/commands/chat/chat-get.js +1 -1
  193. package/dist/m365/teams/commands/chat/chat-message-send.js +1 -1
  194. package/dist/m365/teams/commands/meeting/meeting-get.js +134 -0
  195. package/dist/m365/teams/commands/tab/tab-get.js +1 -1
  196. package/dist/m365/teams/commands/team/team-archive.js +1 -1
  197. package/dist/m365/teams/commands/team/team-clone.js +1 -1
  198. package/dist/m365/teams/commands/team/team-get.js +1 -1
  199. package/dist/m365/teams/commands/team/team-remove.js +1 -1
  200. package/dist/m365/teams/commands/team/team-unarchive.js +1 -1
  201. package/dist/m365/teams/commands/user/user-app-list.js +1 -1
  202. package/dist/m365/teams/commands.js +1 -0
  203. package/dist/m365/todo/commands/list/list-get.js +1 -1
  204. package/dist/m365/todo/commands/list/list-remove.js +1 -1
  205. package/dist/m365/todo/commands/list/list-set.js +1 -1
  206. package/dist/m365/todo/commands/task/task-add.js +1 -1
  207. package/dist/m365/todo/commands/task/task-get.js +1 -1
  208. package/dist/m365/todo/commands/task/task-list.js +1 -1
  209. package/dist/m365/todo/commands/task/task-remove.js +1 -1
  210. package/dist/m365/todo/commands/task/task-set.js +1 -1
  211. package/dist/settingsNames.js +1 -0
  212. package/dist/utils/formatting.js +15 -15
  213. package/dist/utils/odata.js +2 -1
  214. package/docs/docs/_clisettings.md +1 -0
  215. package/docs/docs/cmd/_global.md +2 -2
  216. package/docs/docs/cmd/aad/user/user-guest-add.md +1 -1
  217. package/docs/docs/cmd/app/app-open.md +1 -1
  218. package/docs/docs/cmd/flow/environment/environment-get.md +100 -0
  219. package/docs/docs/cmd/flow/environment/environment-list.md +97 -0
  220. package/docs/docs/cmd/flow/flow-disable.md +7 -3
  221. package/docs/docs/cmd/flow/flow-enable.md +4 -0
  222. package/docs/docs/cmd/flow/flow-export.md +20 -0
  223. package/docs/docs/cmd/flow/flow-get.md +372 -0
  224. package/docs/docs/cmd/flow/flow-list.md +107 -0
  225. package/docs/docs/cmd/flow/flow-remove.md +4 -0
  226. package/docs/docs/cmd/flow/run/run-cancel.md +4 -0
  227. package/docs/docs/cmd/flow/run/run-get.md +72 -0
  228. package/docs/docs/cmd/flow/run/run-list.md +68 -0
  229. package/docs/docs/cmd/flow/run/run-resubmit.md +4 -0
  230. package/docs/docs/cmd/pp/card/card-clone.md +1 -1
  231. package/docs/docs/cmd/pp/card/card-get.md +1 -1
  232. package/docs/docs/cmd/pp/card/card-list.md +1 -1
  233. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +1 -1
  234. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +1 -1
  235. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.md +1 -1
  236. package/docs/docs/cmd/pp/environment/environment-get.md +1 -1
  237. package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
  238. package/docs/docs/cmd/pp/solution/solution-get.md +1 -1
  239. package/docs/docs/cmd/pp/solution/solution-list.md +1 -1
  240. package/docs/docs/cmd/pp/solution/solution-publisher-get.md +1 -1
  241. package/docs/docs/cmd/pp/solution/solution-publisher-list.md +1 -1
  242. package/docs/docs/cmd/spfx/package/package-generate.md +4 -0
  243. package/docs/docs/cmd/spfx/project/project-doctor.md +92 -0
  244. package/docs/docs/cmd/spfx/project/project-externalize.md +116 -0
  245. package/docs/docs/cmd/spfx/project/project-rename.md +6 -2
  246. package/docs/docs/cmd/spfx/project/project-upgrade.md +101 -1
  247. package/docs/docs/cmd/spfx/spfx-doctor.md +38 -0
  248. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +42 -2
  249. package/docs/docs/cmd/spo/file/file-get.md +219 -8
  250. package/docs/docs/cmd/spo/file/file-version-list.md +5 -5
  251. package/docs/docs/cmd/spo/folder/folder-get.md +11 -0
  252. package/docs/docs/cmd/spo/homesite/homesite-get.md +31 -0
  253. package/docs/docs/cmd/spo/homesite/homesite-remove.md +20 -0
  254. package/docs/docs/cmd/spo/homesite/homesite-set.md +20 -0
  255. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +57 -0
  256. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +89 -0
  257. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +94 -0
  258. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +53 -0
  259. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +4 -0
  260. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -0
  261. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +45 -0
  262. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -0
  263. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +20 -0
  264. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +20 -0
  265. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +20 -0
  266. package/docs/docs/cmd/spo/list/list-add.md +133 -0
  267. package/docs/docs/cmd/spo/list/list-contenttype-add.md +88 -1
  268. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -0
  269. package/docs/docs/cmd/spo/list/list-contenttype-list.md +60 -0
  270. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +4 -0
  271. package/docs/docs/cmd/spo/list/list-get.md +154 -6
  272. package/docs/docs/cmd/spo/list/list-label-get.md +83 -7
  273. package/docs/docs/cmd/spo/list/list-label-set.md +4 -0
  274. package/docs/docs/cmd/spo/list/list-list.md +89 -0
  275. package/docs/docs/cmd/spo/list/list-remove.md +4 -0
  276. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +4 -0
  277. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +4 -0
  278. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +4 -0
  279. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +4 -0
  280. package/docs/docs/cmd/spo/list/list-set.md +4 -0
  281. package/docs/docs/cmd/spo/list/list-sitescript-get.md +94 -8
  282. package/docs/docs/cmd/spo/list/list-view-add.md +121 -0
  283. package/docs/docs/cmd/spo/list/list-view-field-add.md +3 -0
  284. package/docs/docs/cmd/spo/list/list-view-field-remove.md +4 -0
  285. package/docs/docs/cmd/spo/list/list-view-field-set.md +3 -0
  286. package/docs/docs/cmd/spo/list/list-view-get.md +121 -0
  287. package/docs/docs/cmd/spo/list/list-view-list.md +78 -0
  288. package/docs/docs/cmd/spo/list/list-view-remove.md +4 -0
  289. package/docs/docs/cmd/spo/list/list-view-set.md +4 -0
  290. package/docs/docs/cmd/spo/list/list-webhook-add.md +33 -0
  291. package/docs/docs/cmd/spo/list/list-webhook-get.md +33 -0
  292. package/docs/docs/cmd/spo/list/list-webhook-list.md +32 -0
  293. package/docs/docs/cmd/spo/list/list-webhook-remove.md +4 -0
  294. package/docs/docs/cmd/spo/listitem/listitem-add.md +59 -0
  295. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +34 -0
  296. package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +61 -0
  297. package/docs/docs/cmd/spo/listitem/listitem-get.md +188 -4
  298. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +19 -0
  299. package/docs/docs/cmd/spo/listitem/listitem-list.md +41 -0
  300. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +29 -0
  301. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +4 -0
  302. package/docs/docs/cmd/spo/listitem/listitem-remove.md +4 -0
  303. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +5 -1
  304. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +4 -0
  305. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +5 -1
  306. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +4 -0
  307. package/docs/docs/cmd/spo/listitem/listitem-set.md +59 -0
  308. package/docs/docs/cmd/spo/mail/mail-send.md +4 -0
  309. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +39 -0
  310. package/docs/docs/cmd/spo/navigation/navigation-node-list.md +29 -0
  311. package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +4 -0
  312. package/docs/docs/cmd/spo/page/page-add.md +2 -2
  313. package/docs/docs/cmd/spo/page/page-set.md +15 -2
  314. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +3 -1
  315. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +3 -1
  316. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +3 -3
  317. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +3 -3
  318. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +3 -3
  319. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +3 -1
  320. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +3 -3
  321. package/docs/docs/cmd/spo/web/web-get.md +258 -2
  322. package/docs/docs/cmd/teams/meeting/meeting-get.md +159 -0
  323. package/package.json +2 -1
  324. package/dist/m365/spo/commands/group/GroupPropertiesCollection.js +0 -3
  325. package/dist/m365/spo/commands/list/ListInstanceCollection.js +0 -3
  326. package/dist/m365/spo/commands/page/PageTemplateResponse.js +0 -3
@@ -74,3 +74,124 @@ Add a view called _All events_ with defined filter and sorting.
74
74
  ```sh
75
75
  m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "My List" --title "All events" --fields "FieldName1" --viewQuery "<OrderBy><FieldRef Name='Created' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='TextFieldName' /><Value Type='Text'>Field value</Value></Eq></Where>" --paged
76
76
  ```
77
+
78
+ ## Response
79
+
80
+ === "JSON"
81
+
82
+ ```json
83
+ {
84
+ "Aggregations": null,
85
+ "AggregationsStatus": null,
86
+ "AssociatedContentTypeId": null,
87
+ "BaseViewId": null,
88
+ "CalendarViewStyles": null,
89
+ "ColumnWidth": null,
90
+ "ContentTypeId": {
91
+ "StringValue": "0x"
92
+ },
93
+ "CustomFormatter": null,
94
+ "CustomOrder": null,
95
+ "DefaultView": false,
96
+ "DefaultViewForContentType": false,
97
+ "EditorModified": false,
98
+ "Formats": null,
99
+ "GridLayout": null,
100
+ "Hidden": false,
101
+ "HtmlSchemaXml": "<View Type=\"HTML\" Url=\"/Lists/Test/All events.aspx\" Personal=\"FALSE\" DisplayName=\"All events\" DefaultView=\"FALSE\" Name=\"{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}\"><ViewFields><FieldRef Name=\"Title\" /></ViewFields><Query><OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where></Query><RowLimit Paged=\"TRUE\">30</RowLimit></View>",
102
+ "Id": "3cd2e934-f482-4d4a-a9b8-a13b49b3d226",
103
+ "ImageUrl": null,
104
+ "IncludeRootFolder": false,
105
+ "ViewJoins": null,
106
+ "JSLink": null,
107
+ "ListViewXml": "<View Type=\"HTML\" Url=\"/Lists/Test/All events.aspx\" Personal=\"FALSE\" DisplayName=\"All events\" DefaultView=\"FALSE\" Name=\"{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}\" ><Query><OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name=\"Title\" /></ViewFields><RowLimit Paged=\"TRUE\">30</RowLimit><Toolbar Type=\"None\"/></View>",
108
+ "Method": null,
109
+ "MobileDefaultView": false,
110
+ "MobileView": false,
111
+ "ModerationType": null,
112
+ "NewDocumentTemplates": null,
113
+ "OrderedView": false,
114
+ "Paged": true,
115
+ "PersonalView": false,
116
+ "ViewProjectedFields": null,
117
+ "ViewQuery": "<OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where>",
118
+ "ReadOnlyView": false,
119
+ "RequiresClientIntegration": false,
120
+ "RowLimit": 30,
121
+ "Scope": 0,
122
+ "ServerRelativePath": {
123
+ "DecodedUrl": "/Lists/Test/All events.aspx"
124
+ },
125
+ "ServerRelativeUrl": "/Lists/Test/All events.aspx",
126
+ "StyleId": null,
127
+ "TabularView": true,
128
+ "Threaded": false,
129
+ "Title": "All events",
130
+ "Toolbar": null,
131
+ "ToolbarTemplateName": null,
132
+ "ViewType": "HTML",
133
+ "ViewData": null,
134
+ "ViewType2": null,
135
+ "VisualizationInfo": null
136
+ }
137
+ ```
138
+
139
+ === "Text"
140
+
141
+ ```text
142
+ Aggregations : null
143
+ AggregationsStatus : null
144
+ AssociatedContentTypeId : null
145
+ BaseViewId : null
146
+ CalendarViewStyles : null
147
+ ColumnWidth : null
148
+ ContentTypeId : {"StringValue":"0x"}
149
+ CustomFormatter : null
150
+ CustomOrder : null
151
+ DefaultView : false
152
+ DefaultViewForContentType: false
153
+ EditorModified : false
154
+ Formats : null
155
+ GridLayout : null
156
+ Hidden : false
157
+ HtmlSchemaXml : <View Type="HTML" Url="/Lists/Test/All events1.aspx" Personal="FALSE" DisplayName="All events" DefaultView="FALSE" Name="{F037FE93-4C74-4ACB-B7B0-71BA599F13C1}"><ViewFields><FieldRef Name="Title" /></ViewFields><Query><OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where></Query><RowLimit Paged="TRUE">30</RowLimit></View>
158
+ Id : f037fe93-4c74-4acb-b7b0-71ba599f13c1
159
+ ImageUrl : null
160
+ IncludeRootFolder : false
161
+ JSLink : null
162
+ ListViewXml : <View Type="HTML" Url="/Lists/Test/All events1.aspx" Personal="FALSE" DisplayName="All events" DefaultView="FALSE" Name="{F037FE93-4C74-4ACB-B7B0-71BA599F13C1}" ><Query><OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name="Title" /></ViewFields><RowLimit Paged="TRUE">30</RowLimit><Toolbar Type="None"/></View>
163
+ Method : null
164
+ MobileDefaultView : false
165
+ MobileView : false
166
+ ModerationType : null
167
+ NewDocumentTemplates : null
168
+ OrderedView : false
169
+ Paged : true
170
+ PersonalView : false
171
+ ReadOnlyView : false
172
+ RequiresClientIntegration: false
173
+ RowLimit : 30
174
+ Scope : 0
175
+ ServerRelativePath : {"DecodedUrl":"/Lists/Test/All events1.aspx"}
176
+ ServerRelativeUrl : /Lists/Test/All events1.aspx
177
+ StyleId : null
178
+ TabularView : true
179
+ Threaded : false
180
+ Title : All events
181
+ Toolbar : null
182
+ ToolbarTemplateName : null
183
+ ViewData : null
184
+ ViewJoins : null
185
+ ViewProjectedFields : null
186
+ ViewQuery : <OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where>
187
+ ViewType : HTML
188
+ ViewType2 : null
189
+ VisualizationInfo : null
190
+ ```
191
+
192
+ === "CSV"
193
+
194
+ ```csv
195
+ Aggregations,AggregationsStatus,AssociatedContentTypeId,BaseViewId,CalendarViewStyles,ColumnWidth,ContentTypeId,CustomFormatter,CustomOrder,DefaultView,DefaultViewForContentType,EditorModified,Formats,GridLayout,Hidden,HtmlSchemaXml,Id,ImageUrl,IncludeRootFolder,ViewJoins,JSLink,ListViewXml,Method,MobileDefaultView,MobileView,ModerationType,NewDocumentTemplates,OrderedView,Paged,PersonalView,ViewProjectedFields,ViewQuery,ReadOnlyView,RequiresClientIntegration,RowLimit,Scope,ServerRelativePath,ServerRelativeUrl,StyleId,TabularView,Threaded,Title,Toolbar,ToolbarTemplateName,ViewType,ViewData,ViewType2,VisualizationInfo
196
+ ,,,,,,"{""StringValue"":""0x""}",,,,,,,,,"<View Type=""HTML"" Url=""/Lists/Test/All events2.aspx"" Personal=""FALSE"" DisplayName=""All events"" DefaultView=""FALSE"" Name=""{0F11C3F1-E174-4A85-93A9-B4AFB7BD41B6}""><ViewFields><FieldRef Name=""Title"" /></ViewFields><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><RowLimit Paged=""TRUE"">30</RowLimit></View>",0f11c3f1-e174-4a85-93a9-b4afb7bd41b6,,,,,"<View Type=""HTML"" Url=""/Lists/Test/All events2.aspx"" Personal=""FALSE"" DisplayName=""All events"" DefaultView=""FALSE"" Name=""{0F11C3F1-E174-4A85-93A9-B4AFB7BD41B6}"" ><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name=""Title"" /></ViewFields><RowLimit Paged=""TRUE"">30</RowLimit><Toolbar Type=""None""/></View>",,,,,,,1,,,"<OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where>",,,30,0,"{""DecodedUrl"":""/Lists/Test/All events2.aspx""}",/Lists/Test/All events2.aspx,,1,,All events,,,HTML,,,
197
+ ```
@@ -65,3 +65,6 @@ Add field with title _Custom field_ to view with title _All Documents_ of the li
65
65
  m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Shared Documents' --viewTitle 'All Documents' --fieldTitle 'Custom field'
66
66
  ```
67
67
 
68
+ ## Response
69
+
70
+ The command won't return a response on success.
@@ -55,3 +55,7 @@ Remove field with title _Custom field_ from view with title _Custom view_ from t
55
55
  ```sh
56
56
  m365 spo list view field remove --webUrl https://contoso.sharepoint.com/sites/project-x --fieldTitle 'Custom field' --listUrl '/sites/project-x/lists/Events' --viewTitle 'Custom view'
57
57
  ```
58
+
59
+ ## Response
60
+
61
+ The command won't return a response on success.
@@ -65,3 +65,6 @@ Move field with title _Custom field_ to position _1_ in view with title _All Doc
65
65
  m365 spo list view field set --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/Shared Documents' --viewTitle 'All Documents' --fieldTitle 'Custom field' --fieldPosition 1
66
66
  ```
67
67
 
68
+ ## Response
69
+
70
+ The command won't return a response on success.
@@ -49,3 +49,124 @@ Gets a list view by name from a list located in site _https://contoso.sharepoint
49
49
  ```sh
50
50
  m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listId 330f29c5-5c4c-465f-9f4b-7903020ae1c1 --title 'All Items'
51
51
  ```
52
+
53
+ ## Response
54
+
55
+ === "JSON"
56
+
57
+ ```json
58
+ {
59
+ "Aggregations": null,
60
+ "AggregationsStatus": null,
61
+ "AssociatedContentTypeId": null,
62
+ "BaseViewId": "1",
63
+ "CalendarViewStyles": null,
64
+ "ColumnWidth": null,
65
+ "ContentTypeId": {
66
+ "StringValue": "0x"
67
+ },
68
+ "CustomFormatter": null,
69
+ "CustomOrder": null,
70
+ "DefaultView": false,
71
+ "DefaultViewForContentType": false,
72
+ "EditorModified": false,
73
+ "Formats": null,
74
+ "GridLayout": null,
75
+ "Hidden": false,
76
+ "HtmlSchemaXml": "<View Name=\"{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}\" Type=\"HTML\" DisplayName=\"All events\" Url=\"/Lists/Test/All events.aspx\" Level=\"1\" BaseViewID=\"1\" ContentTypeID=\"0x\" ImageUrl=\"/_layouts/15/images/generic.png?rev=47\"><ViewFields><FieldRef Name=\"Title\" /></ViewFields><Query><OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where></Query><RowLimit Paged=\"TRUE\">30</RowLimit><XslLink Default=\"TRUE\">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><Toolbar Type=\"Standard\" /><ParameterBindings><ParameterBinding Name=\"NoAnnouncements\" Location=\"Resource(wss,noXinviewofY_LIST)\" /><ParameterBinding Name=\"NoAnnouncementsHowTo\" Location=\"Resource(wss,noXinviewofY_DEFAULT)\" /></ParameterBindings></View>",
77
+ "Id": "3cd2e934-f482-4d4a-a9b8-a13b49b3d226",
78
+ "ImageUrl": "/_layouts/15/images/generic.png?rev=47",
79
+ "IncludeRootFolder": false,
80
+ "ViewJoins": null,
81
+ "JSLink": "clienttemplates.js",
82
+ "ListViewXml": "<View Name=\"{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}\" Type=\"HTML\" DisplayName=\"All events\" Url=\"/Lists/Test/All events.aspx\" Level=\"1\" BaseViewID=\"1\" ContentTypeID=\"0x\" ImageUrl=\"/_layouts/15/images/generic.png?rev=47\" ><Query><OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name=\"Title\" /></ViewFields><RowLimit Paged=\"TRUE\">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default=\"TRUE\">main.xsl</XslLink><Toolbar Type=\"Standard\"/></View>",
83
+ "Method": null,
84
+ "MobileDefaultView": false,
85
+ "MobileView": false,
86
+ "ModerationType": null,
87
+ "NewDocumentTemplates": null,
88
+ "OrderedView": false,
89
+ "Paged": true,
90
+ "PersonalView": false,
91
+ "ViewProjectedFields": null,
92
+ "ViewQuery": "<OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where>",
93
+ "ReadOnlyView": false,
94
+ "RequiresClientIntegration": false,
95
+ "RowLimit": 30,
96
+ "Scope": 0,
97
+ "ServerRelativePath": {
98
+ "DecodedUrl": "/Lists/Test/All events.aspx"
99
+ },
100
+ "ServerRelativeUrl": "/Lists/Test/All events.aspx",
101
+ "StyleId": null,
102
+ "TabularView": true,
103
+ "Threaded": false,
104
+ "Title": "All events",
105
+ "Toolbar": "",
106
+ "ToolbarTemplateName": null,
107
+ "ViewType": "HTML",
108
+ "ViewData": null,
109
+ "ViewType2": null,
110
+ "VisualizationInfo": null
111
+ }
112
+ ```
113
+
114
+ === "Text"
115
+
116
+ ```text
117
+ Aggregations : null
118
+ AggregationsStatus : null
119
+ AssociatedContentTypeId : null
120
+ BaseViewId : 1
121
+ CalendarViewStyles : null
122
+ ColumnWidth : null
123
+ ContentTypeId : {"StringValue":"0x"}
124
+ CustomFormatter : null
125
+ CustomOrder : null
126
+ DefaultView : false
127
+ DefaultViewForContentType: false
128
+ EditorModified : false
129
+ Formats : null
130
+ GridLayout : null
131
+ Hidden : false
132
+ HtmlSchemaXml : <View Name="{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}" Type="HTML" DisplayName="All events" Url="/Lists/Test/All events.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=47"><ViewFields><FieldRef Name="Title" /></ViewFields><Query><OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where></Query><RowLimit Paged="TRUE">30</RowLimit><XslLink Default="TRUE">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><Toolbar Type="Standard" /><ParameterBindings><ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" /><ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" /></ParameterBindings></View>
133
+ Id : 3cd2e934-f482-4d4a-a9b8-a13b49b3d226
134
+ ImageUrl : /_layouts/15/images/generic.png?rev=47
135
+ IncludeRootFolder : false
136
+ JSLink : clienttemplates.js
137
+ ListViewXml : <View Name="{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}" Type="HTML" DisplayName="All events" Url="/Lists/Test/All events.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=47" ><Query><OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name="Title" /></ViewFields><RowLimit Paged="TRUE">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default="TRUE">main.xsl</XslLink><Toolbar Type="Standard"/></View>
138
+ Method : null
139
+ MobileDefaultView : false
140
+ MobileView : false
141
+ ModerationType : null
142
+ NewDocumentTemplates : null
143
+ OrderedView : false
144
+ Paged : true
145
+ PersonalView : false
146
+ ReadOnlyView : false
147
+ RequiresClientIntegration: false
148
+ RowLimit : 30
149
+ Scope : 0
150
+ ServerRelativePath : {"DecodedUrl":"/Lists/Test/All events.aspx"}
151
+ ServerRelativeUrl : /Lists/Test/All events.aspx
152
+ StyleId : null
153
+ TabularView : true
154
+ Threaded : false
155
+ Title : All events
156
+ Toolbar :
157
+ ToolbarTemplateName : null
158
+ ViewData : null
159
+ ViewJoins : null
160
+ ViewProjectedFields : null
161
+ ViewQuery : <OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where>
162
+ ViewType : HTML
163
+ ViewType2 : null
164
+ VisualizationInfo : null
165
+ ```
166
+
167
+ === "CSV"
168
+
169
+ ```csv
170
+ Aggregations,AggregationsStatus,AssociatedContentTypeId,BaseViewId,CalendarViewStyles,ColumnWidth,ContentTypeId,CustomFormatter,CustomOrder,DefaultView,DefaultViewForContentType,EditorModified,Formats,GridLayout,Hidden,HtmlSchemaXml,Id,ImageUrl,IncludeRootFolder,ViewJoins,JSLink,ListViewXml,Method,MobileDefaultView,MobileView,ModerationType,NewDocumentTemplates,OrderedView,Paged,PersonalView,ViewProjectedFields,ViewQuery,ReadOnlyView,RequiresClientIntegration,RowLimit,Scope,ServerRelativePath,ServerRelativeUrl,StyleId,TabularView,Threaded,Title,Toolbar,ToolbarTemplateName,ViewType,ViewData,ViewType2,VisualizationInfo
171
+ ,,,1,,,"{""StringValue"":""0x""}",,,,,,,,,"<View Name=""{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}"" Type=""HTML"" DisplayName=""All events"" Url=""/Lists/Test/All events.aspx"" Level=""1"" BaseViewID=""1"" ContentTypeID=""0x"" ImageUrl=""/_layouts/15/images/generic.png?rev=47""><ViewFields><FieldRef Name=""Title"" /></ViewFields><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><RowLimit Paged=""TRUE"">30</RowLimit><XslLink Default=""TRUE"">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><Toolbar Type=""Standard"" /><ParameterBindings><ParameterBinding Name=""NoAnnouncements"" Location=""Resource(wss,noXinviewofY_LIST)"" /><ParameterBinding Name=""NoAnnouncementsHowTo"" Location=""Resource(wss,noXinviewofY_DEFAULT)"" /></ParameterBindings></View>",3cd2e934-f482-4d4a-a9b8-a13b49b3d226,/_layouts/15/images/generic.png?rev=47,,,clienttemplates.js,"<View Name=""{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}"" Type=""HTML"" DisplayName=""All events"" Url=""/Lists/Test/All events.aspx"" Level=""1"" BaseViewID=""1"" ContentTypeID=""0x"" ImageUrl=""/_layouts/15/images/generic.png?rev=47"" ><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name=""Title"" /></ViewFields><RowLimit Paged=""TRUE"">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default=""TRUE"">main.xsl</XslLink><Toolbar Type=""Standard""/></View>",,,,,,,1,,,"<OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where>",,,30,0,"{""DecodedUrl"":""/Lists/Test/All events.aspx""}",/Lists/Test/All events.aspx,,1,,All events,,,HTML,,,
172
+ ```
@@ -43,3 +43,81 @@ List all views for a list by URL
43
43
  ```sh
44
44
  m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/lists/Events'
45
45
  ```
46
+
47
+ ## Response
48
+
49
+ === "JSON"
50
+
51
+ ```json
52
+ [
53
+ {
54
+ "Aggregations": null,
55
+ "AggregationsStatus": null,
56
+ "AssociatedContentTypeId": null,
57
+ "BaseViewId": "1",
58
+ "CalendarViewStyles": null,
59
+ "ColumnWidth": null,
60
+ "ContentTypeId": {
61
+ "StringValue": "0x"
62
+ },
63
+ "CustomFormatter": null,
64
+ "CustomOrder": null,
65
+ "DefaultView": false,
66
+ "DefaultViewForContentType": false,
67
+ "EditorModified": false,
68
+ "Formats": null,
69
+ "GridLayout": null,
70
+ "Hidden": false,
71
+ "HtmlSchemaXml": "<View Name=\"{0F11C3F1-E174-4A85-93A9-B4AFB7BD41B6}\" Type=\"HTML\" DisplayName=\"All events\" Url=\"/Lists/Test/All events2.aspx\" Level=\"1\" BaseViewID=\"1\" ContentTypeID=\"0x\" ImageUrl=\"/_layouts/15/images/generic.png?rev=47\"><ViewFields><FieldRef Name=\"Title\" /></ViewFields><Query><OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where></Query><RowLimit Paged=\"TRUE\">30</RowLimit><XslLink Default=\"TRUE\">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><Toolbar Type=\"Standard\" /><ParameterBindings><ParameterBinding Name=\"NoAnnouncements\" Location=\"Resource(wss,noXinviewofY_LIST)\" /><ParameterBinding Name=\"NoAnnouncementsHowTo\" Location=\"Resource(wss,noXinviewofY_DEFAULT)\" /></ParameterBindings></View>",
72
+ "Id": "0f11c3f1-e174-4a85-93a9-b4afb7bd41b6",
73
+ "ImageUrl": "/_layouts/15/images/generic.png?rev=47",
74
+ "IncludeRootFolder": false,
75
+ "ViewJoins": null,
76
+ "JSLink": "clienttemplates.js",
77
+ "ListViewXml": "<View Name=\"{0F11C3F1-E174-4A85-93A9-B4AFB7BD41B6}\" Type=\"HTML\" DisplayName=\"All events\" Url=\"/Lists/Test/All events2.aspx\" Level=\"1\" BaseViewID=\"1\" ContentTypeID=\"0x\" ImageUrl=\"/_layouts/15/images/generic.png?rev=47\" ><Query><OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name=\"Title\" /></ViewFields><RowLimit Paged=\"TRUE\">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default=\"TRUE\">main.xsl</XslLink><Toolbar Type=\"Standard\"/></View>",
78
+ "Method": null,
79
+ "MobileDefaultView": false,
80
+ "MobileView": false,
81
+ "ModerationType": null,
82
+ "NewDocumentTemplates": null,
83
+ "OrderedView": false,
84
+ "Paged": true,
85
+ "PersonalView": false,
86
+ "ViewProjectedFields": null,
87
+ "ViewQuery": "<OrderBy><FieldRef Name=\"Created\" Ascending=\"FALSE\" /></OrderBy><Where><Eq><FieldRef Name=\"TextFieldName\" /><Value Type=\"Text\">Field value</Value></Eq></Where>",
88
+ "ReadOnlyView": false,
89
+ "RequiresClientIntegration": false,
90
+ "RowLimit": 30,
91
+ "Scope": 0,
92
+ "ServerRelativePath": {
93
+ "DecodedUrl": "/Lists/Test/All events2.aspx"
94
+ },
95
+ "ServerRelativeUrl": "/Lists/Test/All events2.aspx",
96
+ "StyleId": null,
97
+ "TabularView": true,
98
+ "Threaded": false,
99
+ "Title": "All events",
100
+ "Toolbar": "",
101
+ "ToolbarTemplateName": null,
102
+ "ViewType": "HTML",
103
+ "ViewData": null,
104
+ "ViewType2": null,
105
+ "VisualizationInfo": null
106
+ }
107
+ ]
108
+ ```
109
+
110
+ === "Text"
111
+
112
+ ```text
113
+ Id Title DefaultView Hidden BaseViewId
114
+ ------------------------------------ ---------- ----------- ------ ----------
115
+ 3cd2e934-f482-4d4a-a9b8-a13b49b3d226 All events false false 1
116
+ ```
117
+
118
+ === "CSV"
119
+
120
+ ```csv
121
+ Id,Title,DefaultView,Hidden,BaseViewId
122
+ 3cd2e934-f482-4d4a-a9b8-a13b49b3d226,All events,,,1
123
+ ```
@@ -64,3 +64,7 @@ Remove view with ID _cc27a922-8224-4296-90a5-ebbc54da2e81_ from a list with titl
64
64
  ```sh
65
65
  m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --id cc27a922-8224-4296-90a5-ebbc54da2e81 --confirm
66
66
  ```
67
+
68
+ ## Response
69
+
70
+ The command won't return a response on success.
@@ -66,3 +66,7 @@ Update view formatting of the specified list view
66
66
  ```sh
67
67
  m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --viewTitle 'All items' --CustomFormatter "{\"schema\":\"https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json\",\"additionalRowClass\": \"=if([$DueDate] &lt;= @now, 'sp-field-severity--severeWarning', '')\"}"
68
68
  ```
69
+
70
+ ## Response
71
+
72
+ The command won't return a response on success.
@@ -53,3 +53,36 @@ Add a web hook to the list retrieved by ID located in a specific site with a spe
53
53
  ```sh
54
54
  m365 spo list webhook add --webUrl https://contoso.sharepoint.com/sites/ninja --listId '3d6aefa0-f438-4789-b0cd-6e865f5d65b5' --notificationUrl https://contoso-funcions.azurewebsites.net/webhook --expirationDateTime '2019-03-02T18:15' --clientState "Hello State!"
55
55
  ```
56
+
57
+ ## Response
58
+
59
+ === "JSON"
60
+
61
+ ```json
62
+ {
63
+ "clientState": "random client state",
64
+ "expirationDateTime": "2019-05-29T23:00:00.000Z",
65
+ "id": "ef69c37d-cb0e-46d9-9758-5ebdeffd6959",
66
+ "notificationUrl": "https://contoso-funcions.azurewebsites.net/webhook",
67
+ "resource": "0987cfd9-f02c-479b-9fb4-3f0550462848",
68
+ "resourceData": null
69
+ }
70
+ ```
71
+
72
+ === "Text"
73
+
74
+ ```text
75
+ clientState : random client state
76
+ expirationDateTime: 2019-05-29T23:00:00.000Z
77
+ id : ef69c37d-cb0e-46d9-9758-5ebdeffd6959
78
+ notificationUrl : https://contoso-funcions.azurewebsites.net/webhook
79
+ resource : 0987cfd9-f02c-479b-9fb4-3f0550462848
80
+ resourceData : null
81
+ ```
82
+
83
+ === "CSV"
84
+
85
+ ```csv
86
+ clientState,expirationDateTime,id,notificationUrl,resource,resourceData
87
+ random client state,2019-05-29T23:00:00.000Z,ef69c37d-cb0e-46d9-9758-5ebdeffd6959,https://contoso-funcions.azurewebsites.net/webhook,0987cfd9-f02c-479b-9fb4-3f0550462848,
88
+ ```
@@ -50,3 +50,36 @@ Return information about a specific webhook which belongs to a list retrieved by
50
50
  ```sh
51
51
  m365 spo list webhook get --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/Documents' --id cc27a922-8224-4296-90a5-ebbc54da2e85
52
52
  ```
53
+
54
+ ## Response
55
+
56
+ === "JSON"
57
+
58
+ ```json
59
+ {
60
+ "clientState": "system-managed:8082D436-D8DA-458D-96AD-34C902B73F37",
61
+ "expirationDateTime": "2022-11-16T20:25:12.2735056Z",
62
+ "id": "b8838bbb-9ddb-44fb-9016-0aacb9e02b77",
63
+ "notificationUrl": "https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76",
64
+ "resource": "97d19285-b8a6-4c7f-9c6c-d6b850a6561a",
65
+ "resourceData": null
66
+ }
67
+ ```
68
+
69
+ === "Text"
70
+
71
+ ```text
72
+ clientState : system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
73
+ expirationDateTime: 2022-11-16T20:25:12.2735056Z
74
+ id : b8838bbb-9ddb-44fb-9016-0aacb9e02b77
75
+ notificationUrl : https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
76
+ resource : 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
77
+ resourceData : null
78
+ ```
79
+
80
+ === "CSV"
81
+
82
+ ```csv
83
+ clientState,expirationDateTime,id,notificationUrl,resource,resourceData
84
+ system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,b8838bbb-9ddb-44fb-9016-0aacb9e02b77,https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76,97d19285-b8a6-4c7f-9c6c-d6b850a6561a,
85
+ ```
@@ -43,3 +43,35 @@ List all webhooks for a list with a specific URL in a specific site
43
43
  ```sh
44
44
  m365 spo list webhook list --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/Documents'
45
45
  ```
46
+
47
+ ## Response
48
+
49
+ === "JSON"
50
+
51
+ ```json
52
+ [
53
+ {
54
+ "clientState": "system-managed:8082D436-D8DA-458D-96AD-34C902B73F37",
55
+ "expirationDateTime": "2022-11-16T20:25:12.2735056Z",
56
+ "id": "b8838bbb-9ddb-44fb-9016-0aacb9e02b77",
57
+ "notificationUrl": "https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4da1-9f9f-5c8f713eef76",
58
+ "resource": "97d19285-b8a6-4c7f-9c6c-d6b850a6561a",
59
+ "resourceData": null
60
+ }
61
+ ]
62
+ ```
63
+
64
+ === "Text"
65
+
66
+ ```text
67
+ clientState expirationDateTime id resource
68
+ --------------------------------------------------- ---------------------------- ------------------------------------ ------------------------------------
69
+ system-managed:8082D436-D8DA-458D-96AD-34C902B73F37 2022-11-16T20:25:12.2735056Z b8838bbb-9ddb-44fb-9016-0aacb9e02b77 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
70
+ ```
71
+
72
+ === "CSV"
73
+
74
+ ```csv
75
+ id,clientState,expirationDateTime,resource
76
+ b8838bbb-9ddb-44fb-9016-0aacb9e02b77,system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,97d19285-b8a6-4c7f-9c6c-d6b850a6561a
77
+ ```
@@ -52,3 +52,7 @@ Remove webhook with a specific ID from a list retrieved by URL in a specific sit
52
52
  ```sh
53
53
  m365 spo list webhook remove --webUrl https://contoso.sharepoint.com/sites/ninja --listUrl '/sites/ninja/Documents' --id cc27a922-8224-4296-90a5-ebbc54da2e81 --confirm
54
54
  ```
55
+
56
+ ## Response
57
+
58
+ The command won't return a response on success.
@@ -73,3 +73,62 @@ Add an item with a specific title to a list retrieved by server-relative URL in
73
73
  ```sh
74
74
  m365 spo listitem add --contentType Item --listUrl /sites/project-x/Documents --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Item"
75
75
  ```
76
+
77
+ Add an item with a specific Title and multi-choice value
78
+
79
+ ```sh
80
+ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --MultiChoiceField "Choice 1;#Choice 2;#Choice 3"
81
+ ```
82
+
83
+ ## Response
84
+
85
+ === "JSON"
86
+
87
+ ```json
88
+ {
89
+ "FileSystemObjectType": 0,
90
+ "Id": 234,
91
+ "ServerRedirectedEmbedUri": null,
92
+ "ServerRedirectedEmbedUrl": "",
93
+ "ID": 234,
94
+ "ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
95
+ "Title": "Test",
96
+ "Modified": "2022-11-16T20:55:45Z",
97
+ "Created": "2022-11-16T20:55:45Z",
98
+ "AuthorId": 10,
99
+ "EditorId": 10,
100
+ "OData__UIVersionString": "1.0",
101
+ "Attachments": false,
102
+ "GUID": "352e3855-56fa-4b68-b6be-4644d6adf204",
103
+ "ComplianceAssetId": null,
104
+ "OData__vti_ItemDeclaredRecord": null,
105
+ }
106
+ ```
107
+
108
+ === "Text"
109
+
110
+ ```text
111
+ Attachments : false
112
+ AuthorId : 10
113
+ ComplianceAssetId : null
114
+ ContentTypeId : 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
115
+ Created : 2022-11-16T20:56:31Z
116
+ EditorId : 10
117
+ FileSystemObjectType : 0
118
+ GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
119
+ ID : 236
120
+ Id : 236
121
+ Modified : 2022-11-16T20:56:31Z
122
+ OData__UIVersionString : 1.0
123
+ OData__vti_ItemDeclaredRecord: null
124
+ ServerRedirectedEmbedUri : null
125
+ ServerRedirectedEmbedUrl :
126
+ Title : Test
127
+ ```
128
+
129
+ === "CSV"
130
+
131
+ ```csv
132
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
133
+ 0,235,,,235,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
134
+ ```
@@ -46,3 +46,37 @@ Gets the attachments from a specific list item in a specific list obtained by se
46
46
  ```sh
47
47
  m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/Documents --itemId 147
48
48
  ```
49
+
50
+ ## Response
51
+
52
+ === "JSON"
53
+
54
+ ```json
55
+ [
56
+ {
57
+ "FileName": "DummyDocument.docx",
58
+ "FileNameAsPath": {
59
+ "DecodedUrl": "DummyDocument.docx"
60
+ },
61
+ "ServerRelativePath": {
62
+ "DecodedUrl": "/Lists/Test/Attachments/236/DummyDocument.docx"
63
+ },
64
+ "ServerRelativeUrl": "/Lists/Test/Attachments/236/DummyDocument.docx"
65
+ }
66
+ ]
67
+ ```
68
+
69
+ === "Text"
70
+
71
+ ```text
72
+ FileName ServerRelativeUrl
73
+ ------------------ ----------------------------------------------
74
+ DummyDocument.docx /Lists/Test/Attachments/236/DummyDocument.docx
75
+ ```
76
+
77
+ === "CSV"
78
+
79
+ ```csv
80
+ FileName,ServerRelativeUrl
81
+ DummyDocument.docx,/Lists/Test/Attachments/236/DummyDocument.docx
82
+ ```