@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
@@ -31,54 +31,265 @@ m365 spo file get [options]
31
31
  `-p, --path [path]`
32
32
  : The local path where to save the retrieved file. Must be specified when the `--asFile` option is used
33
33
 
34
+ `--withPermissions`
35
+ : Set if you want to return associated roles and permissions
36
+
34
37
  --8<-- "docs/cmd/_global.md"
35
38
 
36
39
  ## Examples
37
40
 
38
- Get file properties for file with id (UniqueId) _b2307a39-e878-458b-bc90-03bc578531d6_ located in site _https://contoso.sharepoint.com/sites/project-x_
41
+ Get file properties for a file with id (UniqueId) parameter located in a site
39
42
 
40
43
  ```sh
41
44
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6'
42
45
  ```
43
46
 
44
- Get contents of the file with id (UniqueId) _b2307a39-e878-458b-bc90-03bc578531d6_ located in site _https://contoso.sharepoint.com/sites/project-x_
47
+ Get contents of the file with id (UniqueId) parameter located in a site
45
48
 
46
49
  ```sh
47
50
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --asString
48
51
  ```
49
52
 
50
- Get list item properties for file with id (UniqueId) _b2307a39-e878-458b-bc90-03bc578531d6_ located in site _https://contoso.sharepoint.com/sites/project-x_
53
+ Get list item properties for a file with id (UniqueId) parameter located in a site
51
54
 
52
55
  ```sh
53
56
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --asListItem
54
57
  ```
55
58
 
56
- Save file with id (UniqueId) _b2307a39-e878-458b-bc90-03bc578531d6_ located in site _https://contoso.sharepoint.com/sites/project-x_ to local file _/Users/user/documents/SavedAsTest1.docx_
59
+ Saves the file with id (UniqueId) parameter located in a site to a local file
57
60
 
58
61
  ```sh
59
62
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --asFile --path /Users/user/documents/SavedAsTest1.docx
60
63
  ```
61
64
 
62
- Return file properties for file with server-relative url _/sites/project-x/documents/Test1.docx_ located in site _https://contoso.sharepoint.com/sites/project-x_
65
+ Return file properties for a file with server-relative url located in a site
63
66
 
64
67
  ```sh
65
68
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx'
66
69
  ```
67
70
 
68
- Return file as string for file with server-relative url _/sites/project-x/documents/Test1.docx_ located in site _https://contoso.sharepoint.com/sites/project-x_
71
+ Returns a file as string for a file with server-relative url located in a site
69
72
 
70
73
  ```sh
71
74
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx' --asString
72
75
  ```
73
76
 
74
- Return list item properties for file with server-relative url _/sites/project-x/documents/Test1.docx_ located in site _https://contoso.sharepoint.com/sites/project-x_
77
+ Returna the list item properties for a file with the server-relative url located in a site
75
78
 
76
79
  ```sh
77
80
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx' --asListItem
78
81
  ```
79
82
 
80
- Save file with server-relative url _/sites/project-x/documents/Test1.docx_ located in site _https://contoso.sharepoint.com/sites/project-x_ to local file _/Users/user/documentsSavedAsTest1.docx_
83
+ Saves a file with the server-relative url located in a site to a local file
81
84
 
82
85
  ```sh
83
86
  m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/documents/Test1.docx' --asFile --path /Users/user/documents/SavedAsTest1.docx
84
87
  ```
