@pnp/cli-microsoft365 6.1.0-beta.54cca1f → 6.1.0-beta.6108255

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 (592) hide show
  1. package/dist/Auth.js +3 -3
  2. package/dist/Command.js +98 -14
  3. package/dist/GlobalOptions.js +2 -0
  4. package/dist/auth/FileTokenStorage.js +3 -3
  5. package/dist/cli/Cli.js +19 -64
  6. package/dist/index.js +2 -5
  7. package/dist/m365/aad/commands/app/app-add.js +6 -6
  8. package/dist/m365/aad/commands/app/app-get.js +6 -6
  9. package/dist/m365/aad/commands/app/app-remove.js +6 -6
  10. package/dist/m365/aad/commands/app/app-role-add.js +6 -6
  11. package/dist/m365/aad/commands/app/app-role-list.js +6 -6
  12. package/dist/m365/aad/commands/app/app-role-remove.js +6 -6
  13. package/dist/m365/aad/commands/app/app-set.js +6 -6
  14. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +6 -6
  15. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +6 -6
  16. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +6 -6
  17. package/dist/m365/aad/commands/group/group-get.js +79 -0
  18. package/dist/m365/aad/commands/group/group-list.js +6 -6
  19. package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +6 -6
  20. package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +6 -6
  21. package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +6 -6
  22. package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +6 -6
  23. package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +6 -6
  24. package/dist/m365/aad/commands/o365group/o365group-add.js +22 -15
  25. package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +6 -6
  26. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +6 -6
  27. package/dist/m365/aad/commands/o365group/o365group-get.js +6 -6
  28. package/dist/m365/aad/commands/o365group/o365group-list.js +6 -6
  29. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +6 -6
  30. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
  31. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +6 -6
  32. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +6 -6
  33. package/dist/m365/aad/commands/o365group/o365group-remove.js +7 -7
  34. package/dist/m365/aad/commands/o365group/o365group-renew.js +6 -6
  35. package/dist/m365/aad/commands/o365group/o365group-set.js +14 -15
  36. package/dist/m365/aad/commands/o365group/o365group-teamify.js +6 -6
  37. package/dist/m365/aad/commands/o365group/o365group-user-add.js +8 -8
  38. package/dist/m365/aad/commands/o365group/o365group-user-list.js +6 -6
  39. package/dist/m365/aad/commands/o365group/o365group-user-remove.js +8 -8
  40. package/dist/m365/aad/commands/o365group/o365group-user-set.js +8 -8
  41. package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +6 -6
  42. package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +6 -6
  43. package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +5 -5
  44. package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +5 -5
  45. package/dist/m365/aad/commands/policy/policy-list.js +6 -6
  46. package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +6 -6
  47. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +6 -6
  48. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +6 -6
  49. package/dist/m365/aad/commands/sp/sp-add.js +6 -6
  50. package/dist/m365/aad/commands/sp/sp-get.js +6 -6
  51. package/dist/m365/aad/commands/user/user-get.js +6 -6
  52. package/dist/m365/aad/commands/user/user-guest-add.js +6 -6
  53. package/dist/m365/aad/commands/user/user-hibp.js +6 -6
  54. package/dist/m365/aad/commands/user/user-list.js +6 -6
  55. package/dist/m365/aad/commands/user/user-password-validate.js +5 -5
  56. package/dist/m365/aad/commands/user/user-set.js +100 -23
  57. package/dist/m365/aad/commands/user/user-signin-list.js +6 -6
  58. package/dist/m365/aad/commands.js +1 -0
  59. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +6 -6
  60. package/dist/m365/app/commands/app-open.js +6 -6
  61. package/dist/m365/base/AppCommand.js +3 -3
  62. package/dist/m365/base/ContextCommand.js +33 -0
  63. package/dist/m365/booking/commands/business/business-get.js +7 -7
  64. package/dist/m365/cli/commands/cli-consent.js +6 -6
  65. package/dist/m365/cli/commands/cli-issue.js +6 -6
  66. package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +5 -5
  67. package/dist/m365/cli/commands/config/config-get.js +6 -6
  68. package/dist/m365/cli/commands/config/config-reset.js +6 -6
  69. package/dist/m365/cli/commands/config/config-set.js +8 -7
  70. package/dist/m365/commands/login.js +6 -6
  71. package/dist/m365/commands/request.js +8 -8
  72. package/dist/m365/context/commands/context-init.js +28 -0
  73. package/dist/m365/context/commands/context-remove.js +103 -0
  74. package/dist/m365/context/commands.js +8 -0
  75. package/dist/m365/file/commands/convert/convert-pdf.js +6 -6
  76. package/dist/m365/file/commands/file-add.js +6 -6
  77. package/dist/m365/file/commands/file-list.js +8 -8
  78. package/dist/m365/flow/commands/environment/environment-get.js +5 -5
  79. package/dist/m365/flow/commands/flow-disable.js +5 -5
  80. package/dist/m365/flow/commands/flow-enable.js +5 -5
  81. package/dist/m365/flow/commands/flow-export.js +6 -6
  82. package/dist/m365/flow/commands/flow-get.js +5 -5
  83. package/dist/m365/flow/commands/flow-list.js +6 -6
  84. package/dist/m365/flow/commands/flow-remove.js +6 -6
  85. package/dist/m365/flow/commands/run/run-cancel.js +6 -6
  86. package/dist/m365/flow/commands/run/run-get.js +5 -5
  87. package/dist/m365/flow/commands/run/run-list.js +5 -5
  88. package/dist/m365/flow/commands/run/run-resubmit.js +6 -6
  89. package/dist/m365/graph/commands/changelog/changelog-list.js +9 -9
  90. package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +6 -6
  91. package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +5 -5
  92. package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +6 -6
  93. package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +6 -6
  94. package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +6 -6
  95. package/dist/m365/graph/commands/subscription/subscription-add.js +6 -6
  96. package/dist/m365/onenote/commands/notebook/notebook-list.js +6 -6
  97. package/dist/m365/outlook/commands/mail/mail-send.js +12 -12
  98. package/dist/m365/outlook/commands/message/message-get.js +6 -6
  99. package/dist/m365/outlook/commands/message/message-list.js +6 -6
  100. package/dist/m365/outlook/commands/message/message-move.js +6 -6
  101. package/dist/m365/outlook/commands/room/room-list.js +6 -6
  102. package/dist/m365/pa/cds-project-mutator.js +3 -3
  103. package/dist/m365/pa/commands/app/app-get.js +8 -8
  104. package/dist/m365/pa/commands/app/app-list.js +7 -7
  105. package/dist/m365/pa/commands/app/app-remove.js +6 -6
  106. package/dist/m365/pa/commands/connector/connector-export.js +7 -7
  107. package/dist/m365/pa/commands/connector/connector-list.js +5 -5
  108. package/dist/m365/pa/commands/environment/environment-get.js +5 -5
  109. package/dist/m365/pa/commands/pcf/pcf-init.js +6 -6
  110. package/dist/m365/pa/commands/solution/solution-init.js +6 -6
  111. package/dist/m365/pa/commands/solution/solution-reference-add.js +6 -6
  112. package/dist/m365/planner/commands/bucket/bucket-add.js +8 -8
  113. package/dist/m365/planner/commands/bucket/bucket-get.js +6 -6
  114. package/dist/m365/planner/commands/bucket/bucket-list.js +8 -8
  115. package/dist/m365/planner/commands/bucket/bucket-remove.js +6 -6
  116. package/dist/m365/planner/commands/bucket/bucket-set.js +6 -6
  117. package/dist/m365/planner/commands/plan/plan-add.js +8 -8
  118. package/dist/m365/planner/commands/plan/plan-get.js +8 -8
  119. package/dist/m365/planner/commands/plan/plan-list.js +6 -6
  120. package/dist/m365/planner/commands/plan/plan-remove.js +6 -6
  121. package/dist/m365/planner/commands/plan/plan-set.js +8 -8
  122. package/dist/m365/planner/commands/task/task-add.js +6 -6
  123. package/dist/m365/planner/commands/task/task-checklistitem-add.js +6 -6
  124. package/dist/m365/planner/commands/task/task-checklistitem-list.js +5 -5
  125. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +6 -6
  126. package/dist/m365/planner/commands/task/task-get.js +6 -6
  127. package/dist/m365/planner/commands/task/task-list.js +7 -7
  128. package/dist/m365/planner/commands/task/task-reference-add.js +6 -6
  129. package/dist/m365/planner/commands/task/task-reference-list.js +5 -5
  130. package/dist/m365/planner/commands/task/task-reference-remove.js +6 -6
  131. package/dist/m365/planner/commands/task/task-remove.js +6 -6
  132. package/dist/m365/planner/commands/task/task-set.js +6 -6
  133. package/dist/m365/planner/commands/tenant/tenant-settings-set.js +6 -6
  134. package/dist/m365/pp/commands/card/card-clone.js +6 -6
  135. package/dist/m365/pp/commands/card/card-get.js +8 -8
  136. package/dist/m365/pp/commands/card/card-list.js +6 -6
  137. package/dist/m365/pp/commands/card/card-remove.js +6 -6
  138. package/dist/m365/pp/commands/chatbot/chatbot-get.js +8 -8
  139. package/dist/m365/pp/commands/chatbot/chatbot-list.js +6 -6
  140. package/dist/m365/pp/commands/chatbot/chatbot-remove.js +6 -6
  141. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +6 -6
  142. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -6
  143. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +6 -6
  144. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +6 -6
  145. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +133 -0
  146. package/dist/m365/pp/commands/environment/environment-get.js +6 -6
  147. package/dist/m365/pp/commands/environment/environment-list.js +6 -6
  148. package/dist/m365/pp/commands/gateway/gateway-get.js +6 -6
  149. package/dist/m365/pp/commands/managementapp/managementapp-add.js +6 -6
  150. package/dist/m365/pp/commands/solution/solution-get.js +8 -8
  151. package/dist/m365/pp/commands/solution/solution-list.js +6 -6
  152. package/dist/m365/pp/commands/solution/solution-publisher-add.js +6 -6
  153. package/dist/m365/pp/commands/solution/solution-publisher-get.js +8 -8
  154. package/dist/m365/pp/commands/solution/solution-publisher-list.js +6 -6
  155. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +6 -6
  156. package/dist/m365/pp/commands/solution/solution-remove.js +6 -6
  157. package/dist/m365/pp/commands.js +1 -0
  158. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +92 -0
  159. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +142 -0
  160. package/dist/m365/purview/commands.js +3 -1
  161. package/dist/m365/search/commands/externalconnection/externalconnection-add.js +6 -6
  162. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +6 -6
  163. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +6 -6
  164. package/dist/m365/spfx/commands/package/package-generate.js +6 -6
  165. package/dist/m365/spfx/commands/project/project-doctor.js +14 -9
  166. package/dist/m365/spfx/commands/project/project-externalize.js +14 -9
  167. package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -3
  168. package/dist/m365/spfx/commands/project/project-model/TsFile.js +3 -3
  169. package/dist/m365/spfx/commands/project/project-rename.js +6 -6
  170. package/dist/m365/spfx/commands/project/project-upgrade.js +14 -9
  171. package/dist/m365/spfx/commands/spfx-doctor.js +9 -9
  172. package/dist/m365/spo/commands/app/app-add.js +6 -6
  173. package/dist/m365/spo/commands/app/app-deploy.js +6 -6
  174. package/dist/m365/spo/commands/app/app-get.js +6 -6
  175. package/dist/m365/spo/commands/app/app-install.js +6 -6
  176. package/dist/m365/spo/commands/app/app-instance-list.js +6 -6
  177. package/dist/m365/spo/commands/app/app-list.js +7 -7
  178. package/dist/m365/spo/commands/app/app-remove.js +6 -6
  179. package/dist/m365/spo/commands/app/app-retract.js +6 -6
  180. package/dist/m365/spo/commands/app/app-teamspackage-download.js +6 -6
  181. package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
  182. package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
  183. package/dist/m365/spo/commands/apppage/apppage-add.js +6 -6
  184. package/dist/m365/spo/commands/apppage/apppage-set.js +6 -6
  185. package/dist/m365/spo/commands/cdn/cdn-get.js +6 -6
  186. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +6 -6
  187. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +6 -6
  188. package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +6 -6
  189. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +6 -6
  190. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +6 -6
  191. package/dist/m365/spo/commands/cdn/cdn-set.js +12 -13
  192. package/dist/m365/spo/commands/contenttype/contenttype-add.js +6 -6
  193. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +6 -6
  194. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +15 -24
  195. package/dist/m365/spo/commands/contenttype/contenttype-get.js +6 -6
  196. package/dist/m365/spo/commands/contenttype/contenttype-list.js +7 -7
  197. package/dist/m365/spo/commands/contenttype/contenttype-remove.js +6 -6
  198. package/dist/m365/spo/commands/contenttype/contenttype-set.js +6 -6
  199. package/dist/m365/spo/commands/customaction/customaction-add.js +6 -6
  200. package/dist/m365/spo/commands/customaction/customaction-clear.js +6 -6
  201. package/dist/m365/spo/commands/customaction/customaction-get.js +6 -6
  202. package/dist/m365/spo/commands/customaction/customaction-list.js +7 -7
  203. package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -6
  204. package/dist/m365/spo/commands/customaction/customaction-set.js +7 -7
  205. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +6 -6
  206. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +7 -7
  207. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +6 -6
  208. package/dist/m365/spo/commands/externaluser/externaluser-list.js +6 -6
  209. package/dist/m365/spo/commands/feature/feature-disable.js +6 -6
  210. package/dist/m365/spo/commands/feature/feature-enable.js +6 -6
  211. package/dist/m365/spo/commands/feature/feature-list.js +6 -6
  212. package/dist/m365/spo/commands/field/field-add.js +6 -6
  213. package/dist/m365/spo/commands/field/field-get.js +6 -6
  214. package/dist/m365/spo/commands/field/field-list.js +7 -7
  215. package/dist/m365/spo/commands/field/field-remove.js +6 -6
  216. package/dist/m365/spo/commands/field/field-set.js +6 -6
  217. package/dist/m365/spo/commands/file/file-add.js +9 -9
  218. package/dist/m365/spo/commands/file/file-checkin.js +6 -6
  219. package/dist/m365/spo/commands/file/file-checkout.js +6 -6
  220. package/dist/m365/spo/commands/file/file-copy.js +6 -6
  221. package/dist/m365/spo/commands/file/file-get.js +6 -6
  222. package/dist/m365/spo/commands/file/file-list.js +6 -6
  223. package/dist/m365/spo/commands/file/file-move.js +6 -6
  224. package/dist/m365/spo/commands/file/file-remove.js +6 -6
  225. package/dist/m365/spo/commands/file/file-rename.js +6 -6
  226. package/dist/m365/spo/commands/file/file-roleassignment-add.js +6 -6
  227. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +6 -6
  228. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +6 -6
  229. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +6 -6
  230. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -6
  231. package/dist/m365/spo/commands/file/file-version-clear.js +6 -6
  232. package/dist/m365/spo/commands/file/file-version-get.js +6 -6
  233. package/dist/m365/spo/commands/file/file-version-list.js +8 -8
  234. package/dist/m365/spo/commands/file/file-version-remove.js +6 -6
  235. package/dist/m365/spo/commands/file/file-version-restore.js +6 -6
  236. package/dist/m365/spo/commands/folder/folder-add.js +6 -6
  237. package/dist/m365/spo/commands/folder/folder-copy.js +6 -6
  238. package/dist/m365/spo/commands/folder/folder-get.js +6 -6
  239. package/dist/m365/spo/commands/folder/folder-list.js +7 -7
  240. package/dist/m365/spo/commands/folder/folder-move.js +6 -6
  241. package/dist/m365/spo/commands/folder/folder-remove.js +6 -6
  242. package/dist/m365/spo/commands/folder/folder-rename.js +6 -6
  243. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +6 -6
  244. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -6
  245. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +6 -6
  246. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +6 -6
  247. package/dist/m365/spo/commands/group/group-add.js +22 -24
  248. package/dist/m365/spo/commands/group/group-get.js +6 -6
  249. package/dist/m365/spo/commands/group/group-list.js +7 -7
  250. package/dist/m365/spo/commands/group/group-member-add.js +76 -38
  251. package/dist/m365/spo/commands/group/group-member-list.js +8 -8
  252. package/dist/m365/spo/commands/group/group-member-remove.js +55 -12
  253. package/dist/m365/spo/commands/group/group-remove.js +6 -6
  254. package/dist/m365/spo/commands/group/group-set.js +22 -24
  255. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +12 -17
  256. package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -6
  257. package/dist/m365/spo/commands/homesite/homesite-set.js +6 -6
  258. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +6 -6
  259. package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +6 -6
  260. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +6 -6
  261. package/dist/m365/spo/commands/hubsite/hubsite-get.js +6 -6
  262. package/dist/m365/spo/commands/hubsite/hubsite-list.js +8 -8
  263. package/dist/m365/spo/commands/hubsite/hubsite-register.js +6 -6
  264. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +6 -6
  265. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +6 -6
  266. package/dist/m365/spo/commands/hubsite/hubsite-set.js +6 -6
  267. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +6 -6
  268. package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +6 -6
  269. package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +6 -6
  270. package/dist/m365/spo/commands/list/list-add.js +60 -73
  271. package/dist/m365/spo/commands/list/list-contenttype-add.js +6 -6
  272. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +6 -6
  273. package/dist/m365/spo/commands/list/list-contenttype-list.js +8 -8
  274. package/dist/m365/spo/commands/list/list-contenttype-remove.js +6 -6
  275. package/dist/m365/spo/commands/list/list-get.js +6 -6
  276. package/dist/m365/spo/commands/list/list-list.js +6 -6
  277. package/dist/m365/spo/commands/list/list-remove.js +6 -6
  278. package/dist/m365/spo/commands/list/{list-label-set.js → list-retentionlabel-ensure.js} +28 -18
  279. package/dist/m365/spo/commands/list/{list-label-get.js → list-retentionlabel-get.js} +22 -18
  280. package/dist/m365/spo/commands/list/list-roleassignment-add.js +6 -6
  281. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +6 -6
  282. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +6 -6
  283. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +6 -6
  284. package/dist/m365/spo/commands/list/list-set.js +59 -71
  285. package/dist/m365/spo/commands/list/list-sitescript-get.js +6 -6
  286. package/dist/m365/spo/commands/list/list-view-add.js +6 -6
  287. package/dist/m365/spo/commands/list/list-view-field-add.js +6 -6
  288. package/dist/m365/spo/commands/list/list-view-field-remove.js +6 -6
  289. package/dist/m365/spo/commands/list/list-view-field-set.js +6 -6
  290. package/dist/m365/spo/commands/list/list-view-get.js +6 -6
  291. package/dist/m365/spo/commands/list/list-view-list.js +8 -8
  292. package/dist/m365/spo/commands/list/list-view-remove.js +6 -6
  293. package/dist/m365/spo/commands/list/list-view-set.js +8 -8
  294. package/dist/m365/spo/commands/list/list-webhook-add.js +6 -6
  295. package/dist/m365/spo/commands/list/list-webhook-get.js +6 -6
  296. package/dist/m365/spo/commands/list/list-webhook-list.js +8 -8
  297. package/dist/m365/spo/commands/list/list-webhook-remove.js +6 -6
  298. package/dist/m365/spo/commands/list/list-webhook-set.js +6 -6
  299. package/dist/m365/spo/commands/listitem/listitem-add.js +9 -9
  300. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +6 -6
  301. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +26 -19
  302. package/dist/m365/spo/commands/listitem/listitem-get.js +9 -9
  303. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +6 -6
  304. package/dist/m365/spo/commands/listitem/listitem-list.js +6 -6
  305. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +6 -6
  306. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +6 -6
  307. package/dist/m365/spo/commands/listitem/listitem-remove.js +7 -7
  308. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +143 -0
  309. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +6 -6
  310. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +6 -6
  311. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +6 -6
  312. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +6 -6
  313. package/dist/m365/spo/commands/listitem/listitem-set.js +9 -9
  314. package/dist/m365/spo/commands/mail/mail-send.js +6 -6
  315. package/dist/m365/spo/commands/navigation/navigation-node-add.js +6 -6
  316. package/dist/m365/spo/commands/navigation/navigation-node-list.js +6 -6
  317. package/dist/m365/spo/commands/navigation/navigation-node-remove.js +6 -6
  318. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +6 -6
  319. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +5 -5
  320. package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +6 -6
  321. package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +6 -6
  322. package/dist/m365/spo/commands/page/clientsidepages.js +3 -3
  323. package/dist/m365/spo/commands/page/page-add.js +6 -6
  324. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +6 -6
  325. package/dist/m365/spo/commands/page/page-column-get.js +6 -6
  326. package/dist/m365/spo/commands/page/page-column-list.js +6 -6
  327. package/dist/m365/spo/commands/page/page-control-get.js +6 -6
  328. package/dist/m365/spo/commands/page/page-control-list.js +6 -6
  329. package/dist/m365/spo/commands/page/page-control-set.js +6 -6
  330. package/dist/m365/spo/commands/page/page-copy.js +7 -7
  331. package/dist/m365/spo/commands/page/page-get.js +6 -6
  332. package/dist/m365/spo/commands/page/page-header-set.js +6 -6
  333. package/dist/m365/spo/commands/page/page-list.js +6 -6
  334. package/dist/m365/spo/commands/page/page-remove.js +6 -6
  335. package/dist/m365/spo/commands/page/page-section-add.js +6 -6
  336. package/dist/m365/spo/commands/page/page-section-get.js +6 -6
  337. package/dist/m365/spo/commands/page/page-section-list.js +6 -6
  338. package/dist/m365/spo/commands/page/page-set.js +11 -13
  339. package/dist/m365/spo/commands/page/page-template-list.js +6 -6
  340. package/dist/m365/spo/commands/page/page-text-add.js +6 -6
  341. package/dist/m365/spo/commands/propertybag/propertybag-get.js +6 -6
  342. package/dist/m365/spo/commands/propertybag/propertybag-list.js +6 -6
  343. package/dist/m365/spo/commands/propertybag/propertybag-remove.js +6 -6
  344. package/dist/m365/spo/commands/propertybag/propertybag-set.js +6 -6
  345. package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +7 -7
  346. package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +6 -6
  347. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +6 -6
  348. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +6 -6
  349. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +5 -5
  350. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +5 -5
  351. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +76 -27
  352. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +6 -6
  353. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +14 -22
  354. package/dist/m365/spo/commands/site/site-add.js +7 -7
  355. package/dist/m365/spo/commands/site/site-appcatalog-add.js +6 -6
  356. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +6 -6
  357. package/dist/m365/spo/commands/site/site-apppermission-add.js +6 -6
  358. package/dist/m365/spo/commands/site/site-apppermission-get.js +6 -6
  359. package/dist/m365/spo/commands/site/site-apppermission-list.js +6 -6
  360. package/dist/m365/spo/commands/site/site-apppermission-remove.js +6 -6
  361. package/dist/m365/spo/commands/site/site-apppermission-set.js +6 -6
  362. package/dist/m365/spo/commands/site/site-chrome-set.js +19 -13
  363. package/dist/m365/spo/commands/site/site-commsite-enable.js +6 -6
  364. package/dist/m365/spo/commands/site/site-ensure.js +14 -10
  365. package/dist/m365/spo/commands/site/site-get.js +6 -6
  366. package/dist/m365/spo/commands/site/site-groupify.js +6 -6
  367. package/dist/m365/spo/commands/site/site-hubsite-connect.js +6 -6
  368. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +6 -6
  369. package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +6 -6
  370. package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +14 -14
  371. package/dist/m365/spo/commands/site/site-list.js +7 -7
  372. package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +7 -7
  373. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +6 -6
  374. package/dist/m365/spo/commands/site/site-remove.js +6 -6
  375. package/dist/m365/spo/commands/site/site-rename.js +6 -6
  376. package/dist/m365/spo/commands/site/site-set.js +23 -37
  377. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -6
  378. package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +6 -6
  379. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +6 -6
  380. package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +6 -6
  381. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +6 -6
  382. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +6 -6
  383. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +6 -6
  384. package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +7 -7
  385. package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +6 -6
  386. package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +14 -15
  387. package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +6 -6
  388. package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +6 -6
  389. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +6 -6
  390. package/dist/m365/spo/commands/sitescript/sitescript-add.js +6 -6
  391. package/dist/m365/spo/commands/sitescript/sitescript-get.js +6 -6
  392. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +6 -6
  393. package/dist/m365/spo/commands/sitescript/sitescript-set.js +6 -6
  394. package/dist/m365/spo/commands/spo-search.js +6 -6
  395. package/dist/m365/spo/commands/spo-set.js +6 -6
  396. package/dist/m365/spo/commands/storageentity/storageentity-get.js +5 -5
  397. package/dist/m365/spo/commands/storageentity/storageentity-list.js +6 -6
  398. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +6 -6
  399. package/dist/m365/spo/commands/storageentity/storageentity-set.js +6 -6
  400. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +6 -6
  401. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +6 -6
  402. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +6 -6
  403. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +73 -63
  404. package/dist/m365/spo/commands/term/term-add.js +6 -6
  405. package/dist/m365/spo/commands/term/term-get.js +6 -6
  406. package/dist/m365/spo/commands/term/term-group-add.js +6 -6
  407. package/dist/m365/spo/commands/term/term-group-get.js +6 -6
  408. package/dist/m365/spo/commands/term/term-list.js +8 -8
  409. package/dist/m365/spo/commands/term/term-set-add.js +6 -6
  410. package/dist/m365/spo/commands/term/term-set-get.js +6 -6
  411. package/dist/m365/spo/commands/term/term-set-list.js +6 -6
  412. package/dist/m365/spo/commands/theme/theme-apply.js +6 -6
  413. package/dist/m365/spo/commands/theme/theme-get.js +5 -5
  414. package/dist/m365/spo/commands/theme/theme-remove.js +6 -6
  415. package/dist/m365/spo/commands/theme/theme-set.js +6 -6
  416. package/dist/m365/spo/commands/user/user-get.js +6 -6
  417. package/dist/m365/spo/commands/user/user-list.js +6 -6
  418. package/dist/m365/spo/commands/user/user-remove.js +6 -6
  419. package/dist/m365/spo/commands/userprofile/userprofile-get.js +6 -6
  420. package/dist/m365/spo/commands/userprofile/userprofile-set.js +5 -5
  421. package/dist/m365/spo/commands/web/web-add.js +6 -6
  422. package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +6 -6
  423. package/dist/m365/spo/commands/web/web-get.js +6 -6
  424. package/dist/m365/spo/commands/web/web-installedlanguage-list.js +6 -6
  425. package/dist/m365/spo/commands/web/web-list.js +6 -6
  426. package/dist/m365/spo/commands/web/web-reindex.js +6 -6
  427. package/dist/m365/spo/commands/web/web-remove.js +6 -6
  428. package/dist/m365/spo/commands/web/web-retentionlabel-list.js +63 -0
  429. package/dist/m365/spo/commands/web/web-roleassignment-add.js +6 -6
  430. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +6 -6
  431. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +6 -6
  432. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +6 -6
  433. package/dist/m365/spo/commands/web/web-set.js +18 -31
  434. package/dist/m365/spo/commands.js +4 -0
  435. package/dist/m365/teams/commands/app/app-install.js +6 -6
  436. package/dist/m365/teams/commands/app/app-list.js +7 -7
  437. package/dist/m365/teams/commands/app/app-publish.js +6 -6
  438. package/dist/m365/teams/commands/app/app-remove.js +6 -6
  439. package/dist/m365/teams/commands/app/app-uninstall.js +6 -6
  440. package/dist/m365/teams/commands/app/app-update.js +6 -6
  441. package/dist/m365/teams/commands/cache/cache-remove.js +30 -46
  442. package/dist/m365/teams/commands/channel/channel-add.js +6 -6
  443. package/dist/m365/teams/commands/channel/channel-get.js +6 -6
  444. package/dist/m365/teams/commands/channel/channel-list.js +8 -8
  445. package/dist/m365/teams/commands/channel/channel-member-add.js +6 -6
  446. package/dist/m365/teams/commands/channel/channel-member-list.js +9 -9
  447. package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -6
  448. package/dist/m365/teams/commands/channel/channel-member-set.js +6 -6
  449. package/dist/m365/teams/commands/channel/channel-remove.js +6 -6
  450. package/dist/m365/teams/commands/channel/channel-set.js +6 -6
  451. package/dist/m365/teams/commands/chat/chat-get.js +6 -6
  452. package/dist/m365/teams/commands/chat/chat-list.js +7 -7
  453. package/dist/m365/teams/commands/chat/chat-member-list.js +6 -6
  454. package/dist/m365/teams/commands/chat/chat-message-list.js +6 -6
  455. package/dist/m365/teams/commands/chat/chat-message-send.js +6 -6
  456. package/dist/m365/teams/commands/funsettings/funsettings-list.js +6 -6
  457. package/dist/m365/teams/commands/funsettings/funsettings-set.js +18 -25
  458. package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +6 -6
  459. package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +18 -26
  460. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +7 -7
  461. package/dist/m365/teams/commands/meeting/meeting-get.js +6 -6
  462. package/dist/m365/teams/commands/meeting/meeting-list.js +7 -7
  463. package/dist/m365/teams/commands/membersettings/membersettings-list.js +6 -6
  464. package/dist/m365/teams/commands/membersettings/membersettings-set.js +24 -29
  465. package/dist/m365/teams/commands/message/message-get.js +6 -6
  466. package/dist/m365/teams/commands/message/message-list.js +7 -7
  467. package/dist/m365/teams/commands/message/message-reply-list.js +6 -6
  468. package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +6 -6
  469. package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +26 -29
  470. package/dist/m365/teams/commands/report/report-directroutingcalls.js +7 -7
  471. package/dist/m365/teams/commands/report/report-pstncalls.js +7 -7
  472. package/dist/m365/teams/commands/tab/tab-add.js +7 -7
  473. package/dist/m365/teams/commands/tab/tab-get.js +6 -6
  474. package/dist/m365/teams/commands/tab/tab-list.js +6 -6
  475. package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
  476. package/dist/m365/teams/commands/team/team-add.js +6 -6
  477. package/dist/m365/teams/commands/team/team-app-list.js +8 -8
  478. package/dist/m365/teams/commands/team/team-archive.js +6 -6
  479. package/dist/m365/teams/commands/team/team-clone.js +6 -6
  480. package/dist/m365/teams/commands/team/team-get.js +6 -6
  481. package/dist/m365/teams/commands/team/team-list.js +6 -6
  482. package/dist/m365/teams/commands/team/team-remove.js +6 -6
  483. package/dist/m365/teams/commands/team/team-set.js +6 -6
  484. package/dist/m365/teams/commands/team/team-unarchive.js +6 -6
  485. package/dist/m365/teams/commands/user/user-app-add.js +6 -6
  486. package/dist/m365/teams/commands/user/user-app-list.js +6 -6
  487. package/dist/m365/teams/commands/user/user-app-remove.js +6 -6
  488. package/dist/m365/teams/commands/user/user-list.js +6 -6
  489. package/dist/m365/tenant/commands/id/id-get.js +6 -6
  490. package/dist/m365/tenant/commands/security/security-alerts-list.js +6 -6
  491. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +6 -6
  492. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +6 -6
  493. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +5 -5
  494. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +5 -5
  495. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +6 -6
  496. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +6 -6
  497. package/dist/m365/todo/commands/list/list-add.js +5 -5
  498. package/dist/m365/todo/commands/list/list-get.js +7 -7
  499. package/dist/m365/todo/commands/list/list-remove.js +6 -6
  500. package/dist/m365/todo/commands/list/list-set.js +6 -6
  501. package/dist/m365/todo/commands/task/task-add.js +6 -6
  502. package/dist/m365/todo/commands/task/task-get.js +7 -7
  503. package/dist/m365/todo/commands/task/task-list.js +7 -7
  504. package/dist/m365/todo/commands/task/task-remove.js +6 -6
  505. package/dist/m365/todo/commands/task/task-set.js +6 -6
  506. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +6 -6
  507. package/dist/m365/viva/commands/connections/connections-app-create.js +6 -6
  508. package/dist/m365/yammer/commands/group/group-list.js +6 -6
  509. package/dist/m365/yammer/commands/group/group-user-add.js +6 -6
  510. package/dist/m365/yammer/commands/group/group-user-remove.js +6 -6
  511. package/dist/m365/yammer/commands/message/message-add.js +7 -7
  512. package/dist/m365/yammer/commands/message/message-get.js +6 -6
  513. package/dist/m365/yammer/commands/message/message-like-set.js +15 -16
  514. package/dist/m365/yammer/commands/message/message-list.js +8 -8
  515. package/dist/m365/yammer/commands/message/message-remove.js +6 -6
  516. package/dist/m365/yammer/commands/network/network-list.js +6 -6
  517. package/dist/m365/yammer/commands/user/user-get.js +7 -7
  518. package/dist/m365/yammer/commands/user/user-list.js +8 -8
  519. package/dist/m365/yammer/commands/yammer-search.js +6 -6
  520. package/dist/request.js +39 -38
  521. package/dist/settingsNames.js +1 -0
  522. package/dist/telemetry.js +29 -0
  523. package/dist/utils/md.js +10 -1
  524. package/docs/docs/_clisettings.md +1 -0
  525. package/docs/docs/cmd/_global.md +1 -1
  526. package/docs/docs/cmd/aad/group/group-get.md +127 -0
  527. package/docs/docs/cmd/aad/user/user-set.md +31 -3
  528. package/docs/docs/cmd/context/context-init.md +25 -0
  529. package/docs/docs/cmd/context/context-remove.md +34 -0
  530. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.md +61 -0
  531. package/docs/docs/cmd/pp/environment/environment-get.md +2 -0
  532. package/docs/docs/cmd/pp/solution/solution-publisher-remove.md +1 -1
  533. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +36 -0
  534. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +63 -0
  535. package/docs/docs/cmd/spo/group/group-member-add.md +58 -6
  536. package/docs/docs/cmd/spo/group/group-member-remove.md +24 -8
  537. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +65 -0
  538. package/docs/docs/cmd/spo/list/{list-label-get.md → list-retentionlabel-get.md} +17 -11
  539. package/docs/docs/cmd/spo/listitem/listitem-remove.md +6 -6
  540. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.md +55 -0
  541. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +9 -5
  542. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +42 -0
  543. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +25 -3
  544. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +22 -0
  545. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +6 -2
  546. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +5 -1
  547. package/docs/docs/cmd/spo/page/page-add.md +13 -9
  548. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +6 -2
  549. package/docs/docs/cmd/spo/page/page-column-get.md +68 -5
  550. package/docs/docs/cmd/spo/page/page-column-list.md +36 -4
  551. package/docs/docs/cmd/spo/page/page-control-get.md +70 -3
  552. package/docs/docs/cmd/spo/page/page-control-list.md +69 -3
  553. package/docs/docs/cmd/spo/page/page-control-set.md +11 -7
  554. package/docs/docs/cmd/spo/page/page-copy.md +65 -4
  555. package/docs/docs/cmd/spo/page/page-get.md +100 -4
  556. package/docs/docs/cmd/spo/page/page-header-set.md +17 -13
  557. package/docs/docs/cmd/spo/page/page-list.md +122 -1
  558. package/docs/docs/cmd/spo/page/page-remove.md +9 -5
  559. package/docs/docs/cmd/spo/page/page-section-add.md +10 -6
  560. package/docs/docs/cmd/spo/page/page-section-get.md +36 -4
  561. package/docs/docs/cmd/spo/page/page-section-list.md +38 -3
  562. package/docs/docs/cmd/spo/page/page-set.md +10 -10
  563. package/docs/docs/cmd/spo/page/page-template-list.md +58 -1
  564. package/docs/docs/cmd/spo/page/page-text-add.md +9 -5
  565. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +28 -8
  566. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +35 -7
  567. package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +13 -9
  568. package/docs/docs/cmd/spo/propertybag/propertybag-set.md +13 -5
  569. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +34 -2
  570. package/docs/docs/cmd/spo/report/report-activitypages.md +31 -2
  571. package/docs/docs/cmd/spo/report/report-activityusercounts.md +35 -2
  572. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +40 -3
  573. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +43 -3
  574. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +33 -2
  575. package/docs/docs/cmd/spo/report/report-siteusagepages.md +32 -2
  576. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +33 -2
  577. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +32 -2
  578. package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +10 -6
  579. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +80 -2
  580. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +76 -2
  581. package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +9 -5
  582. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +39 -2
  583. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +32 -0
  584. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +6 -2
  585. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +45 -2
  586. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +6 -2
  587. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +30 -0
  588. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +36 -2
  589. package/docs/docs/cmd/spo/web/web-retentionlabel-list.md +74 -0
  590. package/npm-shrinkwrap.json +246 -186
  591. package/package.json +13 -11
  592. package/docs/docs/cmd/spo/list/list-label-set.md +0 -55
