@pnp/cli-microsoft365 5.9.0 → 6.0.0-beta.01ba480

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 (335) hide show
  1. package/dist/Auth.js +1 -2
  2. package/dist/m365/aad/commands/app/app-add.js +4 -5
  3. package/dist/m365/aad/commands/app/app-remove.js +0 -4
  4. package/dist/m365/aad/commands/app/app-role-remove.js +0 -4
  5. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +11 -11
  6. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +10 -10
  7. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +10 -10
  8. package/dist/m365/aad/commands/o365group/o365group-add.js +2 -7
  9. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
  10. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +0 -3
  11. package/dist/m365/aad/commands/o365group/o365group-teamify.js +7 -7
  12. package/dist/m365/aad/commands/policy/policy-list.js +6 -6
  13. package/dist/m365/aad/commands/sp/sp-get.js +12 -12
  14. package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
  15. package/dist/m365/aad/commands.js +1 -3
  16. package/dist/m365/cli/commands/config/config-set.js +0 -1
  17. package/dist/m365/flow/commands/flow-disable.js +2 -2
  18. package/dist/m365/flow/commands/flow-enable.js +2 -2
  19. package/dist/m365/flow/commands/flow-export.js +5 -5
  20. package/dist/m365/flow/commands/flow-get.js +2 -2
  21. package/dist/m365/flow/commands/flow-list.js +2 -2
  22. package/dist/m365/flow/commands/flow-remove.js +3 -3
  23. package/dist/m365/flow/commands/run/run-cancel.js +6 -6
  24. package/dist/m365/flow/commands/run/run-get.js +4 -4
  25. package/dist/m365/flow/commands/run/run-list.js +4 -4
  26. package/dist/m365/flow/commands/run/run-resubmit.js +7 -7
  27. package/dist/m365/outlook/commands/mail/mail-send.js +0 -3
  28. package/dist/m365/outlook/commands/message/message-get.js +97 -0
  29. package/dist/m365/outlook/commands/message/message-move.js +2 -2
  30. package/dist/m365/outlook/commands.js +2 -2
  31. package/dist/m365/pa/commands/connector/connector-export.js +3 -3
  32. package/dist/m365/pa/commands/connector/connector-list.js +2 -2
  33. package/dist/m365/pa/commands/solution/solution-reference-add.js +7 -7
  34. package/dist/m365/planner/commands/bucket/bucket-add.js +2 -9
  35. package/dist/m365/planner/commands/bucket/bucket-get.js +4 -11
  36. package/dist/m365/planner/commands/bucket/bucket-list.js +2 -9
  37. package/dist/m365/planner/commands/bucket/bucket-remove.js +4 -11
  38. package/dist/m365/planner/commands/bucket/bucket-set.js +4 -11
  39. package/dist/m365/planner/commands/plan/plan-get.js +5 -24
  40. package/dist/m365/planner/commands/task/task-add.js +3 -8
  41. package/dist/m365/planner/commands/task/task-get.js +5 -19
  42. package/dist/m365/planner/commands/task/task-list.js +4 -11
  43. package/dist/m365/planner/commands/task/task-set.js +5 -10
  44. package/dist/m365/planner/commands.js +0 -2
  45. package/dist/m365/spfx/commands/package/package-generate.js +2 -2
  46. package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +1 -1
  47. package/dist/m365/spo/commands/app/app-add.js +7 -7
  48. package/dist/m365/spo/commands/app/app-deploy.js +7 -7
  49. package/dist/m365/spo/commands/app/app-get.js +7 -7
  50. package/dist/m365/spo/commands/app/app-install.js +6 -6
  51. package/dist/m365/spo/commands/app/app-list.js +7 -7
  52. package/dist/m365/spo/commands/app/app-remove.js +7 -7
  53. package/dist/m365/spo/commands/app/app-retract.js +7 -7
  54. package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
  55. package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
  56. package/dist/m365/spo/commands/apppage/apppage-set.js +2 -2
  57. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +7 -7
  58. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +7 -7
  59. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +13 -13
  60. package/dist/m365/spo/commands/customaction/customaction-add.js +3 -3
  61. package/dist/m365/spo/commands/customaction/customaction-clear.js +3 -3
  62. package/dist/m365/spo/commands/customaction/customaction-get.js +5 -4
  63. package/dist/m365/spo/commands/customaction/customaction-list.js +5 -4
  64. package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -5
  65. package/dist/m365/spo/commands/customaction/customaction-set.js +3 -3
  66. package/dist/m365/spo/commands/feature/feature-disable.js +4 -4
  67. package/dist/m365/spo/commands/feature/feature-enable.js +5 -5
  68. package/dist/m365/spo/commands/feature/feature-list.js +3 -3
  69. package/dist/m365/spo/commands/field/field-get.js +1 -7
  70. package/dist/m365/spo/commands/field/field-remove.js +1 -7
  71. package/dist/m365/spo/commands/field/field-set.js +1 -8
  72. package/dist/m365/spo/commands/file/file-checkin.js +5 -5
  73. package/dist/m365/spo/commands/file/file-checkout.js +5 -5
  74. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +13 -13
  75. package/dist/m365/spo/commands/folder/folder-get.js +6 -6
  76. package/dist/m365/spo/commands/folder/folder-remove.js +3 -3
  77. package/dist/m365/spo/commands/folder/folder-rename.js +4 -4
  78. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
  79. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
  80. package/dist/m365/spo/commands/hubsite/hubsite-register.js +4 -4
  81. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +4 -4
  82. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +5 -5
  83. package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +4 -4
  84. package/dist/m365/spo/commands/list/list-contenttype-add.js +4 -4
  85. package/dist/m365/spo/commands/list/list-contenttype-remove.js +5 -5
  86. package/dist/m365/spo/commands/list/list-list.js +3 -13
  87. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +50 -29
  88. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +46 -25
  89. package/dist/m365/spo/commands/list/list-view-field-add.js +20 -20
  90. package/dist/m365/spo/commands/list/list-view-field-remove.js +11 -11
  91. package/dist/m365/spo/commands/list/list-view-field-set.js +15 -15
  92. package/dist/m365/spo/commands/list/list-view-get.js +9 -9
  93. package/dist/m365/spo/commands/list/list-view-remove.js +11 -11
  94. package/dist/m365/spo/commands/list/list-view-set.js +11 -11
  95. package/dist/m365/spo/commands/list/list-webhook-list.js +4 -28
  96. package/dist/m365/spo/commands/listitem/listitem-list.js +3 -28
  97. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +4 -4
  98. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +4 -4
  99. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +50 -29
  100. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +48 -24
  101. package/dist/m365/spo/commands/page/page-column-get.js +2 -2
  102. package/dist/m365/spo/commands/page/page-column-list.js +2 -2
  103. package/dist/m365/spo/commands/page/page-control-get.js +4 -4
  104. package/dist/m365/spo/commands/page/page-control-list.js +3 -3
  105. package/dist/m365/spo/commands/page/page-control-set.js +3 -3
  106. package/dist/m365/spo/commands/page/page-section-add.js +2 -2
  107. package/dist/m365/spo/commands/page/page-section-get.js +2 -2
  108. package/dist/m365/spo/commands/page/page-section-list.js +2 -2
  109. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
  110. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +2 -2
  111. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +4 -4
  112. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +4 -4
  113. package/dist/m365/spo/commands/site/site-add.js +4 -11
  114. package/dist/m365/spo/commands/site/site-appcatalog-add.js +3 -3
  115. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +3 -3
  116. package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -2
  117. package/dist/m365/spo/commands/site/site-apppermission-remove.js +5 -5
  118. package/dist/m365/spo/commands/site/site-apppermission-set.js +5 -5
  119. package/dist/m365/spo/commands/site/site-chrome-set.js +3 -3
  120. package/dist/m365/spo/commands/site/site-ensure.js +1 -1
  121. package/dist/m365/spo/commands/site/site-groupify.js +3 -3
  122. package/dist/m365/spo/commands/{hubsite/hubsite-connect.js → site/site-hubsite-connect.js} +17 -17
  123. package/dist/m365/spo/commands/{hubsite/hubsite-disconnect.js → site/site-hubsite-disconnect.js} +18 -18
  124. package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
  125. package/dist/m365/spo/commands/site/site-list.js +6 -17
  126. package/dist/m365/spo/commands/site/site-rename.js +9 -9
  127. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +4 -4
  128. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +4 -4
  129. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +5 -5
  130. package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +4 -4
  131. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +5 -5
  132. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +5 -5
  133. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +3 -3
  134. package/dist/m365/spo/commands/web/web-add.js +4 -4
  135. package/dist/m365/spo/commands/web/web-get.js +3 -3
  136. package/dist/m365/spo/commands/web/web-list.js +4 -4
  137. package/dist/m365/spo/commands/web/web-reindex.js +8 -8
  138. package/dist/m365/spo/commands/web/web-remove.js +5 -5
  139. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +41 -15
  140. package/dist/m365/spo/commands/web/web-set.js +4 -4
  141. package/dist/m365/spo/commands.js +3 -6
  142. package/dist/m365/teams/commands/app/app-install.js +4 -4
  143. package/dist/m365/teams/commands/app/app-uninstall.js +3 -3
  144. package/dist/m365/teams/commands/channel/channel-get.js +10 -10
  145. package/dist/m365/teams/commands/channel/channel-member-add.js +0 -4
  146. package/dist/m365/teams/commands/channel/channel-member-list.js +0 -4
  147. package/dist/m365/teams/commands/channel/channel-member-remove.js +0 -4
  148. package/dist/m365/teams/commands/channel/channel-remove.js +16 -16
  149. package/dist/m365/teams/commands/channel/channel-set.js +7 -7
  150. package/dist/m365/teams/commands/message/message-get.js +3 -3
  151. package/dist/m365/teams/commands/tab/tab-get.js +10 -10
  152. package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
  153. package/dist/m365/teams/commands/team/team-archive.js +3 -13
  154. package/dist/m365/teams/commands/team/team-clone.js +3 -20
  155. package/dist/m365/teams/commands/team/team-remove.js +5 -17
  156. package/dist/m365/teams/commands/team/team-set.js +1 -20
  157. package/dist/m365/teams/commands/team/team-unarchive.js +4 -16
  158. package/dist/m365/teams/commands/user/user-app-add.js +4 -4
  159. package/dist/m365/teams/commands/user/user-app-remove.js +3 -3
  160. package/dist/m365/teams/commands.js +0 -3
  161. package/dist/m365/viva/commands/connections/connections-app-create.js +9 -9
  162. package/dist/m365/yammer/commands/group/group-user-add.js +8 -8
  163. package/dist/m365/yammer/commands/group/group-user-remove.js +11 -11
  164. package/dist/m365/yammer/commands/message/message-like-set.js +5 -5
  165. package/dist/m365/yammer/commands/user/user-get.js +5 -5
  166. package/dist/settingsNames.js +0 -1
  167. package/docs/docs/_clisettings.md +1 -2
  168. package/docs/docs/cmd/aad/app/app-remove.md +0 -6
  169. package/docs/docs/cmd/aad/app/app-role-remove.md +0 -6
  170. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
  171. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.md +5 -5
  172. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +5 -5
  173. package/docs/docs/cmd/aad/o365group/o365group-add.md +3 -3
  174. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.md +7 -7
  175. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +0 -6
  176. package/docs/docs/cmd/aad/o365group/o365group-teamify.md +4 -4
  177. package/docs/docs/cmd/aad/policy/policy-list.md +2 -2
  178. package/docs/docs/cmd/aad/sp/sp-get.md +5 -5
  179. package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
  180. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +3 -0
  181. package/docs/docs/cmd/flow/flow-disable.md +3 -3
  182. package/docs/docs/cmd/flow/flow-enable.md +1 -1
  183. package/docs/docs/cmd/flow/flow-export.md +5 -5
  184. package/docs/docs/cmd/flow/flow-get.md +3 -3
  185. package/docs/docs/cmd/flow/flow-list.md +3 -3
  186. package/docs/docs/cmd/flow/flow-remove.md +5 -5
  187. package/docs/docs/cmd/flow/run/run-cancel.md +3 -3
  188. package/docs/docs/cmd/flow/run/run-get.md +3 -3
  189. package/docs/docs/cmd/flow/run/run-list.md +3 -3
  190. package/docs/docs/cmd/flow/run/run-resubmit.md +4 -4
  191. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
  192. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
  193. package/docs/docs/cmd/outlook/mail/mail-send.md +0 -6
  194. package/docs/docs/cmd/outlook/message/message-get.md +48 -0
  195. package/docs/docs/cmd/outlook/message/message-move.md +4 -4
  196. package/docs/docs/cmd/pa/connector/connector-export.md +3 -3
  197. package/docs/docs/cmd/pa/connector/connector-list.md +2 -2
  198. package/docs/docs/cmd/pa/solution/solution-reference-add.md +2 -2
  199. package/docs/docs/cmd/planner/bucket/bucket-add.md +0 -3
  200. package/docs/docs/cmd/planner/bucket/bucket-get.md +0 -3
  201. package/docs/docs/cmd/planner/bucket/bucket-list.md +0 -3
  202. package/docs/docs/cmd/planner/bucket/bucket-remove.md +0 -3
  203. package/docs/docs/cmd/planner/bucket/bucket-set.md +0 -3
  204. package/docs/docs/cmd/planner/plan/plan-get.md +0 -12
  205. package/docs/docs/cmd/planner/task/task-add.md +0 -3
  206. package/docs/docs/cmd/planner/task/task-get.md +0 -6
  207. package/docs/docs/cmd/planner/task/task-list.md +0 -3
  208. package/docs/docs/cmd/planner/task/task-set.md +0 -3
  209. package/docs/docs/cmd/spfx/package/package-generate.md +2 -2
  210. package/docs/docs/cmd/spo/app/app-add.md +2 -2
  211. package/docs/docs/cmd/spo/app/app-deploy.md +2 -2
  212. package/docs/docs/cmd/spo/app/app-get.md +2 -2
  213. package/docs/docs/cmd/spo/app/app-install.md +2 -2
  214. package/docs/docs/cmd/spo/app/app-list.md +2 -2
  215. package/docs/docs/cmd/spo/app/app-remove.md +2 -2
  216. package/docs/docs/cmd/spo/app/app-retract.md +2 -2
  217. package/docs/docs/cmd/spo/app/app-uninstall.md +2 -2
  218. package/docs/docs/cmd/spo/app/app-upgrade.md +2 -2
  219. package/docs/docs/cmd/spo/apppage/apppage-set.md +2 -2
  220. package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
  221. package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
  222. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.md +4 -4
  223. package/docs/docs/cmd/spo/customaction/customaction-add.md +13 -10
  224. package/docs/docs/cmd/spo/customaction/customaction-clear.md +4 -4
  225. package/docs/docs/cmd/spo/customaction/customaction-get.md +5 -5
  226. package/docs/docs/cmd/spo/customaction/customaction-list.md +4 -4
  227. package/docs/docs/cmd/spo/customaction/customaction-remove.md +9 -9
  228. package/docs/docs/cmd/spo/customaction/customaction-set.md +10 -9
  229. package/docs/docs/cmd/spo/feature/feature-disable.md +4 -4
  230. package/docs/docs/cmd/spo/feature/feature-enable.md +2 -2
  231. package/docs/docs/cmd/spo/feature/feature-list.md +3 -3
  232. package/docs/docs/cmd/spo/field/field-get.md +0 -3
  233. package/docs/docs/cmd/spo/field/field-remove.md +0 -3
  234. package/docs/docs/cmd/spo/field/field-set.md +4 -4
  235. package/docs/docs/cmd/spo/file/file-checkin.md +6 -6
  236. package/docs/docs/cmd/spo/file/file-checkout.md +4 -4
  237. package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +7 -7
  238. package/docs/docs/cmd/spo/folder/folder-get.md +3 -3
  239. package/docs/docs/cmd/spo/folder/folder-remove.md +3 -3
  240. package/docs/docs/cmd/spo/folder/folder-rename.md +2 -2
  241. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
  242. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
  243. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
  244. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +4 -4
  245. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +3 -3
  246. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +2 -2
  247. package/docs/docs/cmd/spo/list/list-contenttype-add.md +4 -4
  248. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +4 -4
  249. package/docs/docs/cmd/spo/list/list-list.md +0 -3
  250. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -0
  251. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +9 -0
  252. package/docs/docs/cmd/spo/list/list-view-field-add.md +8 -8
  253. package/docs/docs/cmd/spo/list/list-view-field-remove.md +6 -6
  254. package/docs/docs/cmd/spo/list/list-view-field-set.md +7 -7
  255. package/docs/docs/cmd/spo/list/list-view-get.md +7 -7
  256. package/docs/docs/cmd/spo/list/list-view-remove.md +8 -8
  257. package/docs/docs/cmd/spo/list/list-view-set.md +20 -9
  258. package/docs/docs/cmd/spo/list/list-webhook-list.md +3 -9
  259. package/docs/docs/cmd/spo/listitem/listitem-list.md +0 -6
  260. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +5 -5
  261. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +3 -3
  262. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +9 -0
  263. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +5 -2
  264. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +5 -10
  265. package/docs/docs/cmd/spo/page/page-column-get.md +3 -3
  266. package/docs/docs/cmd/spo/page/page-column-list.md +3 -3
  267. package/docs/docs/cmd/spo/page/page-control-get.md +3 -3
  268. package/docs/docs/cmd/spo/page/page-control-list.md +3 -3
  269. package/docs/docs/cmd/spo/page/page-control-set.md +6 -5
  270. package/docs/docs/cmd/spo/page/page-section-add.md +3 -3
  271. package/docs/docs/cmd/spo/page/page-section-get.md +3 -3
  272. package/docs/docs/cmd/spo/page/page-section-list.md +3 -3
  273. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +2 -2
  274. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +2 -2
  275. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +2 -2
  276. package/docs/docs/cmd/spo/site/site-add.md +2 -5
  277. package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -2
  278. package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +2 -2
  279. package/docs/docs/cmd/spo/site/site-apppermission-get.md +2 -2
  280. package/docs/docs/cmd/spo/site/site-apppermission-remove.md +2 -2
  281. package/docs/docs/cmd/spo/site/site-apppermission-set.md +5 -5
  282. package/docs/docs/cmd/spo/site/site-chrome-set.md +4 -4
  283. package/docs/docs/cmd/spo/site/site-groupify.md +5 -11
  284. package/docs/docs/cmd/spo/{hubsite/hubsite-connect.md → site/site-hubsite-connect.md} +7 -7
  285. package/docs/docs/cmd/spo/{hubsite/hubsite-disconnect.md → site/site-hubsite-disconnect.md} +8 -8
  286. package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
  287. package/docs/docs/cmd/spo/site/site-list.md +6 -6
  288. package/docs/docs/cmd/spo/site/site-rename.md +6 -6
  289. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.md +4 -4
  290. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.md +3 -3
  291. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.md +3 -3
  292. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.md +2 -2
  293. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.md +5 -5
  294. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
  295. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +6 -3
  296. package/docs/docs/cmd/spo/term/term-add.md +5 -0
  297. package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
  298. package/docs/docs/cmd/spo/web/web-add.md +4 -4
  299. package/docs/docs/cmd/spo/web/web-get.md +3 -3
  300. package/docs/docs/cmd/spo/web/web-list.md +2 -2
  301. package/docs/docs/cmd/spo/web/web-reindex.md +2 -2
  302. package/docs/docs/cmd/spo/web/web-remove.md +2 -2
  303. package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +9 -0
  304. package/docs/docs/cmd/spo/web/web-set.md +9 -9
  305. package/docs/docs/cmd/teams/app/app-install.md +5 -5
  306. package/docs/docs/cmd/teams/app/app-uninstall.md +3 -3
  307. package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
  308. package/docs/docs/cmd/teams/channel/channel-member-add.md +0 -6
  309. package/docs/docs/cmd/teams/channel/channel-member-list.md +0 -6
  310. package/docs/docs/cmd/teams/channel/channel-member-remove.md +0 -6
  311. package/docs/docs/cmd/teams/channel/channel-remove.md +7 -7
  312. package/docs/docs/cmd/teams/channel/channel-set.md +4 -4
  313. package/docs/docs/cmd/teams/message/message-get.md +3 -3
  314. package/docs/docs/cmd/teams/tab/tab-get.md +6 -6
  315. package/docs/docs/cmd/teams/tab/tab-remove.md +4 -4
  316. package/docs/docs/cmd/teams/team/team-archive.md +0 -3
  317. package/docs/docs/cmd/teams/team/team-clone.md +0 -6
  318. package/docs/docs/cmd/teams/team/team-remove.md +0 -3
  319. package/docs/docs/cmd/teams/team/team-set.md +0 -6
  320. package/docs/docs/cmd/teams/team/team-unarchive.md +0 -3
  321. package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
  322. package/docs/docs/cmd/teams/user/user-app-remove.md +3 -3
  323. package/docs/docs/cmd/viva/connections/connections-app-create.md +2 -2
  324. package/docs/docs/cmd/yammer/group/group-user-add.md +5 -5
  325. package/docs/docs/cmd/yammer/group/group-user-remove.md +5 -5
  326. package/docs/docs/cmd/yammer/message/message-like-set.md +4 -4
  327. package/docs/docs/cmd/yammer/user/user-get.md +2 -2
  328. package/npm-shrinkwrap.json +2 -2
  329. package/package.json +1 -1
  330. package/dist/m365/spo/commands/site/site-classic-add.js +0 -328
  331. package/dist/m365/spo/commands/site/site-classic-list.js +0 -115
  332. package/dist/m365/spo/commands/site/site-classic-set.js +0 -351
  333. package/docs/docs/cmd/spo/site/site-classic-add.md +0 -93
  334. package/docs/docs/cmd/spo/site/site-classic-list.md +0 -68
  335. package/docs/docs/cmd/spo/site/site-classic-set.md +0 -102