88
+
89
+ Gets the file properties for a file with id (UniqueId) parameter located in a site with permissions
90
+
91
+ ```sh
92
+ m365 spo file get --webUrl https://contoso.sharepoint.com/sites/project-x --id 'b2307a39-e878-458b-bc90-03bc578531d6' --withPermissions
93
+ ```
94
+
95
+ ## Response
96
+
97
+ === "JSON"
98
+
99
+ ```json
100
+ {
101
+ "CheckInComment": "",
102
+ "CheckOutType": 2,
103
+ "ContentTag": "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",
104
+ "CustomizedPageStatus": 0,
105
+ "ETag": "\"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1\"",
106
+ "Exists": true,
107
+ "IrmEnabled": false,
108
+ "Length": "5987",
109
+ "Level": 1,
110
+ "LinkingUri": null,
111
+ "LinkingUrl": "",
112
+ "MajorVersion": 1,
113
+ "MinorVersion": 0,
114
+ "Name": "Test1.docx",
115
+ "ServerRelativeUrl": "/sites/project-x/documents/Test1.docx",
116
+ "TimeCreated": "2022-10-30T10:16:18Z",
117
+ "TimeLastModified": "2022-10-30T10:16:18Z",
118
+ "Title": null,
119
+ "UIVersion": 512,
120
+ "UIVersionLabel": "1.0",
121
+ "UniqueId": "b2307a39-e878-458b-bc90-03bc578531d6"
122
+ }
123
+ ```
124
+
125
+ === "Text"
126
+
127
+ ```text
128
+ CheckInComment :
129
+ CheckOutType : 2
130
+ ContentTag : {03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1
131
+ CustomizedPageStatus: 0
132
+ ETag : "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1"
133
+ Exists : true
134
+ IrmEnabled : false
135
+ Length : 5987
136
+ Level : 1
137
+ LinkingUri : null
138
+ LinkingUrl :
139
+ MajorVersion : 1
140
+ MinorVersion : 0
141
+ Name : Test1.docx
142
+ ServerRelativeUrl : /sites/project-x/documents/Test1.docx
143
+ TimeCreated : 2022-10-30T10:16:18Z
144
+ TimeLastModified : 2022-10-30T10:16:18Z
145
+ Title : null
146
+ UIVersion : 512
147
+ UIVersionLabel : 1.0
148
+ UniqueId : b2307a39-e878-458b-bc90-03bc578531d6
149
+ ```
150
+
151
+ === "CSV"
152
+
153
+ ```csv
154
+ CheckInComment,CheckOutType,ContentTag,CustomizedPageStatus,ETag,Exists,IrmEnabled,Length,Level,LinkingUri,LinkingUrl,MajorVersion,MinorVersion,Name,ServerRelativeUrl,TimeCreated,TimeLastModified,Title,UIVersion,UIVersionLabel,UniqueId
155
+ ,2,"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",0,"""{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1""",1,,5987,1,,,1,0,Test1.docx,/sites/project-x/documents/Test1.docx,2022-10-30T10:16:18Z,2022-10-30T10:16:18Z,,512,1.0,b2307a39-e878-458b-bc90-03bc578531d6
156
+ ```
157
+
158
+ ### `withPermissions` response
159
+
160
+ When we make use of the option `withPermissions` the response will differ.
161
+
162
+ ## Response
163
+
164
+ === "JSON"
165
+
166
+ ```json
167
+ {
168
+ "CheckInComment": "",
169
+ "CheckOutType": 2,
170
+ "ContentTag": "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",
171
+ "CustomizedPageStatus": 0,
172
+ "ETag": "\"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1\"",
173
+ "Exists": true,
174
+ "IrmEnabled": false,
175
+ "Length": "5987",
176
+ "Level": 1,
177
+ "LinkingUri": null,
178
+ "LinkingUrl": "",
179
+ "MajorVersion": 1,
180
+ "MinorVersion": 0,
181
+ "Name": "Test1.docx",
182
+ "ServerRelativeUrl": "/sites/project-x/documents/Test1.docx",
183
+ "TimeCreated": "2022-10-30T10:16:18Z",
184
+ "TimeLastModified": "2022-10-30T10:16:18Z",
185
+ "Title": null,
186
+ "UIVersion": 512,
187
+ "UIVersionLabel": "1.0",
188
+ "UniqueId": "b2307a39-e878-458b-bc90-03bc578531d6",
189
+ "RoleAssignments": [
190
+ {
191
+ "Member": {
192
+ "Id": 3,
193
+ "IsHiddenInUI": false,
194
+ "LoginName": "Communication site Owners",
195
+ "Title": "Communication site Owners",
196
+ "PrincipalType": 8,
197
+ "AllowMembersEditMembership": false,
198
+ "AllowRequestToJoinLeave": false,
199
+ "AutoAcceptRequestToJoinLeave": false,
200
+ "Description": null,
201
+ "OnlyAllowMembersViewMembership": false,
202
+ "OwnerTitle": "Communication site Owners",
203
+ "RequestToJoinLeaveEmailSetting": ""
204
+ },
205
+ "RoleDefinitionBindings": [
206
+ {
207
+ "BasePermissions": {
208
+ "High": "2147483647",
209
+ "Low": "4294967295"
210
+ },
211
+ "Description": "Has full control.",
212
+ "Hidden": false,
213
+ "Id": 1073741829,
214
+ "Name": "Full Control",
215
+ "Order": 1,
216
+ "RoleTypeKind": 5,
217
+ "BasePermissionsValue": [
218
+ "ViewListItems",
219
+ "AddListItems",
220
+ "EditListItems",
221
+ "DeleteListItems",
222
+ "ApproveItems",
223
+ "OpenItems",
224
+ "ViewVersions",
225
+ "DeleteVersions",
226
+ "CancelCheckout",
227
+ "ManagePersonalViews",
228
+ "ManageLists",
229
+ "ViewFormPages",
230
+ "AnonymousSearchAccessList",
231
+ "Open",
232
+ "ViewPages",
233
+ "AddAndCustomizePages",
234
+ "ApplyThemeAndBorder",
235
+ "ApplyStyleSheets",
236
+ "ViewUsageData",
237
+ "CreateSSCSite",
238
+ "ManageSubwebs",
239
+ "CreateGroups",
240
+ "ManagePermissions",
241
+ "BrowseDirectories",
242
+ "BrowseUserInfo",
243
+ "AddDelPrivateWebParts",
244
+ "UpdatePersonalWebParts",
245
+ "ManageWeb",
246
+ "AnonymousSearchAccessWebLists",
247
+ "UseClientIntegration",
248
+ "UseRemoteAPIs",
249
+ "ManageAlerts",
250
+ "CreateAlerts",
251
+ "EditMyUserInfo",
252
+ "EnumeratePermissions"
253
+ ],
254
+ "RoleTypeKindValue": "Administrator"
255
+ }
256
+ ],
257
+ "PrincipalId": 3
258
+ }
259
+ ]
260
+ }
261
+ ```
262
+
263
+ === "Text"
264
+
265
+ ```text
266
+ CheckInComment :
267
+ CheckOutType : 2
268
+ ContentTag : {03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1
269
+ CustomizedPageStatus: 0
270
+ ETag : "{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1"
271
+ Exists : true
272
+ IrmEnabled : false
273
+ Length : 5987
274
+ Level : 1
275
+ LinkingUri : null
276
+ LinkingUrl :
277
+ MajorVersion : 1
278
+ MinorVersion : 0
279
+ Name : Test1.docx
280
+ ServerRelativeUrl : /sites/project-x/documents/Test1.docx
281
+ TimeCreated : 2022-10-30T10:16:18Z
282
+ TimeLastModified : 2022-10-30T10:16:18Z
283
+ Title : null
284
+ UIVersion : 512
285
+ UIVersionLabel : 1.0
286
+ UniqueId : b2307a39-e878-458b-bc90-03bc578531d6
287
+ 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}]
288
+ ```
289
+
290
+ === "CSV"
291
+
292
+ ```csv
293
+ CheckInComment,CheckOutType,ContentTag,CustomizedPageStatus,ETag,Exists,IrmEnabled,Length,Level,LinkingUri,LinkingUrl,MajorVersion,MinorVersion,Name,ServerRelativeUrl,TimeCreated,TimeLastModified,Title,UIVersion,UIVersionLabel,UniqueId,RoleAssignments
294
+ ,2,"{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1,1",0,"""{03E171B6-9DF2-46D9-A7A1-D5FA0BD23E4B},1""",1,,5987,1,,,1,0,Test1.docx,/sites/project-x/documents/Test1.docx,2022-10-30T10:16:18Z,2022-10-30T10:16:18Z,,512,1.0,b2307a39-e878-458b-bc90-03bc578531d6,"[{""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}]"
295
+ ```
@@ -63,14 +63,14 @@ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project
63
63
  === "Text"
