@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
@@ -0,0 +1,61 @@
1
+ # spo listitem batch add
2
+
3
+ Creates list items in a batch
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo listitem batch add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-p, --filePath <filePath>`
14
+ : The absolute or relative path to a flat file containing the list items.
15
+
16
+ `-u, --webUrl <webUrl>`
17
+ : URL of the site.
18
+
19
+ `-l, --listId [listId]`
20
+ : ID of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
21
+
22
+ `-t, --listTitle [listTitle]`
23
+ : Title of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
24
+
25
+ `--listUrl [listUrl]`
26
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ Add a batch of items to a list retrieved by title in a specific site
33
+
34
+ ```sh
35
+ m365 spo listitem batch add --filePath "C:\Path\To\Csv\CsvFile.csv" --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List"
36
+ ```
37
+
38
+ Add a batch of items to a list retrieved by Id in a specific site
39
+
40
+ ```sh
41
+ m365 spo listitem batch add --filePath "C:\Path\To\Csv\CsvFile.csv" --webUrl https://contoso.sharepoint.com/sites/project-x --listId fe54c47b-22e4-4cab-8a10-3fc54003fb4c
42
+ ```
43
+
44
+ Add a batch of items to a list defined by server-relative URL in a specific site
45
+
46
+ ```sh
47
+ m365 spo listitem batch add --filePath "C:\Path\To\Csv\CsvFile.csv" --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl "/sites/project-x/lists/Demo List"
48
+ ```
49
+
50
+ ## Remarks
51
+
52
+ A sample CSV can be found below. The first line of the CSV-file should contain the internal column names that you wish to set.
53
+
54
+ ```csv
55
+ ContentType,Title,SingleChoiceField,MultiChoiceField,SingleMetadataField,MultiMetadataField,SinglePeopleField,MultiPeopleField,CustomHyperlink,NumberField
56
+ Item,Title A,Choice 1,Choice 1;#Choice 2,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;Finance|f994a4ac-cf34-448e-a22c-2b35fd9bbffa;,[{'Key':'i:0#.f|membership|markh@contoso.com'}],"[{'Key':'i:0#.f|membership|markh@contoso.com'},{'Key':'i:0#.f|membership|adamb@contoso.com'}]","https://bing.com, URL",5
57
+ ```
58
+
59
+ ## Response
60
+
61
+ The command won't return a response on success.
@@ -28,6 +28,9 @@ m365 spo listitem get [options]
28
28
  `-p, --properties [properties]`
29
29
  : Comma-separated list of properties to retrieve. Will retrieve all properties if not specified and json output is requested
30
30
 
31
+ `--withPermissions`
32
+ : Set if you want to return associated roles and permissions
33
+
31
34
  --8<-- "docs/cmd/_global.md"
32
35
 
33
36
  ## Remarks
@@ -36,26 +39,207 @@ If you want to specify a lookup type in the `properties` option, define which co
36
39
 
37
40
  ## Examples
38
41
 
39
- Get an item with ID _147_ from list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
42
+ Get an item with the ID parameter from a given list in a given site
40
43
 
41
44
  ```sh
42
45
  m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x
43
46
  ```
44
47
 
45
- Get an items _Title_ and _Created_ column with ID _147_ from list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
48
+ Get an item columns with the ID parameter from a given list in a given site
46
49
 
47
50
  ```sh
48
51
  m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Created"
49
52
  ```
50
53
 
51
- Get an items _Title_, _Created_ column and lookup column _Company_ with ID _147_ from list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
54
+ Get an item columns and lookup column with the ID parameter from a given list in a given site
52
55
 
53
56
  ```sh
54
57
  m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Created,Company/Title"
55
58
  ```
56
59
 
57
- Get an item with specific properties from a list retrieved by server-relative URL in a specific site
60
+ Get an item with specific properties from a given list based on the server-relative URL in a specific site
58
61
 
59
62
  ```sh
60
63
  m365 spo listitem get --listUrl /sites/project-x/documents --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Created,Company/Title"