@@ -13,7 +13,7 @@ m365 spo folder rename [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : The URL of the site where the folder to be renamed is located
15
15
 
16
- `-f, --folderUrl <folderUrl>`
16
+ `-f, --url <url>`
17
17
  : Site-relative URL of the folder (including the folder)
18
18
 
19
19
  `-n, --name`
@@ -26,5 +26,5 @@ m365 spo folder rename [options]
26
26
  Renames a folder with site-relative URL _/Shared Documents/My Folder 1_ located in site _https://contoso.sharepoint.com/sites/project-x_
27
27
 
28
28
  ```sh
29
- m365 spo folder rename --webUrl https://contoso.sharepoint.com/sites/project-x --folderUrl '/Shared Documents/My Folder 1' --name 'My Folder 2'
29
+ m365 spo folder rename --webUrl https://contoso.sharepoint.com/sites/project-x --url '/Shared Documents/My Folder 1' --name 'My Folder 2'
30
30
  ```
@@ -37,3 +37,9 @@ Break the inheritance of a folder with a specified server-relative URL. It will
37
37
  ```sh
38
38
  m365 spo folder roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents/TestFolder" --clearExistingPermissions --confirm
39
39
  ```
40
+
41
+ Break the inheritance of the specified root folder for the library with a specified server-relative URL. It will clear the existing permissions of the root folder. It will **not** prompt for confirmation before breaking the inheritance.
42
+
43
+ ```sh
44
+ m365 spo folder roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents" --clearExistingPermissions --confirm
45
+ ```
@@ -34,3 +34,9 @@ Reset inheritance of folder with server-relative url _/sites/project-x/Shared Do
34
34
  ```sh
35
35
  m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents/TestFolder" --confirm
36
36
  ```
37
+
38
+ Reset inheritance of the specified root folder for the library with the server-relative url _/sites/project-x/Shared Documents located in site _https://contoso.sharepoint.com/sites/project-x_. It will **not** prompt for confirmation before resetting.
39
+
40
+ ```sh
41
+ m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents" --confirm
42
+ ```
@@ -10,7 +10,7 @@ m365 spo hubsite register [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-u, --url <url>`
13
+ `-u, --siteUrl <siteUrl>`
14
14
  : URL of the site collection to register as a hub site
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
@@ -27,7 +27,7 @@ If the specified site collection is already registered as a hub site, you will g
27
27
  Register the site collection with URL _https://contoso.sharepoint.com/sites/sales_ as a hub site
28
28
 
29
29
  ```sh
30
- m365 spo hubsite register --url https://contoso.sharepoint.com/sites/sales
30
+ m365 spo hubsite register --siteUrl https://contoso.sharepoint.com/sites/sales
31
31
  ```
32
32
 
33
33
  ## More information
@@ -10,7 +10,7 @@ m365 spo hubsite rights grant [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-u, --url <url>`
13
+ `-u, --hubSiteUrl <hubSiteUrl>`
14
14
  : The URL of the hub site to grant rights on
15
15
 
16
16
  `-p, --principals <principals>`
@@ -34,19 +34,19 @@ m365 spo hubsite rights grant [options]
34
34
  Grant user with alias _PattiF_ permission to join sites to the hub site with URL _https://contoso.sharepoint.com/sites/sales_
35
35
 
36
36
  ```sh
37
- m365 spo hubsite rights grant --url https://contoso.sharepoint.com/sites/sales --principals PattiF --rights Join
37
+ m365 spo hubsite rights grant --hubSiteUrl https://contoso.sharepoint.com/sites/sales --principals PattiF --rights Join
38
38
  ```
39
39
 
40
40
  Grant users with aliases _PattiF_ and _AdeleV_ permission to join sites to the hub site with URL _https://contoso.sharepoint.com/sites/sales_
41
41
 
42
42
  ```sh
43
- m365 spo hubsite rights grant --url https://contoso.sharepoint.com/sites/sales --principals "PattiF,AdeleV" --rights Join
43
+ m365 spo hubsite rights grant --hubSiteUrl https://contoso.sharepoint.com/sites/sales --principals "PattiF,AdeleV" --rights Join
44
44
  ```
45
45
 
46
46
  Grant user with email _PattiF@contoso.com_ permission to join sites to the hub site with URL _https://contoso.sharepoint.com/sites/sales_
47
47
 
48
48
  ```sh
49
- m365 spo hubsite rights grant --url https://contoso.sharepoint.com/sites/sales --principals PattiF@contoso.com --rights Join
49
+ m365 spo hubsite rights grant --hubSiteUrl https://contoso.sharepoint.com/sites/sales --principals PattiF@contoso.com --rights Join
50
50
  ```
51
51
 
52
52
  ## More information
@@ -10,7 +10,7 @@ m365 spo hubsite rights revoke [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-u, --url <url>`
13
+ `-u, --hubSiteUrl <hubSiteUrl>`
14
14
  : The URL of the hub site to revoke rights on
15
15
 
16
16
  `-p, --principals <principals>`
@@ -34,13 +34,13 @@ m365 spo hubsite rights revoke [options]
34
34
  Revoke rights to join sites to the hub site with URL _https://contoso.sharepoint.com/sites/sales_ from user with alias _PattiF_. Will prompt for confirmation before revoking the rights
35
35
 
36
36
  ```sh
37
- m365 spo hubsite rights revoke --url https://contoso.sharepoint.com/sites/sales --principals PattiF
37
+ m365 spo hubsite rights revoke --hubSiteUrl https://contoso.sharepoint.com/sites/sales --principals PattiF
38
38
  ```
39
39
 
40
40
  Revoke rights to join sites to the hub site with URL _https://contoso.sharepoint.com/sites/sales_ from user with aliases _PattiF_ and _AdeleV_ without prompting for confirmation
41
41
 
42
42
  ```sh
43
- m365 spo hubsite rights revoke --url https://contoso.sharepoint.com/sites/sales --principals "PattiF,AdeleV" --confirm
43
+ m365 spo hubsite rights revoke --hubSiteUrl https://contoso.sharepoint.com/sites/sales --principals "PattiF,AdeleV" --confirm
44
44
  ```
45
45
 
46
46
  ## More information
@@ -10,7 +10,7 @@ m365 spo knowledgehub set [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-u, --url <url>`
13
+ `-u, --siteUrl <siteUrl>`
14
14
  : URL of the site to set as Knowledge Hub
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
@@ -27,5 +27,5 @@ If the specified url doesn't refer to an existing site collection, you will get
27
27
  Sets the Knowledge Hub Site for your tenant
28
28
 
29
29
  ```sh
30
- m365 spo knowledgehub set --url https://contoso.sharepoint.com/sites/knowledgesite
30
+ m365 spo knowledgehub set --siteUrl https://contoso.sharepoint.com/sites/knowledgesite
31
31
  ```
@@ -22,8 +22,8 @@ m365 spo list contenttype add [options]
22
22
  `--listUrl [listUrl]`
23
23
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`.
24
24
 
25
- `-c, --contentTypeId <contentTypeId>`
26
- : ID of the content type
25
+ `-i, --id <id>`
26
+ : ID of the content type to add to the list
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
@@ -32,13 +32,13 @@ m365 spo list contenttype add [options]
32
32
  Adds a specific existing content type to a list retrieved by id in a specific site.
33
33
 
34
34
  ```sh
35
- m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --contentTypeId 0x0120
35
+ m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id 0x0120
36
36
  ```
37
37
 
38
38
  Adds a specific existing content type to a list retrieved by title in a specific site.
39
39
 
40
40
  ```sh
41
- m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --contentTypeId 0x0120
41
+ m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --id 0x0120
42
42
  ```
43
43
 
44
44
  Adds a specific existing content type to a list retrieved by server relative URL in a specific site.
@@ -22,8 +22,8 @@ m365 spo list contenttype remove [options]
22
22
  `--listUrl [listUrl]`
23
23
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`.
24
24
 
25
- `-c, --contentTypeId <contentTypeId>`
26
- : ID of the content type
25
+ `-i, --id <id>`
26
+ : ID of the content type to remove from the list
27
27
 
28
28
  `--confirm`
29
29
  : Don't prompt for confirmation
@@ -35,13 +35,13 @@ m365 spo list contenttype remove [options]
35
35
  Remove content type with a specific id from the list retrieved by id in a specific site.
36
36
 
37
37
  ```sh
38
- m365 spo list contenttype remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --contentTypeId 0x010109010053EE7AEB1FC54A41B4D9F66ADBDC312A
38
+ m365 spo list contenttype remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id 0x010109010053EE7AEB1FC54A41B4D9F66ADBDC312A
39
39
  ```
40
40
 
41
41
  Remove content type with a specific id from the list retrieved by title in a specific site.
42
42
 
43
43
  ```sh
44
- m365 spo list contenttype remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --contentTypeId 0x010109010053EE7AEB1FC54A41B4D9F66ADBDC312A
44
+ m365 spo list contenttype remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --id 0x010109010053EE7AEB1FC54A41B4D9F66ADBDC312A
45
45
  ```
46
46
 
47
47
  Remove content type with a specific id from the list retrieved by server relative URL in a specific site. This will not prompt for confirmation.
@@ -13,9 +13,6 @@ m365 spo list list [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the lists to retrieve are located
15
15
 
16
- `--executeWithLimitedPermissions`
17
- : Use this option to execute this command with site member or visitor permissions. Not specifying this option will require site owner (or admin) permissions.
18
-
19
16
  --8<-- "docs/cmd/_global.md"
20
17
 
21
18
  ## Examples
@@ -25,6 +25,9 @@ m365 spo list roleinheritance break [options]
25
25
  `-c, --clearExistingPermissions`
26
26
  : Flag if used clears all roles from the list
27
27
 
28
+ `--confirm`
29
+ : Do not prompt for confirmation before breaking role inheritance.
30
+
28
31
  --8<-- "docs/cmd/_global.md"
29
32
 
30
33
  ## Remarks
@@ -56,3 +59,9 @@ Break inheritance of list by url in a specific site and clearing the existing pe
56
59
  ```sh
57
60
  m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listUrl '/sites/project-x/lists/events' --clearExistingPermissions
58
61
  ```
62
+
63
+ Break inheritance of list with ID _202b8199-b9de-43fd-9737-7f213f51c991_ located in site _https://contoso.sharepoint.com/sites/project-x_ with clearing permissions without prompting for confirmation
64
+
65
+ ```sh
66
+ m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "202b8199-b9de-43fd-9737-7f213f51c991" --clearExistingPermissions --confirm
67
+ ```
@@ -22,6 +22,9 @@ m365 spo list roleinheritance reset [options]
22
22
  `--listUrl [listUrl]`
23
23
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`.
24
24
 
25
+ `--confirm`
26
+ : Do not prompt for confirmation before resetting role inheritance.
27
+
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
27
30
  ## Examples
@@ -43,3 +46,9 @@ Restores role inheritance of a specific list by url in a specific site
43
46
  ```sh
44
47
  m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/lists/events'
45
48
  ```
49
+
50
+ Restores role inheritance of list a specific list by title without prompting for confirmation
51
+
52
+ ```sh
53
+ m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle test --confirm
54
+ ```
@@ -25,13 +25,13 @@ m365 spo list view field add [options]
25
25
  `--viewTitle [viewTitle]`
26
26
  : Title of the view to update. Specify `viewTitle` or `viewId` but not both
27
27
 
28
- `--fieldId [fieldId]`
29
- : ID of the field to add. Specify `fieldId` or `fieldTitle` but not both
28
+ `--id [id]`
29
+ : ID of the field to add. Specify `id` or `title` but not both
30
30
 
31
- `--fieldTitle [fieldTitle]`
32
- : The **case-sensitive** internal name or display name of the field to add. Specify `fieldId` or `fieldTitle` but not both
31
+ `--title [title]`
32
+ : The **case-sensitive** internal name or display name of the field to add. Specify `id` or `title` but not both
33
33
 
34
- `--fieldPosition [fieldPosition]`
34
+ `--position [position]`
35
35
  : The zero-based index of the position for the field
36
36
 
37
37
  --8<-- "docs/cmd/_global.md"
@@ -41,17 +41,17 @@ m365 spo list view field add [options]
41
41
  Add field with ID _330f29c5-5c4c-465f-9f4b-7903020ae1ce_ to view with ID _3d760127-982c-405e-9c93-e1f76e1a1110_ of the list with ID _1f187321-f086-4d3d-8523-517e94cc9df9_ located in site _https://contoso.sharepoint.com/sites/project-x_
42
42
 
43
43
  ```sh
44
- m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listId 1f187321-f086-4d3d-8523-517e94cc9df9 --viewId 3d760127-982c-405e-9c93-e1f76e1a1110 --fieldId 330f29c5-5c4c-465f-9f4b-7903020ae1ce
44
+ m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listId 1f187321-f086-4d3d-8523-517e94cc9df9 --viewId 3d760127-982c-405e-9c93-e1f76e1a1110 --id 330f29c5-5c4c-465f-9f4b-7903020ae1ce
45
45
  ```
46
46
 
47
47
  Add field with title _Custom field_ to view with title _All Documents_ of the list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
48
48
 
49
49
  ```sh
50
- m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle 'All Documents' --fieldTitle 'Custom field'
50
+ m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle 'All Documents' --title 'Custom field'
51
51
  ```
52
52
 
53
53
  Add field with title _Custom field_ at the position _0_ to view with title _All Documents_ of the list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
54
54
 
55
55
  ```sh
56
- m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle 'All Documents' --fieldTitle 'Custom field' --fieldPosition 0
56
+ m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle 'All Documents' --title 'Custom field' --position 0
57
57
  ```
@@ -25,11 +25,11 @@ m365 spo list view field remove [options]
25
25
  `--viewTitle [viewTitle]`
26
26
  : Title of the view to update. Specify `viewTitle` or `viewId` but not both
27
27
 
28
- `--fieldId [fieldId]`
29
- : ID of the field to remove. Specify fieldId or fieldTitle but not both
28
+ `--id [id]`
29
+ : ID of the field to remove. Specify id or title but not both
30
30
 
31
- `--fieldTitle [fieldTitle]`
32
- : The **case-sensitive** internal name or display name of the field to remove. Specify `fieldId` or `fieldTitle` but not both
31
+ `--title [title]`
32
+ : The **case-sensitive** internal name or display name of the field to remove. Specify `id` or `title` but not both
33
33
 
34
34
  --8<-- "docs/cmd/_global.md"
35
35
 
@@ -38,11 +38,11 @@ m365 spo list view field remove [options]
38
38
  Remove field with ID _330f29c5-5c4c-465f-9f4b-7903020ae1ce_ from view with ID _3d760127-982c-405e-9c93-e1f76e1a1110_ from the list with ID _1f187321-f086-4d3d-8523-517e94cc9df9_ located in site _https://contoso.sharepoint.com/sites/project-x_
39
39
 
40
40
  ```sh
41
- m365 spo list view field remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 1f187321-f086-4d3d-8523-517e94cc9df9 --viewId 3d760127-982c-405e-9c93-e1f76e1a1110 --fieldId 330f29c5-5c4c-465f-9f4b-7903020ae1ce
41
+ m365 spo list view field remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 1f187321-f086-4d3d-8523-517e94cc9df9 --viewId 3d760127-982c-405e-9c93-e1f76e1a1110 --id 330f29c5-5c4c-465f-9f4b-7903020ae1ce
42
42
  ```
43
43
 
44
44
  Remove field with title _Custom field_ from view with title _Custom view_ from the list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
45
45
 
46
46
  ```sh
47
- m365 spo list view field remove --webUrl https://contoso.sharepoint.com/sites/project-x --fieldTitle 'Custom field' --listTitle Documents --viewTitle 'Custom view'
47
+ m365 spo list view field remove --webUrl https://contoso.sharepoint.com/sites/project-x --title 'Custom field' --listTitle Documents --viewTitle 'Custom view'
48
48
  ```
@@ -25,13 +25,13 @@ m365 spo list view field set [options]
25
25
  `--viewTitle [viewTitle]`
26
26
  : Title of the view to update. Specify `viewTitle` or `viewId` but not both
27
27
 
28
- `--fieldId [fieldId]`
29
- : ID of the field to update. Specify `fieldId` or `fieldTitle` but not both
28
+ `--id [id]`
29
+ : ID of the field to update. Specify `id` or `title` but not both
30
30
 
31
- `--fieldTitle [fieldTitle]`
32
- : The **case-sensitive** internal name or display name of the field to update. Specify `fieldId` or `fieldTitle` but not both
31
+ `--title [title]`
32
+ : The **case-sensitive** internal name or display name of the field to update. Specify `id` or `title` but not both
33
33
 
34
- `--fieldPosition <fieldPosition>`
34
+ `--position <position>`
35
35
  : The zero-based index of the position to which to move the field
36
36
 
37
37
  --8<-- "docs/cmd/_global.md"
@@ -41,11 +41,11 @@ m365 spo list view field set [options]
41
41
  Move field with ID _330f29c5-5c4c-465f-9f4b-7903020ae1ce_ to the front in view with ID _3d760127-982c-405e-9c93-e1f76e1a1110_ of list with ID _1f187321-f086-4d3d-8523-517e94cc9df9_ located in site _https://contoso.sharepoint.com/sites/project-x_
42
42
 
43
43
  ```sh
44
- m365 spo list view field set --webUrl https://contoso.sharepoint.com/sites/project-x --listId 1f187321-f086-4d3d-8523-517e94cc9df9 --viewId 3d760127-982c-405e-9c93-e1f76e1a1110 --fieldId 330f29c5-5c4c-465f-9f4b-7903020ae1ce --fieldPosition 0
44
+ m365 spo list view field set --webUrl https://contoso.sharepoint.com/sites/project-x --listId 1f187321-f086-4d3d-8523-517e94cc9df9 --viewId 3d760127-982c-405e-9c93-e1f76e1a1110 --id 330f29c5-5c4c-465f-9f4b-7903020ae1ce --position 0
45
45
  ```
46
46
 
47
47
  Move field with title _Custom field_ to position _1_ in view with title _All Documents_ of the list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
48
48
 
49
49
  ```sh
50
- m365 spo list view field set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle 'All Documents' --fieldTitle 'Custom field' --fieldPosition 1
50
+ m365 spo list view field set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle 'All Documents' --title 'Custom field' --position 1
51
51
  ```
@@ -22,11 +22,11 @@ m365 spo list view get [options]
22
22
  `--listUrl [listUrl]`
23
23
  : Server- or web-relative URL of the list where the view is located. Specify only one of `listTitle`, `listId` or `listUrl`
24
24
 
25
- `--viewId [viewId]`
26
- : ID of the view to get. Specify `viewTitle` or `viewId` but not both
25
+ `--id [id]`
26
+ : ID of the view to get. Specify `title` or `id` but not both
27
27
 
28
- `--viewTitle [viewTitle]`
29
- : Title of the view to get. Specify `viewTitle` or `viewId` but not both
28
+ `--title [title]`
29
+ : Title of the view to get. Specify `title` or `id` but not both
30
30
 
31
31
  --8<-- "docs/cmd/_global.md"
32
32
 
@@ -35,17 +35,17 @@ m365 spo list view get [options]
35
35
  Gets a list view by name from a list located in site _https://contoso.sharepoint.com/sites/project-x_
36
36
 
37
37
  ```sh
38
- m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --viewTitle 'All Items'
38
+ m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --title 'All Items'
39
39
  ```
40
40
 
41
41
  Gets a list view by ID from a list located in site _https://contoso.sharepoint.com/sites/project-x_
42
42
 
43
43
  ```sh
44
- m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Lists/My List' --viewId 330f29c5-5c4c-465f-9f4b-7903020ae1ce
44
+ m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Lists/My List' --id 330f29c5-5c4c-465f-9f4b-7903020ae1ce
45
45
  ```
46
46
 
47
47
  Gets a list view by name from a list located in site _https://contoso.sharepoint.com/sites/project-x_. Retrieve the list by its ID
48
48
 
49
49
  ```sh
50
- m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listId 330f29c5-5c4c-465f-9f4b-7903020ae1c1 --viewTitle 'All Items'
50
+ m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listId 330f29c5-5c4c-465f-9f4b-7903020ae1c1 --title 'All Items'
51
51
  ```
@@ -19,11 +19,11 @@ m365 spo list view remove [options]
19
19
  `--listTitle [listTitle]`
20
20
  : Title of the list from which the view should be removed. Specify either `listId` or `listTitle` but not both
21
21
 
22
- `--viewId [viewId]`
23
- : ID of the view to remove. Specify either `viewId` or `viewTitle` but not both
22
+ `--id [id]`
23
+ : ID of the view to remove. Specify either `id` or `title` but not both
24
24
 
25
- `--viewTitle [viewTitle]`
26
- : Title of the view to remove. Specify either `viewId` or `viewTitle` but not both
25
+ `--title [title]`
26
+ : Title of the view to remove. Specify either `id` or `title` but not both
27
27
 
28
28
  `--confirm`
29
29
  : Don't prompt for confirming removing the view
@@ -35,23 +35,23 @@ m365 spo list view remove [options]
35
35
  Remove view with ID _cc27a922-8224-4296-90a5-ebbc54da2e81_ from the list with ID _0cd891ef-afce-4e55-b836-fce03286cccf_ located in site _https://contoso.sharepoint.com/sites/project-x_
36
36
 
37
37
  ```sh
38
- m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --viewId cc27a922-8224-4296-90a5-ebbc54da2e81
38
+ m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id cc27a922-8224-4296-90a5-ebbc54da2e81
39
39
  ```
40
40
 
41
41
  Remove view with ID _cc27a922-8224-4296-90a5-ebbc54da2e81_ from the list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
42
42
 
43
43
  ```sh
44
- m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewId cc27a922-8224-4296-90a5-ebbc54da2e81
44
+ m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --id cc27a922-8224-4296-90a5-ebbc54da2e81
45
45
  ```
46
46
 
47
47
  Remove view with title _MyView_ from a list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
48
48
 
49
49
  ```sh
50
- m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle MyView
50
+ m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --title MyView
51
51
  ```
52
52
 
53
53
  Remove view with ID _cc27a922-8224-4296-90a5-ebbc54da2e81_ from a list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_ without being asked for confirmation
54
54
 
55
55
  ```sh
56
- m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewId cc27a922-8224-4296-90a5-ebbc54da2e81 --confirm
56
+ m365 spo list view remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --id cc27a922-8224-4296-90a5-ebbc54da2e81 --confirm
57
57
  ```
@@ -19,11 +19,11 @@ m365 spo list view set [options]
19
19
  `--listTitle [listTitle]`
20
20
  : Title of the list where the view is located. Specify `listTitle` or `listId` but not both
21
21
 
22
- `--viewId [viewId]`
23
- : ID of the view to update. Specify `viewTitle` or `viewId` but not both
22
+ `--id [id]`
23
+ : ID of the view to update. Specify `title` or `id` but not both
24
24
 
25
- `--viewTitle [viewTitle]`
26
- : Title of the view to update. Specify `viewTitle` or `viewId` but not both
25
+ `--title [title]`
26
+ : Title of the view to update. Specify `title` or `id` but not both
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
@@ -33,22 +33,33 @@ Specify properties to update using their names, eg. `--Title 'New Title' --JSLin
33
33
 
34
34
  When updating list formatting, the value of the CustomFormatter property must be XML-escaped, eg. `&lt;` instead of `<`.
35
35
 
36
+ !!! warning "Escaping JSON in PowerShell"
37
+ When updating list view formatting for a view with the `--CustomFormatter` option, it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
38
+
36
39
  ## Examples
37
40
 
38
41
  Update the title of the list view specified by its name
39
42
 
40
43
  ```sh
41
- m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --viewTitle 'All items' --Title 'All events'
44
+ m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --title 'All items' --Title 'All events'
42
45
  ```
43
46
 
44
47
  Update the title of the list view specified by its ID
45
48
 
46
49
  ```sh
47
- m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --viewId 330f29c5-5c4c-465f-9f4b-7903020ae1ce --Title 'All events'
50
+ m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --id 330f29c5-5c4c-465f-9f4b-7903020ae1ce --Title 'All events'
48
51
  ```
49
52
 
50
53
  Update view formatting of the specified list view
51
54
 
52
- ```sh
53
- m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --viewTitle 'All items' --CustomFormatter '`{"schema":"https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json","additionalRowClass": "=if([$DueDate] &lt;= @now, 'sp-field-severity--severeWarning', '')"}`'
54
- ```
55
+ === "PowerShell"
56
+
57
+ ```sh
58
+ m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --viewTitle 'All items' --CustomFormatter '{\"schema\":\"https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json\",\"additionalRowClass\": \"=if([$DueDate] &lt;= @now, ''sp-field-severity--severeWarning'', '''')\"}'
59
+ ```
60
+
61
+ === "Bash"
62
+
63
+ ```sh
64
+ m365 spo list view set --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --viewTitle 'All items' --CustomFormatter "{\"schema\":\"https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json\",\"additionalRowClass\": \"=if([$DueDate] &lt;= @now, 'sp-field-severity--severeWarning', '')\"}"
65
+ ```
@@ -14,19 +14,13 @@ m365 spo list webhook list [options]
14
14
  : URL of the site where the list is located.
15
15
 
16
16
  `-i, --listId [listId]`
17
- : ID of the list. Specify either `id`, `title`, `listTitle`, `listId` or `listUrl`.
17
+ : ID of the list. Specify either `listTitle`, `listId` or `listUrl`.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
20
- : Title of the list. Specify either `id`, `title`, `listTitle`, `listId` or `listUrl`.
20
+ : Title of the list. Specify either `listTitle`, `listId` or `listUrl`.
21
21
 
22
22
  `--listUrl [listUrl]`
23
- : Server- or site-relative URL of the list. Specify either `id`, `title`, `listTitle`, `listId` or `listUrl`.
24
-
25
- `--id [id]`
26
- : (deprecated. Use `listId` instead) ID of the list to retrieve all webhooks for. Specify either `id`, `title`, `listTitle`, `listId` or `listUrl`.
27
-
28
- `--title [title]`
29
- : (deprecated. Use `listTitle` instead) Title of the list to retrieve all webhooks for. Specify either `id`, `title`, `listTitle`, `listId` or `listUrl`.
23
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`.
30
24
 
31
25
  --8<-- "docs/cmd/_global.md"
32
26
 
@@ -16,18 +16,12 @@ m365 spo listitem list [options]
16
16
  `-i, --listId [listId]`
17
17
  : ID of the list to retrieve items from. Specify `listId` or `listTitle` but not both
18
18
 
19
- `--id [id]`
20
- : (deprecated. Use `listId` instead) ID of the list to retrieve items from. Specify `id` or `title` but not both
21
-
22
19
  `-l, --listId [listId]`
23
20
  : ID of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
24
21
 
25
22
  `-t, --listTitle [listTitle]`
26
23
  : Title of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
27
24
 
28
- `--listUrl [listUrl]`
29
- : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
30
-
31
25
  `-q, --camlQuery [camlQuery]`
32
26
  : CAML query to use to query the list of items with
33
27
 
@@ -22,7 +22,7 @@ m365 spo listitem record declare [options]
22
22
  `--listUrl [listUrl]`
23
23
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
24
24
 
25
- `-i, --id <id>`
25
+ `-i, --listItemId <listItemId>`
26
26
  : The ID of the list item to declare as record
27
27
 
28
28
  `-d, --date [date]`
@@ -35,23 +35,23 @@ m365 spo listitem record declare [options]
35
35
  Declare a document with id _1_ as a record in list with title _Demo List_ located in site _https://contoso.sharepoint.com/sites/project-x_
36
36
 
37
37
  ```sh
38
- m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List" --id 1
38
+ m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List" --listItemId 1
39
39
  ```
40
40
 
41
41
  Declare a document with id _1_ as a record in list with id _ea8e1109-2013-1a69-bc05-1403201257fc_ located in site _https://contoso.sharepoint.com/sites/project-x_
42
42
 
43
43
  ```sh
44
- m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listId ea8e1109-2013-1a69-bc05-1403201257fc --id 1
44
+ m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listId ea8e1109-2013-1a69-bc05-1403201257fc --listItemId 1
45
45
  ```
46
46
 
47
47
  Declare a document with id _1_ as a record with record declaration date _March 14, 2012_ in list with title _Demo List_ located in site _https://contoso.sharepoint.com/sites/project-x_
48
48
 
49
49
  ```sh
50
- m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List" --id 1 --date 2012-03-14
50
+ m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List" --listItemId 1 --date 2012-03-14
51
51
  ```
52
52
 
53
53
  Declare a document with a specific id as a record with a record declaration date a list retrieved by server-relative URL located in a specific site
54
54
 
55
55
  ```sh
56
- m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/Lists/Demo List' --id 1 --date 2013-09-03
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
  ```
@@ -13,7 +13,7 @@ m365 spo listitem record undeclare [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : The URL of the site where the list is located
15
15
 
16
- `-i, --id <id>`
16
+ `-i, --listItemId <listItemId>`
17
17
  : ID of the list item to be undeclared as a record.
18
18
 
19
19
  `-l, --listId [listId]`
@@ -32,13 +32,13 @@ m365 spo listitem record undeclare [options]
32
32
  Undeclare the list item as a record with ID _1_ from list with ID _0cd891ef-afce-4e55-b836-fce03286cccf_ located in site _https://contoso.sharepoint.com/sites/project-x
33
33
 
34
34
  ```sh_
35
- spo listitem record undeclare --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id 1
35
+ spo listitem record undeclare --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --listItemId 1
36
36
  ```
37
37
 
38
38
  Undeclare the list item as a record with ID _1_ from list with title _List 1_ located in site _https://contoso.sharepoint.com/sites/project-x_
39
39
 
40
40
  ```sh
41
- m365 spo listitem record undeclare --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'List 1' --id 1
41
+ m365 spo listitem record undeclare --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'List 1' --listItemId 1
42
42
  ```
43
43
 
44
44
  Undeclare a list item with a specific id as a record from a list retrieved by server-relative URL located in a specific site
@@ -28,6 +28,9 @@ m365 spo listitem roleinheritance break [options]
28
28
  `-c, --clearExistingPermissions`
29
29
  : Set to clear existing roles from the list item
30
30
 
31
+ `--confirm`
32
+ : Do not prompt for confirmation before breaking role inheritance.
33
+
31
34
  --8<-- "docs/cmd/_global.md"
32
35
 
33
36
  ## Remarks
@@ -59,3 +62,9 @@ Break inheritance of a specific list item in a list retrieved by server-relative
59
62
  ```sh
60
63
  m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/Documents --listItemId 1 --clearExistingPermissions
61
64
  ```
65
+
66
+ Break inheritance of list item _1_ in list with ID _202b8199-b9de-43fd-9737-7f213f51c991_ located in site _https://contoso.sharepoint.com/sites/project-x_ with clearing permissions without prompting for confirmation
67
+
68
+ ```sh
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
+ ```