64
64
 
65
65
  ```text
66
- CheckInComment Created ID IsCurrentVersion Length Size Url VersionLabel
67
- -------------- -------------------- ---- ---------------- ------ ----- ------------------------------------------------ ------------
68
- 2022-10-30T12:03:06Z 512 false 18898 18898 _vti_history/512/Shared Documents/Document.docx 1.0
66
+ Created ID IsCurrentVersion VersionLabel
67
+ -------------------- ---- ---------------- ------------
68
+ 2022-10-30T12:03:06Z 512 false 1.0
69
69
  ```
70
70
 
71
71
  === "CSV"
72
72
 
73
73
  ```csv
74
- CheckInComment,Created,ID,IsCurrentVersion,Length,Size,Url,VersionLabel
75
- ,2022-10-30T12:03:06Z,512,,18898,18898,_vti_history/512/Shared Documents/Document.docx,1.0
74
+ Created,ID,IsCurrentVersion,VersionLabel
75
+ 2022-10-30T12:03:06Z,512,false,1.0
76
76
  ```
@@ -19,12 +19,17 @@ m365 spo folder get [options]
19
19
  `-i, --id [id]`
20
20
  : The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both
21
21
 
22
+ `--withPermissions`
23
+ : Set if you want to return associated roles and permissions of the folder.
24
+
22
25
  --8<-- "docs/cmd/_global.md"