61
64
  ```
65
+
66
+ Get an item with ID parameter from a given list based on the server-relative URL in a specific site with permissions
67
+
68
+ ```sh
69
+ m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --withPermissions
70
+ ```
71
+
72
+
73
+ ## Response
74
+
75
+ === "JSON"
76
+
77
+ ```json
78
+ {
79
+ "FileSystemObjectType": 0,
80
+ "Id": 147,
81
+ "ServerRedirectedEmbedUri": null,
82
+ "ServerRedirectedEmbedUrl": "",
83
+ "ContentTypeId": "0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126",
84
+ "Title": "Demo Item",
85
+ "Modified": "2022-10-30T10:55:37Z",
86
+ "Created": "2022-10-30T10:55:22Z",
87
+ "AuthorId": 10,
88
+ "EditorId": 10,
89
+ "OData__UIVersionString": "3.0",
90
+ "Attachments": false,
91
+ "GUID": "87f3138d-fac3-4126-97c0-543e55672261",
92
+ "ComplianceAssetId": null
93
+ }
94
+ ```
95
+
96
+ === "Text"
97
+
98
+ ```text
99
+ Attachments : false
100
+ AuthorId : 10
101
+ ComplianceAssetId : null
102
+ ContentTypeId : 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
103
+ Created : 2022-10-30T10:55:22Z
104
+ EditorId : 10
105
+ FileSystemObjectType : 0
106
+ GUID : 87f3138d-fac3-4126-97c0-543e55672261
107
+ Id : 147
108
+ Modified : 2022-10-30T10:55:37Z
109
+ OData__UIVersionString : 3.0
110
+ ServerRedirectedEmbedUri: null
111
+ ServerRedirectedEmbedUrl:
112
+ Title : Demo Item
113
+ ```
114
+
115
+ === "CSV"
116
+
117
+ ```csv
118
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId
119
+ 0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,
120
+ ```
121
+
122
+ ### `withPermissions` response
123
+
124
+ When we make use of the option `withPermissions` the response will differ.
125
+
126
+ ## Response
127
+
128
+ === "JSON"
129
+
130
+ ```json
131
+ {
132
+ "FileSystemObjectType": 0,
133
+ "Id": 147,
134
+ "ServerRedirectedEmbedUri": null,
135
+ "ServerRedirectedEmbedUrl": "",
136
+ "ContentTypeId": "0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126",
137
+ "Title": "Demo Item",
138
+ "Modified": "2022-10-30T10:55:37Z",
139
+ "Created": "2022-10-30T10:55:22Z",
140
+ "AuthorId": 10,
141
+ "EditorId": 10,
142
+ "OData__UIVersionString": "3.0",
143
+ "Attachments": false,
144
+ "GUID": "87f3138d-fac3-4126-97c0-543e55672261",
145
+ "ComplianceAssetId": null,
146
+ "RoleAssignments": [
147
+ {
148
+ "Member": {
149
+ "Id": 3,
150
+ "IsHiddenInUI": false,
151
+ "LoginName": "Communication site Owners",
152
+ "Title": "Communication site Owners",
153
+ "PrincipalType": 8,
154
+ "AllowMembersEditMembership": false,
155
+ "AllowRequestToJoinLeave": false,
156
+ "AutoAcceptRequestToJoinLeave": false,
157
+ "Description": null,
158
+ "OnlyAllowMembersViewMembership": false,
159
+ "OwnerTitle": "Communication site Owners",
160
+ "RequestToJoinLeaveEmailSetting": ""
161
+ },
162
+ "RoleDefinitionBindings": [
163
+ {
164
+ "BasePermissions": {
165
+ "High": "2147483647",
166
+ "Low": "4294967295"
167
+ },
168
+ "Description": "Has full control.",
169
+ "Hidden": false,
170
+ "Id": 1073741829,
171
+ "Name": "Full Control",
172
+ "Order": 1,
173
+ "RoleTypeKind": 5,
174
+ "BasePermissionsValue": [
175
+ "ViewListItems",
176
+ "AddListItems",
177
+ "EditListItems",
178
+ "DeleteListItems",
179
+ "ApproveItems",
180
+ "OpenItems",
181
+ "ViewVersions",
182
+ "DeleteVersions",
183
+ "CancelCheckout",
184
+ "ManagePersonalViews",
185
+ "ManageLists",
186
+ "ViewFormPages",
187
+ "AnonymousSearchAccessList",
188
+ "Open",
189
+ "ViewPages",
190
+ "AddAndCustomizePages",
191
+ "ApplyThemeAndBorder",
192
+ "ApplyStyleSheets",
193
+ "ViewUsageData",
194
+ "CreateSSCSite",
195
+ "ManageSubwebs",
196
+ "CreateGroups",
197
+ "ManagePermissions",
198
+ "BrowseDirectories",
199
+ "BrowseUserInfo",
200
+ "AddDelPrivateWebParts",
201
+ "UpdatePersonalWebParts",
202
+ "ManageWeb",
203
+ "AnonymousSearchAccessWebLists",
204
+ "UseClientIntegration",
205
+ "UseRemoteAPIs",
206
+ "ManageAlerts",
207
+ "CreateAlerts",
208
+ "EditMyUserInfo",
209
+ "EnumeratePermissions"
210
+ ],
211
+ "RoleTypeKindValue": "Administrator"
212
+ }
213
+ ],
214
+ "PrincipalId": 3
215
+ }
216
+ ]
217
+ }
218
+ ```
219
+
220
+ === "Text"
221
+
222
+ ```text
223
+ Attachments : false
224
+ AuthorId : 10
225
+ ComplianceAssetId : null
226
+ ContentTypeId : 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
227
+ Created : 2022-10-30T10:55:22Z
228
+ EditorId : 10
229
+ FileSystemObjectType : 0
230
+ GUID : 87f3138d-fac3-4126-97c0-543e55672261
231
+ Id : 147
232
+ Modified : 2022-10-30T10:55:37Z
233
+ OData__UIVersionString : 3.0
234
+ RoleAssignments : [{"Member":{"Id":3,"IsHiddenInUI":false,"LoginName":"Communication site Owners","Title":"Communication site Owners","PrincipalType":8,"AllowMembersEditMembership":false,"AllowRequestToJoinLeave":false,"AutoAcceptRequestToJoinLeave":false,"Description":null,"OnlyAllowMembersViewMembership":false,"OwnerTitle":"Communication site Owners","RequestToJoinLeaveEmailSetting":""},"RoleDefinitionBindings":[{"BasePermissions":{"High":"2147483647","Low":"4294967295"},"Description":"Has full control.","Hidden":false,"Id":1073741829,"Name":"Full Control","Order":1,"RoleTypeKind":5,"BasePermissionsValue":["ViewListItems","AddListItems","EditListItems","DeleteListItems","ApproveItems","OpenItems","ViewVersions","DeleteVersions","CancelCheckout","ManagePersonalViews","ManageLists","ViewFormPages","AnonymousSearchAccessList","Open","ViewPages","AddAndCustomizePages","ApplyThemeAndBorder","ApplyStyleSheets","ViewUsageData","CreateSSCSite","ManageSubwebs","CreateGroups","ManagePermissions","BrowseDirectories","BrowseUserInfo","AddDelPrivateWebParts","UpdatePersonalWebParts","ManageWeb","AnonymousSearchAccessWebLists","UseClientIntegration","UseRemoteAPIs","ManageAlerts","CreateAlerts","EditMyUserInfo","EnumeratePermissions"],"RoleTypeKindValue":"Administrator"}],"PrincipalId":3}]
235
+ ServerRedirectedEmbedUri: null
236
+ ServerRedirectedEmbedUrl:
237
+ Title : Demo Item
238
+ ```
239
+
240
+ === "CSV"
241
+
242
+ ```csv
243
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,RoleAssignments
244
+ 0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,"[{""Member"":{""Id"":3,""IsHiddenInUI"":false,""LoginName"":""Communication site Owners"",""Title"":""Communication site Owners"",""PrincipalType"":8,""AllowMembersEditMembership"":false,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""},""RoleDefinitionBindings"":[{""BasePermissions"":{""High"":""2147483647"",""Low"":""4294967295""},""Description"":""Has full control."",""Hidden"":false,""Id"":1073741829,""Name"":""Full Control"",""Order"":1,""RoleTypeKind"":5,""BasePermissionsValue"":[""ViewListItems"",""AddListItems"",""EditListItems"",""DeleteListItems"",""ApproveItems"",""OpenItems"",""ViewVersions"",""DeleteVersions"",""CancelCheckout"",""ManagePersonalViews"",""ManageLists"",""ViewFormPages"",""AnonymousSearchAccessList"",""Open"",""ViewPages"",""AddAndCustomizePages"",""ApplyThemeAndBorder"",""ApplyStyleSheets"",""ViewUsageData"",""CreateSSCSite"",""ManageSubwebs"",""CreateGroups"",""ManagePermissions"",""BrowseDirectories"",""BrowseUserInfo"",""AddDelPrivateWebParts"",""UpdatePersonalWebParts"",""ManageWeb"",""AnonymousSearchAccessWebLists"",""UseClientIntegration"",""UseRemoteAPIs"",""ManageAlerts"",""CreateAlerts"",""EditMyUserInfo"",""EnumeratePermissions""],""RoleTypeKindValue"":""Administrator""}],""PrincipalId"":3}]"
245
+ ```
@@ -47,3 +47,22 @@ Check whether a document with a specific id in a list retrieved by server-relati
47
47
  m365 spo listitem isrecord --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/documents --id 1
48
48
  ```