@@ -0,0 +1,61 @@
1
+ # pp dataverse table row remove
2
+
3
+ Removes a row from a dataverse table in a given environment.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ pp dataverse table row remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment to remove a row from a table from.
15
+
16
+ `-i, --id <id>`
17
+ : The id of the row to remove.
18
+
19
+ `--entitySetName [entitySetName]`
20
+ : The entity set name of the table. Specify either `entitySetName` or `tableName` but not both
21
+
22
+ `--tableName [tableName]`
23
+ : The name of the table. Specify either `entitySetName` or `tableName` but not both
24
+
25
+ `--confirm`
26
+ : Don't prompt for confirmation
27
+
28
+ `--asAdmin`
29
+ : Set, to remove the row from the dataverse table as admin for environments you are not a member of.
30
+
31
+ --8<-- "docs/cmd/_global.md"
32
+
33
+ ## Examples
34
+
35
+ Removes a row from a dataverse table in a given environment
36
+
37
+ ```sh
38
+ m365 pp dataverse table row remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --tableName "aadusers" --id "21d01cf4-356c-ed11-9561-000d3a4bbea4"
39
+ ```
40
+
41
+ Removes a row from a dataverse table in a given environment as Admin
42
+
43
+ ```sh
44
+ m365 pp dataverse table row remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --tableName "aadusers" --id "21d01cf4-356c-ed11-9561-000d3a4bbea4" --asAdmin
45
+ ```
46
+
47
+ Removes a row from a dataverse table in a given environment without prompting for confirmation
48
+
49
+ ```sh
50
+ m365 pp dataverse table row remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --tableName "aadusers" --id "21d01cf4-356c-ed11-9561-000d3a4bbea4" --confirm
51
+ ```
52
+
53
+ Removes a row from a dataverse table in a given environment based on the entity set name without prompting for confirmation
54
+
55
+ ```sh
56
+ m365 pp dataverse table row remove --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --entitySetName "cr6c3_accounts" --id "21d01cf4-356c-ed11-9561-000d3a4bbea4" --confirm
57
+ ```
58
+
59
+ ## Response
60
+
61
+ The command won't return a response on success.
@@ -16,6 +16,8 @@ m365 pp environment get [options]
16
16
  `--asAdmin`