23
26
 
24
27
  ## Remarks
25
28
 
26
29
  If no folder exists at the specified URL, you will get a `Please check the folder URL. Folder might not exist on the specified URL` error.
27
30
 
31
+ If root level folder is passed, you will get a `Please ensure the specified folder URL or folder Id does not refer to a root folder. Use \'spo list get\' with withPermissions instead' error.` Please use the command 'spo list get'.
32
+
28
33
  ## Examples
29
34
 
30
35
  Get folder properties for folder with server-relative url _'/Shared Documents'_ located in site _https://contoso.sharepoint.com/sites/project-x_
@@ -38,3 +43,9 @@ Get folder properties for folder with id (UniqueId) _b2307a39-e878-458b-bc90-03b
38
43
  ```sh
39
44
  m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --id "b2307a39-e878-458b-bc90-03bc578531d6"
40
45
  ```
46
+
47
+ Get folder properties for folder with server-relative url _'/Shared Documents/Test1'_ located in site _https://contoso.sharepoint.com/sites/test
48
+
49
+ ```sh
50
+ m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/test --url "Shared Documents/Test1" --withPermissions
51
+ ```
@@ -20,6 +20,37 @@ Get information about the Home Site
20
20
  m365 spo homesite get
21
21
  ```
22
22
 
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ {
29
+ "SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
30
+ "WebId": "6f90666d-b0e7-40c3-991f-4ab051d00a70",
31
+ "LogoUrl": "https://contoso.sharepoint.com/sites/intra/siteassets/work.png",
32
+ "Title": "Intranet",
33
+ "Url": "https://contoso.sharepoint.com/sites/intra"
34
+ }
35
+ ```
36
+
37
+ === "Text"
38
+
39
+ ```text
40
+ LogoUrl: https://contoso.sharepoint.com/sites/intra/siteassets/work.png
41
+ SiteId : af80c11f-0138-4d72-bb37-514542c3aabb
42
+ Title : Intranet
43
+ Url : https://contoso.sharepoint.com/sites/intra
44
+ WebId : 6f90666d-b0e7-40c3-991f-4ab051d00a70
45
+ ```
46
+
47
+ === "CSV"
48
+
49
+ ```csv
50
+ SiteId,WebId,LogoUrl,Title,Url
51
+ af80c11f-0138-4d72-bb37-514542c3aabb,6f90666d-b0e7-40c3-991f-4ab051d00a70,https://contoso.sharepoint.com/sites/intra/siteassets/work.png,Intranet,https://contoso.sharepoint.com/sites/intra
52
+ ```
53
+
23
54
  ## More information
24
55
 
25
56
  - SharePoint home sites: a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
@@ -26,6 +26,26 @@ Removes the current Home Site without confirmation
26
26
  m365 spo homesite remove --confirm
27
27
  ```
28
28
 
29
+ ## Response
30
+
31
+ === "JSON"
32
+
33
+ ```json
34
+ "https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details."
35
+ ```
36
+
37
+ === "Text"
38
+
39
+ ```text
40
+ https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details.
41
+ ```
42
+
43
+ === "CSV"
44
+
45
+ ```csv
46
+ https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details.
47
+ ```
48
+
29
49
  ## More information
30
50
 
31
51
  - SharePoint home sites, a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
@@ -26,6 +26,26 @@ Set the specified site as the Home Site
26
26
  m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms
27
27
  ```
28
28
 