49
49
 
50
+ ## Response
51
+
52
+ === "JSON"
53
+
54
+ ```json
55
+ false
56
+ ```
57
+
58
+ === "Text"
59
+
60
+ ```text
61
+ false
62
+ ```
63
+
64
+ === "CSV"
65
+
66
+ ```csv
67
+ false
68
+ ```
@@ -94,3 +94,44 @@ Get all items from a list by server-relative URL
94
94
  ```sh
95
95
  m365 spo listitem list --listUrl /sites/project-x/documents --webUrl https://contoso.sharepoint.com/sites/project-x
96
96
  ```
97
+
98
+ ## Response
99
+
100
+ === "JSON"
101
+
102
+ ```json
103
+ [
104
+ {
105
+ "FileSystemObjectType": 0,
106
+ "Id": 236,
107
+ "ServerRedirectedEmbedUri": null,
108
+ "ServerRedirectedEmbedUrl": "",
109
+ "ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
110
+ "Title": "Test",
111
+ "Modified": "2022-11-16T21:00:03Z",
112
+ "Created": "2022-11-16T20:56:31Z",
113
+ "AuthorId": 10,
114
+ "EditorId": 10,
115
+ "OData__UIVersionString": "6.0",
116
+ "Attachments": true,
117
+ "GUID": "cac57513-e870-4e7a-9f23-f4ea10e14f4e",
118
+ "ComplianceAssetId": null,
119
+ "OData__vti_ItemDeclaredRecord": null
120
+ }
121
+ ]
122
+ ```
123
+
124
+ === "Text"
125
+
126
+ ```text
127
+ Id Title
128
+ --- -----
129
+ 236 Test
130
+ ```
131
+
132
+ === "CSV"
133
+
134
+ ```csv
135
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
136
+ 0,236,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T21:00:03Z,2022-11-16T20:56:31Z,10,10,6.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
137
+ ```
@@ -55,3 +55,32 @@ Declare a document with a specific id as a record with a record declaration date
55
55
  ```sh
56
56
  m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/Lists/Demo List' --listItemId 1 --date 2013-09-03
57
57
  ```