17
17
  : Run the command as admin and retrieve details of environments you do not have explicitly assigned permissions to
18
18
 
19
+ --8<-- "docs/cmd/_global.md"
20
+
19
21
  ## Remarks
20
22
 
21
23
  !!! attention
@@ -1,4 +1,4 @@
1
- # solution remove
1
+ # pp solution publisher remove
2
2
 
3
3
  Removes the specified publisher in the specified Power Platform environment
4
4
 
@@ -0,0 +1,36 @@
1
+ # purview retentionlabel remove
2
+
3
+ Delete a retention label
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 purview retentionlabel remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : The Id of the retention label.
15
+
16
+ `--confirm`
17
+ : Don't prompt for confirming to remove the label.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ Delete a retention label
24
+
25
+ ```sh
26
+ m365 purview retentionlabel remove --id 'e554d69c-0992-4f9b-8a66-fca3c4d9c531'
27
+ ```
28
+
29
+ ## Remarks
30
+
31
+ !!! attention
32
+ This command is based on a Microsoft Graph API that is currently in preview and is subject to change once the API reached general availability.
33
+
34
+ ## Response
35
+
36
+ The command won't return a response on success.
@@ -0,0 +1,63 @@
1
+ # purview retentionlabel set
2
+
3
+ Update a retention label
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 purview retentionlabel set [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : The Id of the retention label.
15
+
16
+ `--behaviorDuringRetentionPeriod [behaviorDuringRetentionPeriod]`
17
+ : Specifies how the behavior of a document with this label should be during the retention period. Allowed values: `doNotRetain`, `retain`, `retainAsRecord`, `retainAsRegulatoryRecord`.
18
+
19
+ `--actionAfterRetentionPeriod [actionAfterRetentionPeriod]`
20
+ : Specifies the action to take on a document with this label applied after the retention period. Allowed values: `none`, `delete`, `startDispositionReview`.
21
+
22
+ `--retentionDuration [retentionDuration]`
23
+ : The number of days to retain the content.
24
+
25
+ `-t, --retentionTrigger [retentionTrigger]`
26
+ : Specifies whether the retention duration is calculated from the content creation date, labeled date, or last modification date. Allowed values: `dateLabeled`, `dateCreated`, `dateModified`, `dateOfEvent`.
27
+
28
+ `--defaultRecordBehavior [defaultRecordBehavior]`
29
+ : Specifies the locked or unlocked state of a record label when it is created. Allowed values: `startLocked`, `startUnlocked`.
30
+
31
+ `--descriptionForUsers [descriptionForUsers]`
32
+ : The label information for the user.
33
+
34
+ `--descriptionForAdmins [descriptionForAdmins]`
35
+ : The label information for the admin.
36
+
37
+ `--labelToBeApplied [labelToBeApplied]`
38
+ : Specifies the replacement label to be applied automatically after the retention period of the current label ends.
39
+
40
+ --8<-- "docs/cmd/_global.md"
41
+
42
+ ## Examples
43
+
44
+ Update a retention label so that it retains documents as records and deletes them after one year.
45
+
46
+ ```sh
47
+ m365 purview retentionlabel set --id c37d695e-d581-4ae9-82a0-9364eba4291e --behaviorDuringRetentionPeriod retainAsRecord --actionAfterRetentionPeriod delete --retentionDuration 365
48
+ ```
49
+
50
+ Update a retention label so that it retains documents as regulatory records and starts a disposition review one year after the last modification date.
51
+
52
+ ```sh
53
+ m365 purview retentionlabel set --id c37d695e-d581-4ae9-82a0-9364eba4291e --behaviorDuringRetentionPeriod retainAsRegulatoryRecord --actionAfterRetentionPeriod startDispositionReview --retentionDuration 365 --retentionTrigger dateModified
54
+ ```
55
+
56
+ ## Remarks
57
+
58
+ !!! attention
59
+ This command is based on a Microsoft Graph API that is currently in preview and is subject to change once the API reached general availability.
60
+
61
+ ## Response
62
+
63
+ The command won't return a response on success.
@@ -20,10 +20,13 @@ m365 spo group member add [options]
20
20
  : Name of the SharePoint Group to which the user needs to be added, specify either `groupId` or `groupName`
21
21
 
22
22
  `--userName [userName]`
23
- : User's UPN (user principal name, eg. megan.bowen@contoso.com). If multiple users need to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
23
+ : User's UPN (user principal name, eg. megan.bowen@contoso.com). If multiple users need to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName`, `email` or `userId`
24
24
 
25
25
  `--email [email]`
26
- : User's email (eg. megan.bowen@contoso.com). If multiple users need to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
26
+ : User's email (eg. megan.bowen@contoso.com). If multiple users need to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName`, `email` or `userId`
27
+
28
+ `--userId [userId]`
29
+ : The user Id of the user to add as a member. (Id of the site user, for example: 14) If multiple users need to be added, the Id's have to be comma separated. Specify either `userName`, `email` or `userId`
27
30
 
28
31
  --8<-- "docs/cmd/_global.md"
29
32
 
@@ -33,26 +36,75 @@ For the `--userName` or `--email` options you can specify multiple values by sep
33
36
 
34
37
  ## Examples
35
38
 
36
- Add a user with name _Alex.Wilber@contoso.com_ to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
39
+ Add a user with the userName parameter to a SharePoint group with the groupId parameter
37
40
 
38
41
  ```sh
39
42
  m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
40
43
  ```
41
44
 
42
- Add multiple users by name to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
45
+ Add multiple users with the userName parameter to a SharePoint group with the groupId parameter
43
46
 
44
47
  ```sh
45
48
  m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
46
49
  ```
47
50
 
48
- Add a user with email _Alex.Wilber@contoso.com_ to the SharePoint group with name _Contoso Site Owners_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
51
+ Add a user with the email parameter to a SharePoint group with the groupName parameter
49
52
 
50
53
  ```sh
51
54
  m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com"
52
55
  ```
53
56
 
54
- Add multiple users by email to the SharePoint group with name _Contoso Site Owners_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
57
+ Add multiple users with the email parameter to a SharePoint group with the groupName parameter
55
58
 
56
59
  ```sh
57
60
  m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
58
61
  ```
62
+
63
+ Add a user with the userId parameter to a SharePoint group with the groupId parameter
64
+
65
+ ```sh
66
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userId 5
67
+ ```
68
+
69
+ Add multiple users with the userId parameter to a SharePoint group with the groupId parameter
70
+
71
+ ```sh
72
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userId "5,12"
73
+ ```
74
+
75
+ ## Response
76
+
77
+ === "JSON"
78
+
79
+ ```json
80
+ [
81
+ {
82
+ "AllowedRoles": [
83
+ 0
84
+ ],
85
+ "CurrentRole": 0,
86
+ "DisplayName": "John Doe",
87
+ "Email": "john.doe@contoso.onmicrosoft.com",
88
+ "InvitationLink": null,
89
+ "IsUserKnown": true,
90
+ "Message": null,
91
+ "Status": true,
92
+ "User": "i:0#.f|membership|john.doe@contoso.onmicrosoft.com"
93
+ }
94
+ ]
95
+ ```
96
+
97
+ === "Text"
98
+
99
+ ```text
100
+ DisplayName Email
101
+ ----------- ---------------------------------
102
+ John Doe john.doe@contoso.onmicrosoft.com
103
+ ```
104
+
105
+ === "CSV"
106
+
107
+ ```csv
108
+ DisplayName,Email
109
+ John Doe,john.doe@contoso.onmicrosoft.com
110
+ ```
@@ -11,29 +11,45 @@ m365 spo group member remove [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --webUrl <webUrl>`
14
- : URL of the site where the SharePoint group is available
14
+ : URL of the site where the SharePoint group is available.
15
15
 
16
16
  `--groupId [groupId]`
17
- : Id of the SharePoint group from which the user has to be removed. Specify either `groupName` or `groupId`, but not both
17
+ : Id of the SharePoint group from which the user has to be removed. Specify either `groupName` or `groupId`, but not both.
18
18
 
19
19
  `--groupName [groupName]`
20
- : Name of the SharePoint group from which user has to be removed. Specify either `groupName` or `groupId`, but not both
20
+ : Name of the SharePoint group from which user has to be removed. Specify either `groupName` or `groupId`, but not both.
21
21
 
22
- `--userName <userName>`
23
- : The UPN of the user that needs to be removed (user principal name, eg. megan.bowen@contoso.com)
22
+ `--userName [userName]`
23
+ : The UPN (user principal name, eg. megan.bowen@contoso.com) of the user that needs to be removed. Specify either `userName`, `email`, or `userId`, but not multiple.
24
+
25
+ `--email [email]`
26
+ : The email of the user to remove as a member. Specify either `userName`, `email`, or `userId`, but not multiple.
27
+
28
+ `--userId [userId]`
29
+ : The user Id (Id of the site user, eg. 14) of the user to remove as a member. Specify either `userName`, `email`, or `userId`, but not multiple.
24
30
 
25
31
  --8<-- "docs/cmd/_global.md"
26
32
 
27
33
  ## Examples
28
34
 
29
- Remove a user from SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
35
+ Remove a user from a SharePoint group by userName.
30
36
 
31
37
  ```sh
32
38
  m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
33
39
  ```
34
40
 
35
- Remove a user from SharePoint group with Name _Site A Visitors_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
41
+ Remove a user from a SharePoint group by email.
42
+
43
+ ```sh
44
+ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --email "Alex.Wilber@contoso.com"
45
+ ```
46
+
47
+ Remove a user from a SharePoint group by id.
36
48
 
37
49
  ```sh
38
- m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --userName "Alex.Wilber@contoso.com"
50
+ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --userId 14
39
51
  ```
52
+
53
+ ## Response
54
+
55
+ The command won't return a response on success.
@@ -0,0 +1,65 @@
1
+ # spo list retentionlabel ensure
2
+
3
+ Sets a default retention label on the specified list or library.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo list retentionlabel ensure [options]
9
+ ```
10
+
11
+ ## Alias
12
+
13
+ ```sh
14
+ m365 spo list label set [options]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ `-u, --webUrl <webUrl>`
20
+ : The URL of the site where the list is located.
21
+
22
+ `--label <label>`
23
+ : The label to set on the list.
24
+
25
+ `-t, --listTitle [listTitle]`
26
+ : The title of the list on which to set the label. Specify either `listTitle`, `listId`, or `listUrl` but not multiple.
27
+
28
+ `-l, --listId [listId]`
29
+ : The ID of the list on which to set the label. Specify either `listTitle`, `listId`, or `listUrl` but not multiple.
30
+
31
+ `--listUrl [listUrl]`
32
+ : Server- or web-relative URL of the list on which to set the label. Specify either `listTitle`, `listId`, or `listUrl` but not multiple.
33
+
34
+ `--syncToItems`
35
+ : Specify, to set the label on all existing items in the list.
36
+
37
+ `--blockDelete`
38
+ : (deprecated) Specify, to disallow deleting items in the list.
39
+
40
+ `--blockEdit`
41
+ : (deprecated) Specify, to disallow editing items in the list.
42
+
43
+ --8<-- "docs/cmd/_global.md"
44
+
45
+ ## Remarks
46
+
47
+ A list retention label is a default label that will be applied to all new items in the list. If you specify `syncToItems`, it is also synced to existing items.
48
+
49
+ ## Examples
50
+
51
+ Sets retention label on the list with specified site-relative URL located in the specified site.
52
+
53
+ ```sh
54
+ m365 spo list retentionlabel ensure --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Shared Documents' --label 'Some label'
55
+ ```
56
+
57
+ Sets retention label and disables editing and deleting items on the list and all existing items for the list with specified title located in the specified site.
58
+
59
+ ```sh
60
+ m365 spo list retentionlabel ensure --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'Documents' --label 'Some label' --blockEdit --blockDelete --syncToItems
61
+ ```
62
+
63
+ ## Response
64
+
65
+ The command won't return a response on success.
@@ -1,11 +1,17 @@
1
- # spo list label get
1
+ # spo list retentionlabel get
2
2
 
3
- Gets label set on the specified list
3
+ Gets the default retention label set on the specified list or library.
4
4
 
5
5
  ## Usage
6
6
 
7
7
  ```sh
8
- m365 spo list label get [options]
8
+ m365 spo list retentionlabel get [options]
9
+ ```
10
+
11
+ ## Alias
12
+
13
+ ```sh
14
+ m365 spo list label get [options]
9
15
  ```
10
16
 
11
17
  ## Options
@@ -26,28 +32,28 @@ m365 spo list label get [options]
26
32
 
27
33
  ## Examples
28
34
 
29
- Gets label set on the list with specified title located in the specified site.
35
+ Gets retention label set on the list with specified title located in the specified site.
30
36
 
31
37
  ```sh
32
- m365 spo list label get --listTitle ContosoList --webUrl https://contoso.sharepoint.com/sites/project-x
38
+ m365 spo list retentionlabel get --listTitle ContosoList --webUrl https://contoso.sharepoint.com/sites/project-x
33
39
  ```
34
40
 
35
- Gets label set on the list with specified id located in the specified site.
41
+ Gets retention label set on the list with specified id located in the specified site.
36
42
 
37
43
  ```sh
38
- m365 spo list label get --listId cc27a922-8224-4296-90a5-ebbc54da2e85 --webUrl https://contoso.sharepoint.com/sites/project-x
44
+ m365 spo list retentionlabel get --listId cc27a922-8224-4296-90a5-ebbc54da2e85 --webUrl https://contoso.sharepoint.com/sites/project-x
39
45
  ```
40
46
 
41
- Gets label set on the list with specified server relative url located in the specified site.
47
+ Gets retention label set on the list with specified server relative url located in the specified site.
42
48
 
43
49
  ```sh
44
- m365 spo list label get --listUrl 'sites/project-x/Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
50
+ m365 spo list retentionlabel get --listUrl 'sites/project-x/Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
45
51
  ```
46
52
 
47
- Gets label set on the list with specified site-relative URL located in the specified site.
53
+ Gets retention label set on the list with specified site-relative URL located in the specified site.
48
54
 
49
55
  ```sh
50
- m365 spo list label get --listUrl 'Shared Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
56
+ m365 spo list retentionlabel get --listUrl 'Shared Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
51
57
  ```
52
58
 
53
59
  ## Response
@@ -11,16 +11,16 @@ m365 spo listitem remove [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --webUrl <webUrl>`
14
- : URL of the site where the list to remove is located
14
+ : URL of the site where the list item to remove is located
15
15
 
16
16
  `-i, --id <id>`
17
17
  : The ID of the list item to remove.
18
18
 
19
19
  `-l, --listId [listId]`
20
- : ID of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
20
+ : ID of the list where the item should be removed. Specify either `listTitle`, `listId` or `listUrl`
21
21
 
22
22
  `-t, --listTitle [listTitle]`
23
- : Title of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
23
+ : Title of the list where the item should be removed. Specify either `listTitle`, `listId` or `listUrl`
24
24
 
25
25
  `--listUrl [listUrl]`
26
26
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
@@ -35,19 +35,19 @@ m365 spo listitem remove [options]
35
35
 
36
36
  ## Examples
37
37
 
38
- Remove the list item with ID _1_ from list with ID _0cd891ef-afce-4e55-b836-fce03286cccf_ located in site _https://contoso.sharepoint.com/sites/project-x_
38
+ Remove the list item located in a given site based on the list id
39
39
 
40
40
  ```sh
41
41
  m365 spo listitem remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --id 1
42
42
  ```
43
43
 
44
- Remove the list item with ID _1_ from list with title _List 1_ located in site _https://contoso.sharepoint.com/sites/project-x_
44
+ Remove the list item located in a given site based on the list title
45
45
 
46
46
  ```sh
47
47
  m365 spo listitem remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'List 1' --id 1
48
48
  ```
49
49
 
50
- Remove the list item with a specific ID from a list retrieved by server-relative URL located in a specific site
50
+ Remove the list item located in a given site based on the server-relative list url
51
51
 
52
52
  ```sh
53
53
  m365 spo listitem remove --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/lists/TestList --id 1
@@ -0,0 +1,55 @@
1
+ # spo listitem retentionlabel remove
2
+
3
+ Clears the retention label from a list item
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo listitem retentionlabel remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the retentionlabel from a listitem to remove is located
15
+
16
+ `-i, --listItemId <listItemId>`
17
+ : The ID of the list item for which the retention label should be removed.
18
+
19
+ `-l, --listId [listId]`
20
+ : ID of the list where the retention label should be removed. Specify either `listTitle`, `listId` or `listUrl`
21
+
22
+ `-t, --listTitle [listTitle]`
23
+ : Title of the list where the retention label should be removed. Specify either `listTitle`, `listId` or `listUrl`
24
+
25
+ `--listUrl [listUrl]`
26
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
27
+
28
+ `--confirm`
29
+ : Don't prompt for confirming removing the retention label from a list item
30
+
31
+ --8<-- "docs/cmd/_global.md"
32
+
33
+ ## Examples
34
+
35
+ Removes the retention label from a list item in a given site based on the list id
36
+
37
+ ```sh
38
+ m365 spo listitem retentionlabel remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --listItemId 1
39
+ ```
40
+
41
+ Removes the retention label from a list item in a given site based on the list title
42
+
43
+ ```sh
44
+ m365 spo listitem retentionlabel remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'List 1' --listItemId 1
45
+ ```
46
+
47
+ Removes the retention label from a list item in a given site based on the server relative list url
48
+
49
+ ```sh
50
+ m365 spo listitem retentionlabel remove --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/lists/TestList --listItemId 1
51
+ ```
52
+
53
+ ## Response
54
+
55
+ The command won't return a response on success.
@@ -11,13 +11,13 @@ m365 spo orgassetslibrary add [options]
11
11
  ## Options
12
12
 
13
13
  `--libraryUrl <libraryUrl>`
14
- : The URL of the library to promote
14
+ : The URL of the library to promote.
15
15
 
16
16
  `--thumbnailUrl <thumbnailUrl>`
17
- : The URL of the thumbnail to render
17
+ : The URL of the thumbnail to render.
18
18
 
19
19
  `--cdnType [cdnType]`
20
- : Specifies the CDN type. `Public,Private`. Default is `Private`
20
+ : Specifies the CDN type. Allowed values `Public`, `Private`. Default `Private`.
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
@@ -29,11 +29,15 @@ m365 spo orgassetslibrary add [options]
29
29
  Promotes an existing library to become an organization assets library
30
30
 
31
31
  ```sh
32
- m365 spo orgassetslibrary add --libraryUrl "https://contoso.sharepoint.com/assets"
32
+ m365 spo orgassetslibrary add --libraryUrl "https://contoso.sharepoint.com/SiteAssets"
33
33
  ```
34
34
 
35
35
  Promotes an existing library to become an organization assets library with Thumbnail
36
36
 
37
37
  ```sh
38
- m365 spo orgassetslibrary --libraryUrl "https://contoso.sharepoint.com/assets" --thumbnailUrl "https://contoso.sharepoint.com/assets/logo.png"
38
+ m365 spo orgassetslibrary --libraryUrl "https://contoso.sharepoint.com/SiteAssets" --thumbnailUrl "https://contoso.sharepoint.com/assets/logo.png"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ The command won't return a response on success.
@@ -22,3 +22,45 @@ List all libraries that are assigned as asset library
22
22
  ```sh
23
23
  m365 spo orgassetslibrary list
24
24
  ```
25
+
26
+ ## Response
27
+
28
+ ### Standard response
29
+
30
+ === "JSON"
31
+
32
+ ```json
33
+ {
34
+ "Url": "/",
35
+ "Libraries": [
36
+ {
37
+ "DisplayName": "Site Assets",
38
+ "LibraryUrl": "SiteAssets",
39
+ "ListId": "/Guid(0a327c3f-ba82-4b19-bfa1-628405539420)/",
40
+ "ThumbnailUrl": null
41
+ }
42
+ ]
43
+ }
44
+ ```
45
+
46
+ === "Text"
47
+
48
+ ```text
49
+ Libraries: [{"DisplayName":"Site Assets","LibraryUrl":"SiteAssets","ListId":"/Guid(0a327c3f-ba82-4b19-bfa1-628405539420)/","ThumbnailUrl":null}]
50
+ Url : /
51
+ ```
52
+
53
+ === "CSV"
54
+
55
+ ```csv
56
+ Url,Libraries
57
+ /,"[{""DisplayName"":""Site Assets"",""LibraryUrl"":""SiteAssets"",""ListId"":""/Guid(0a327c3f-ba82-4b19-bfa1-628405539420)/"",""ThumbnailUrl"":null}]"
58
+ ```
59
+
60
+ ### Response when no library is assigned as asset library
61
+
62
+ === "Text"
63
+
64
+ ```text
65
+ No libraries in Organization Assets
66
+ ```