29
+ ## Response
30
+
31
+ === "JSON"
32
+
33
+ ```json
34
+ "The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details."
35
+ ```
36
+
37
+ === "Text"
38
+
39
+ ```text
40
+ The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
41
+ ```
42
+
43
+ === "CSV"
44
+
45
+ ```csv
46
+ The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
47
+ ```
48
+
29
49
  ## More information
30
50
 
31
51
  - SharePoint home sites: a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
@@ -33,6 +33,63 @@ Get information about the hub site data for a site with URL https://contoso.shar
33
33
  m365 spo hubsite data get --webUrl https://contoso.sharepoint.com/sites/project-x
34
34
  ```
35
35
 
36
+ ## Response
37
+
38
+ === "JSON"
39
+
40
+ ```json
41
+ {
42
+ "headerEmphasis": "None",
43
+ "themeKey": "7EDE94FF",
44
+ "name": "Intranet",
45
+ "url": "https://contoso.sharepoint.com/sites/intra",
46
+ "logoUrl": "https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png",
47
+ "logoFileHash": 637696294610000000,
48
+ "usesMetadataNavigation": false,
49
+ "megaMenuEnabled": true,
50
+ "navigation": [],
51
+ "isNavAudienceTargeted": false,
52
+ "siteDesignId": "184644fb-90ed-4841-a7ad-6930cf819060",
53
+ "requiresJoinApproval": false,
54
+ "hideNameInNavigation": false,
55
+ "parentHubSiteId": "1e1232eb-1a78-4726-8bb9-56af3640228d",
56
+ "relatedHubSiteIds": [
57
+ "af80c11f-0138-4d72-bb37-514542c3aabb"
58
+ ],
59
+ "tenantInstanceId": "4d128b52-7228-46b5-8765-5b338476054d",
60
+ "isSameTenantInstance": true
61
+ }
62
+ ```
63
+
64
+ === "Text"
65
+
66
+ ```text
67
+ headerEmphasis : None
68
+ hideNameInNavigation : false
69
+ isNavAudienceTargeted : false
70
+ isSameTenantInstance : true
71
+ logoFileHash : 637696294610000000
72
+ logoUrl : https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png
73
+ megaMenuEnabled : true
74
+ name : Intranet
75
+ navigation : []
76
+ parentHubSiteId : 1e1232eb-1a78-4726-8bb9-56af3640228d
77
+ relatedHubSiteIds : ["af80c11f-0138-4d72-bb37-514542c3aabb"]
78
+ requiresJoinApproval : false
79
+ siteDesignId : 184644fb-90ed-4841-a7ad-6930cf819060
80
+ tenantInstanceId : 4d128b52-7228-46b5-8765-5b338476054d
81
+ themeKey : 7EDE94FF
82
+ url : https://contoso.sharepoint.com/sites/intra
83
+ usesMetadataNavigation: false
84
+ ```
85
+
86
+ === "CSV"
87
+
88
+ ```csv
89
+ headerEmphasis,themeKey,name,url,logoUrl,logoFileHash,usesMetadataNavigation,megaMenuEnabled,navigation,isNavAudienceTargeted,siteDesignId,requiresJoinApproval,hideNameInNavigation,parentHubSiteId,relatedHubSiteIds,tenantInstanceId,isSameTenantInstance
90
+ None,7EDE94FF,Intranet,https://contoso.sharepoint.com/sites/intra,https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png,637696294610000000,false,1,[],false,184644fb-90ed-4841-a7ad-6930cf819060,,,1e1232eb-1a78-4726-8bb9-56af3640228d,"[""af80c11f-0138-4d72-bb37-514542c3aabb""]",4d128b52-7228-46b5-8765-5b338476054d,1
91
+ ```
92
+
36
93
  ## More information
37
94
 
38
95
  - SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
@@ -62,6 +62,95 @@ Get information about the hub site with URL _https://contoso.sharepoint.com/site
62
62
  m365 spo hubsite get --url "https://contoso.sharepoint.com/sites/HubSite"
63
63
  ```
64
64
 