58
+
59
+ ## Response
60
+
61
+ === "JSON"
62
+
63
+ ```json
64
+ {
65
+ "SchemaVersion": "15.0.0.0",
66
+ "LibraryVersion": "16.0.23102.12004",
67
+ "ErrorInfo": null,
68
+ "TraceCorrelationId": "064779a0-d05b-5000-843d-c36803e58f12"
69
+ }
70
+ ```
71
+
72
+ === "Text"
73
+
74
+ ```text
75
+ ErrorInfo : null
76
+ LibraryVersion : 16.0.23102.12004
77
+ SchemaVersion : 15.0.0.0
78
+ TraceCorrelationId: 0a4779a0-c0ca-5000-d29d-4321a1739425
79
+ ```
80
+
81
+ === "CSV"
82
+
83
+ ```csv
84
+ SchemaVersion,LibraryVersion,ErrorInfo,TraceCorrelationId
85
+ 15.0.0.0,16.0.23102.12004,,0d4779a0-609c-5000-843d-c98e4764c937
86
+ ```
@@ -46,3 +46,7 @@ Undeclare a list item with a specific id as a record from a list retrieved by se
46
46
  ```sh
47
47
  m365 spo listitem record undeclare --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/Lists/Lists 1' --id 1
48
48
  ```
49
+
50
+ ## Response
51
+
52
+ The command won't return a response on success.
@@ -52,3 +52,7 @@ Remove the list item with a specific ID from a list retrieved by server-relative
52
52
  ```sh
53
53
  m365 spo listitem remove --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/lists/TestList --id 1
54
54
  ```
55
+
56
+ ## Response
57
+
58
+ The command won't return a response on success.
@@ -78,4 +78,8 @@ Add role assignment to specified listitem in specified list located in specified
78
78
 
79
79
  ```sh
80
80
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionName "Full Control"
81
- ```
81
+ ```
82
+
83
+ ## Response
84
+
85
+ The command won't return a response on success.
@@ -65,3 +65,7 @@ Remove roleassignment from listitem getting list by url based on principal Id wi
65
65
  ```sh