65
+ ## Response
66
+
67
+ ### Standard response
68
+
69
+ === "JSON"
70
+
71
+ ```json
72
+ {
73
+ "Description": "Intranet Hub Site",
74
+ "EnablePermissionsSync": false,
75
+ "EnforcedECTs": null,
76
+ "EnforcedECTsVersion": 0,
77
+ "HideNameInNavigation": false,
78
+ "ID": "af80c11f-0138-4d72-bb37-514542c3aabb",
79
+ "LogoUrl": "https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png",
80
+ "ParentHubSiteId": "ec78f3aa-5a74-4f16-be49-3396df045f34",
81
+ "PermissionsSyncTag": 0,
82
+ "RequiresJoinApproval": false,
83
+ "SiteDesignId": "184644fb-90ed-4841-a7ad-6930cf819060",
84
+ "SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
85
+ "SiteUrl": "https://contoso.sharepoint.com/sites/intra",
86
+ "Targets": null,
87
+ "TenantInstanceId": "5d128b52-7228-46b5-8765-5b338476054d",
88
+ "Title": "Intranet"
89
+ }
90
+ ```
91
+
92
+ === "Text"
93
+
94
+ ```text
95
+ Description : Intranet Hub Site
96
+ EnablePermissionsSync: false
97
+ EnforcedECTs : null
98
+ EnforcedECTsVersion : 0
99
+ HideNameInNavigation : false
100
+ ID : af80c11f-0138-4d72-bb37-514542c3aabb
101
+ LogoUrl : https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png
102
+ ParentHubSiteId : ec78f3aa-5a74-4f16-be49-3396df045f34
103
+ PermissionsSyncTag : 0
104
+ RequiresJoinApproval : false
105
+ SiteDesignId : 184644fb-90ed-4841-a7ad-6930cf819060
106
+ SiteId : af80c11f-0138-4d72-bb37-514542c3aabb
107
+ SiteUrl : https://contoso.sharepoint.com/sites/intra
108
+ Targets : null
109
+ TenantInstanceId : 5d128b52-7228-46b5-8765-5b338476054d
110
+ Title : Intranet
111
+ ```
112
+
113
+ === "CSV"
114
+
115
+ ```csv
116
+ Description,EnablePermissionsSync,EnforcedECTs,EnforcedECTsVersion,HideNameInNavigation,ID,LogoUrl,ParentHubSiteId,PermissionsSyncTag,RequiresJoinApproval,SiteDesignId,SiteId,SiteUrl,Targets,TenantInstanceId,Title
117
+ Intranet Hub Site,false,,0,false,af80c11f-0138-4d72-bb37-514542c3aabb,https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png,ec78f3aa-5a74-4f16-be49-3396df045f34,0,false,184644fb-90ed-4841-a7ad-6930cf819060,af80c11f-0138-4d72-bb37-514542c3aabb,https://contoso.sharepoint.com/sites/intra,,5d128b52-7228-46b5-8765-5b338476054d,Intranet
118
+ ```
119
+
120
+ ### `includeAssociatedSites` response
121
+
122
+ When we make use of the option `includeAssociatedSites` the response will differ. This command can only be executed using --output json or an error will be thrown.
123
+
124
+ === "JSON"
125
+
126
+ ```json
127
+ {
128
+ "Description": "Intranet Hub Site",
129
+ "EnablePermissionsSync": false,
130
+ "EnforcedECTs": null,
131
+ "EnforcedECTsVersion": 0,
132
+ "HideNameInNavigation": false,
133
+ "ID": "af80c11f-0138-4d72-bb37-514542c3aabb",
134
+ "LogoUrl": "https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png",
135
+ "ParentHubSiteId": "ec78f3aa-5a74-4f16-be49-3396df045f34",
136
+ "PermissionsSyncTag": 0,
137
+ "RequiresJoinApproval": false,
138
+ "SiteDesignId": "184644fb-90ed-4841-a7ad-6930cf819060",
139
+ "SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
140
+ "SiteUrl": "https://contoso.sharepoint.com/sites/intra",
141
+ "Targets": null,
142
+ "TenantInstanceId": "5d128b52-7228-46b5-8765-5b338476054d",
143
+ "Title": "Intranet",
144
+ "AssociatedSites": [
145
+ {
146
+ "Title": "About Us",
147
+ "SiteId": "1e1232eb-1a78-4726-8bb9-56af3640228d",
148
+ "SiteUrl": "https://contoso.sharepoint.com/sites/about-us"
149
+ }
150
+ ]
151
+ }
152
+ ```
153
+
65
154
  ## More information
66
155
 
67
156
  - SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)