66
66
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --listItemId 1 --principalId 2 --confirm
67
67
  ```
68
+
69
+ ## Response
70
+
71
+ The command won't return a response on success.
@@ -67,4 +67,8 @@ Break inheritance of list item _1_ in list with ID _202b8199-b9de-43fd-9737-7f21
67
67
 
68
68
  ```sh
69
69
  m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listId 202b8199-b9de-43fd-9737-7f213f51c991 --listItemId 1 --clearExistingPermissions --confirm
70
- ```
70
+ ```
71
+
72
+ ## Response
73
+
74
+ The command won't return a response on success.
@@ -49,3 +49,7 @@ Restore role inheritance of a list item with a specific id in a list retrieved b
49
49
  ```sh
50
50
  m365 spo listitem roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listItemId 8 --listUrl /sites/project-x/lists/test --confirm
51
51
  ```
52
+
53
+ ## Response
54
+
55
+ The command won't return a response on success.
@@ -70,3 +70,62 @@ Update the field _Title_ and _CustomHyperlink_ of an item with a specific id in
70
70
  ```sh
71
71
  m365 spo listitem set --listUrl '/sites/project-x/lists/Demo List' --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --CustomHyperlink "https://www.bing.com, Bing"
72
72
  ```
73
+
74
+ Update an item with a specific Title and multi-choice value
75
+
76
+ ```sh
77
+ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --MultiChoiceField "Choice 1;#Choice 2;#Choice 3"
78
+ ```
79
+
80
+ ## Response
81
+
82
+ === "JSON"
83
+
84
+ ```json
85
+ {
86
+ "FileSystemObjectType": 0,
87
+ "Id": 236,
88
+ "ServerRedirectedEmbedUri": null,
89
+ "ServerRedirectedEmbedUrl": "",
90
+ "ID": 236,
91
+ "ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
92
+ "Title": "Updated Title",
93
+ "Modified": "2022-11-16T21:10:06Z",
94
+ "Created": "2022-11-16T20:56:31Z",
95
+ "AuthorId": 10,
96
+ "EditorId": 10,
97
+ "OData__UIVersionString": "7.0",
98
+ "Attachments": true,
99
+ "GUID": "cac57513-e870-4e7a-9f23-f4ea10e14f4e",
100
+ "ComplianceAssetId": null,
101
+ "OData__vti_ItemDeclaredRecord": null
102
+ }
103
+ ```
104
+
105
+ === "Text"
106
+
107
+ ```text
108
+ Attachments : true
109
+ AuthorId : 10
110
+ ComplianceAssetId : null
111
+ ContentTypeId : 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
112
+ Created : 2022-11-16T20:56:31Z
113
+ EditorId : 10
114
+ FileSystemObjectType : 0
115
+ GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
116
+ ID : 236
117
+ Id : 236
118
+ Modified : 2022-11-16T21:10:37Z
119
+ OData__UIVersionString : 8.0
120
+ OData__vti_ItemDeclaredRecord: null
121
+ ServerRedirectedEmbedUri : null
122
+ ServerRedirectedEmbedUrl :
123
+ Title : Updated Title
124
+ ```
125
+
126
+ === "CSV"
127
+
128
+ ```csv
129
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
130
+ 0,236,,,236,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
131
+ ```
@@ -59,3 +59,7 @@ Send an e-mail to _user@contoso.com_ with additional headers
59
59
  ```sh
60
60
  m365 spo mail send --webUrl https://contoso.sharepoint.com/sites/project-x --to "user@contoso.com" --subject "Email sent via CLI for Microsoft 365" --body "<h1>CLI for Microsoft 365</h1>Email sent via <b>command</b>." --additionalHeaders "'{\"X-MC-Tags\":\"CLI for Microsoft 365\"}'"
61
61
  ```
62
+
63
+ ## Response
64
+
65
+ The command won't return a response on success.
@@ -49,3 +49,42 @@ Add a navigation node below an existing node
49
49
  ```sh
50
50
  m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --parentNodeId 2010 --title About --url /sites/team-s/sitepages/about.aspx
51
51
  ```
52
+
53
+ ## Response
54
+
55
+ === "JSON"
56
+
57
+ ```json
58
+ {
59
+ "AudienceIds": null,
60
+ "CurrentLCID": 1033,
61
+ "Id": 2030,
62
+ "IsDocLib": true,
63
+ "IsExternal": true,
64
+ "IsVisible": true,
65
+ "ListTemplateType": 0,
66
+ "Title": "Navigation Link",
67
+ "Url": "https://contoso.sharepoint.com"
68
+ }
69
+ ```
70
+
71
+ === "Text"
72
+
73
+ ```text
74
+ AudienceIds : null
75
+ CurrentLCID : 1033
76
+ Id : 2031
77
+ IsDocLib : true
78
+ IsExternal : true
79
+ IsVisible : true
80
+ ListTemplateType: 0
81
+ Title : Navigation Link
82
+ Url : https://contoso.sharepoint.com
83
+ ```
84
+
85
+ === "CSV"
86
+
87
+ ```csv
88
+ AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
89
+ ,1033,2032,1,1,1,0,Navigation Link,https://contoso.sharepoint.com
90
+ ```
@@ -31,3 +31,32 @@ Retrieve nodes from the quick launch
31
31
  ```sh
32
32
  m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch
33
33
  ```
34
+
35
+ ## Response
36
+
37
+ === "JSON"
38
+
39
+ ```json
40
+ [
41
+ {
42
+ "Id": 2032,
43
+ "Title": "Navigation Link",
44
+ "Url": "https://contoso.sharepoint.com"
45
+ }
46
+ ]
47
+ ```
48
+
49
+ === "Text"
50
+
51
+ ```text
52
+ Id Title Url
53
+ ---- --------------- ------------------------------
54
+ 2032 Navigation Link https://contoso.sharepoint.com
55
+ ```
56
+
57
+ === "CSV"
58
+
59
+ ```csv
60
+ Id,Title,Url
61
+ 2032,Navigation Link,https://contoso.sharepoint.com
62
+ ```
@@ -37,3 +37,7 @@ Remove a node from the quick launch without prompting for confirmation
37
37
  ```sh
38
38
  m365 spo navigation node remove --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --id 2003 --confirm
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ The command won't return a response on success.
@@ -20,10 +20,10 @@ m365 spo page add [options]
20
20
  : Title of the page to create. If not specified, will use the page name as its title
21
21
 
22
22
  `-l, --layoutType [layoutType]`
23
- : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`. Default `Article`
23
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`, `HeaderlessSearchResults`, `Spaces`, `Topic`. Default `Article`
24
24
 
25
25
  `-p, --promoteAs [promoteAs]`
26
- : Create the page for a specific purpose. Allowed values `HomePage`, `NewsPage`
26
+ : Create the page for a specific purpose. Allowed values `HomePage`, `NewsPage`, `Template`
27
27
 
28
28
  `--commentsEnabled`
29
29
  : Set to enable comments on the page
@@ -17,10 +17,13 @@ m365 spo page set [options]
17
17
  : URL of the site where the page to update is located
18
18
 
19
19
  `-l, --layoutType [layoutType]`
20
- : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`
20
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`, `HeaderlessSearchResults`, `Spaces`, `Topic`
21
21
 
22
22
  `-p, --promoteAs [promoteAs]`
23
- : Update the page purpose. Allowed values `HomePage`, `NewsPage`
23
+ : Update the page purpose. Allowed values `HomePage`, `NewsPage`, `Template`
24
+
25
+ `--demoteFrom [demoteFrom]`
26
+ : Update the page purpose back to a regular article. Allowed values `NewsPage`
24
27
 
25
28
  `--commentsEnabled [commentsEnabled]`
26
29
  : Set to `true`, to enable comments on the page. Allowed values `true`, `false`
@@ -65,6 +68,12 @@ Promote the existing article page as a template
65
68
  m365 spo page set --name page.aspx --webUrl https://contoso.sharepoint.com/sites/a-team --promoteAs Template
66
69
  ```
67
70
 
71
+ Demote the existing newspage
72
+
73
+ ```sh
74
+ m365 spo page set --name page.aspx --webUrl https://contoso.sharepoint.com/sites/a-team --demoteFrom NewsPage
75
+ ```
76
+
68
77
  Change the page's layout to Home and set it as the site's home page
69
78
 
70
79
  ```sh
@@ -88,3 +97,7 @@ Set page description
88
97
  ```sh
89
98
  m365 spo page set --name page.aspx --webUrl https://contoso.sharepoint.com/sites/a-team --description "Description to add for the page"
90
99
  ```
100
+
101
+ ## Response
102
+
103
+ The command won't return a response on success.