@pnp/cli-microsoft365 6.1.0-beta.fd67be0 → 6.2.0-beta.01dcbcb

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 (623) hide show
  1. package/.eslintrc.js +8 -0
  2. package/dist/Auth.js +3 -3
  3. package/dist/Command.js +98 -14
  4. package/dist/GlobalOptions.js +2 -0
  5. package/dist/auth/FileTokenStorage.js +3 -3
  6. package/dist/cli/Cli.js +19 -64
  7. package/dist/index.js +2 -5
  8. package/dist/m365/aad/commands/app/app-add.js +6 -6
  9. package/dist/m365/aad/commands/app/app-get.js +6 -6
  10. package/dist/m365/aad/commands/app/app-remove.js +6 -6
  11. package/dist/m365/aad/commands/app/app-role-add.js +6 -6
  12. package/dist/m365/aad/commands/app/app-role-list.js +6 -6
  13. package/dist/m365/aad/commands/app/app-role-remove.js +6 -6
  14. package/dist/m365/aad/commands/app/app-set.js +6 -6
  15. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +6 -6
  16. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +6 -6
  17. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +6 -6
  18. package/dist/m365/aad/commands/group/group-get.js +79 -0
  19. package/dist/m365/aad/commands/group/group-list.js +6 -6
  20. package/dist/m365/aad/commands/groupsetting/groupsetting-add.js +6 -6
  21. package/dist/m365/aad/commands/groupsetting/groupsetting-get.js +6 -6
  22. package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +6 -6
  23. package/dist/m365/aad/commands/groupsetting/groupsetting-set.js +6 -6
  24. package/dist/m365/aad/commands/groupsettingtemplate/groupsettingtemplate-get.js +6 -6
  25. package/dist/m365/aad/commands/o365group/o365group-add.js +22 -15
  26. package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +6 -6
  27. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +6 -6
  28. package/dist/m365/aad/commands/o365group/o365group-get.js +6 -6
  29. package/dist/m365/aad/commands/o365group/o365group-list.js +6 -6
  30. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +6 -6
  31. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
  32. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +6 -6
  33. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +6 -6
  34. package/dist/m365/aad/commands/o365group/o365group-remove.js +7 -7
  35. package/dist/m365/aad/commands/o365group/o365group-renew.js +6 -6
  36. package/dist/m365/aad/commands/o365group/o365group-set.js +14 -15
  37. package/dist/m365/aad/commands/o365group/o365group-teamify.js +6 -6
  38. package/dist/m365/aad/commands/o365group/o365group-user-add.js +8 -8
  39. package/dist/m365/aad/commands/o365group/o365group-user-list.js +6 -6
  40. package/dist/m365/aad/commands/o365group/o365group-user-remove.js +8 -8
  41. package/dist/m365/aad/commands/o365group/o365group-user-set.js +8 -8
  42. package/dist/m365/aad/commands/oauth2grant/oauth2grant-add.js +6 -6
  43. package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +6 -6
  44. package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +5 -5
  45. package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +5 -5
  46. package/dist/m365/aad/commands/policy/policy-list.js +6 -6
  47. package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +6 -6
  48. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +6 -6
  49. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +6 -6
  50. package/dist/m365/aad/commands/sp/sp-add.js +6 -6
  51. package/dist/m365/aad/commands/sp/sp-get.js +6 -6
  52. package/dist/m365/aad/commands/user/user-get.js +6 -6
  53. package/dist/m365/aad/commands/user/user-guest-add.js +6 -6
  54. package/dist/m365/aad/commands/user/user-hibp.js +6 -6
  55. package/dist/m365/aad/commands/user/user-list.js +6 -6
  56. package/dist/m365/aad/commands/user/user-password-validate.js +5 -5
  57. package/dist/m365/aad/commands/user/user-set.js +100 -23
  58. package/dist/m365/aad/commands/user/user-signin-list.js +6 -6
  59. package/dist/m365/aad/commands.js +1 -0
  60. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +6 -6
  61. package/dist/m365/app/commands/app-open.js +6 -6
  62. package/dist/m365/base/AppCommand.js +3 -3
  63. package/dist/m365/base/ContextCommand.js +33 -0
  64. package/dist/m365/booking/commands/business/business-get.js +7 -7
  65. package/dist/m365/cli/commands/cli-consent.js +6 -6
  66. package/dist/m365/cli/commands/cli-issue.js +6 -6
  67. package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +5 -5
  68. package/dist/m365/cli/commands/config/config-get.js +6 -6
  69. package/dist/m365/cli/commands/config/config-reset.js +6 -6
  70. package/dist/m365/cli/commands/config/config-set.js +8 -7
  71. package/dist/m365/commands/login.js +6 -6
  72. package/dist/m365/commands/request.js +8 -8
  73. package/dist/m365/context/commands/context-init.js +28 -0
  74. package/dist/m365/context/commands/context-remove.js +103 -0
  75. package/dist/m365/context/commands.js +8 -0
  76. package/dist/m365/file/commands/convert/convert-pdf.js +6 -6
  77. package/dist/m365/file/commands/file-add.js +6 -6
  78. package/dist/m365/file/commands/file-list.js +8 -8
  79. package/dist/m365/flow/commands/environment/environment-get.js +5 -5
  80. package/dist/m365/flow/commands/flow-disable.js +5 -5
  81. package/dist/m365/flow/commands/flow-enable.js +5 -5
  82. package/dist/m365/flow/commands/flow-export.js +6 -6
  83. package/dist/m365/flow/commands/flow-get.js +5 -5
  84. package/dist/m365/flow/commands/flow-list.js +6 -6
  85. package/dist/m365/flow/commands/flow-remove.js +6 -6
  86. package/dist/m365/flow/commands/run/run-cancel.js +6 -6
  87. package/dist/m365/flow/commands/run/run-get.js +5 -5
  88. package/dist/m365/flow/commands/run/run-list.js +5 -5
  89. package/dist/m365/flow/commands/run/run-resubmit.js +6 -6
  90. package/dist/m365/graph/commands/changelog/changelog-list.js +9 -9
  91. package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +6 -6
  92. package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +5 -5
  93. package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +6 -6
  94. package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +6 -6
  95. package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +6 -6
  96. package/dist/m365/graph/commands/subscription/subscription-add.js +6 -6
  97. package/dist/m365/onenote/commands/notebook/notebook-list.js +6 -6
  98. package/dist/m365/outlook/commands/mail/mail-send.js +12 -12
  99. package/dist/m365/outlook/commands/message/message-get.js +6 -6
  100. package/dist/m365/outlook/commands/message/message-list.js +6 -6
  101. package/dist/m365/outlook/commands/message/message-move.js +6 -6
  102. package/dist/m365/outlook/commands/room/room-list.js +6 -6
  103. package/dist/m365/pa/cds-project-mutator.js +3 -3
  104. package/dist/m365/pa/commands/app/app-get.js +8 -8
  105. package/dist/m365/pa/commands/app/app-list.js +7 -7
  106. package/dist/m365/pa/commands/app/app-remove.js +6 -6
  107. package/dist/m365/pa/commands/connector/connector-export.js +7 -7
  108. package/dist/m365/pa/commands/connector/connector-list.js +5 -5
  109. package/dist/m365/pa/commands/environment/environment-get.js +5 -5
  110. package/dist/m365/pa/commands/pcf/pcf-init.js +6 -6
  111. package/dist/m365/pa/commands/solution/solution-init.js +6 -6
  112. package/dist/m365/pa/commands/solution/solution-reference-add.js +6 -6
  113. package/dist/m365/planner/commands/bucket/bucket-add.js +8 -8
  114. package/dist/m365/planner/commands/bucket/bucket-get.js +6 -6
  115. package/dist/m365/planner/commands/bucket/bucket-list.js +8 -8
  116. package/dist/m365/planner/commands/bucket/bucket-remove.js +6 -6
  117. package/dist/m365/planner/commands/bucket/bucket-set.js +6 -6
  118. package/dist/m365/planner/commands/plan/plan-add.js +8 -8
  119. package/dist/m365/planner/commands/plan/plan-get.js +8 -8
  120. package/dist/m365/planner/commands/plan/plan-list.js +6 -6
  121. package/dist/m365/planner/commands/plan/plan-remove.js +6 -6
  122. package/dist/m365/planner/commands/plan/plan-set.js +8 -8
  123. package/dist/m365/planner/commands/task/task-add.js +6 -6
  124. package/dist/m365/planner/commands/task/task-checklistitem-add.js +6 -6
  125. package/dist/m365/planner/commands/task/task-checklistitem-list.js +5 -5
  126. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +6 -6
  127. package/dist/m365/planner/commands/task/task-get.js +6 -6
  128. package/dist/m365/planner/commands/task/task-list.js +7 -7
  129. package/dist/m365/planner/commands/task/task-reference-add.js +6 -6
  130. package/dist/m365/planner/commands/task/task-reference-list.js +5 -5
  131. package/dist/m365/planner/commands/task/task-reference-remove.js +6 -6
  132. package/dist/m365/planner/commands/task/task-remove.js +6 -6
  133. package/dist/m365/planner/commands/task/task-set.js +6 -6
  134. package/dist/m365/planner/commands/tenant/tenant-settings-set.js +6 -6
  135. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +68 -0
  136. package/dist/m365/pp/commands/card/card-clone.js +6 -6
  137. package/dist/m365/pp/commands/card/card-get.js +8 -8
  138. package/dist/m365/pp/commands/card/card-list.js +6 -6
  139. package/dist/m365/pp/commands/card/card-remove.js +6 -6
  140. package/dist/m365/pp/commands/chatbot/chatbot-get.js +111 -0
  141. package/dist/m365/pp/commands/chatbot/chatbot-list.js +6 -6
  142. package/dist/m365/pp/commands/chatbot/chatbot-remove.js +131 -0
  143. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +6 -6
  144. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -6
  145. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +6 -6
  146. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +95 -0
  147. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +133 -0
  148. package/dist/m365/pp/commands/environment/environment-get.js +11 -19
  149. package/dist/m365/pp/commands/environment/environment-list.js +6 -6
  150. package/dist/m365/pp/commands/gateway/gateway-get.js +6 -6
  151. package/dist/m365/pp/commands/managementapp/managementapp-add.js +6 -6
  152. package/dist/m365/pp/commands/solution/solution-get.js +8 -8
  153. package/dist/m365/pp/commands/solution/solution-list.js +6 -6
  154. package/dist/m365/pp/commands/solution/solution-publisher-add.js +101 -0
  155. package/dist/m365/pp/commands/solution/solution-publisher-get.js +8 -8
  156. package/dist/m365/pp/commands/solution/solution-publisher-list.js +6 -6
  157. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +6 -6
  158. package/dist/m365/pp/commands/solution/solution-remove.js +6 -6
  159. package/dist/m365/pp/commands.js +6 -0
  160. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +70 -0
  161. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +38 -0
  162. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +92 -0
  163. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +142 -0
  164. package/dist/m365/purview/commands.js +10 -0
  165. package/dist/m365/search/commands/externalconnection/externalconnection-add.js +6 -6
  166. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +6 -6
  167. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +6 -6
  168. package/dist/m365/search/commands/externalconnection/externalconnection-schema-add.js +86 -0
  169. package/dist/m365/search/commands.js +2 -1
  170. package/dist/m365/spfx/commands/package/package-generate.js +6 -6
  171. package/dist/m365/spfx/commands/project/project-doctor.js +14 -9
  172. package/dist/m365/spfx/commands/project/project-externalize.js +14 -9
  173. package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -3
  174. package/dist/m365/spfx/commands/project/project-model/TsFile.js +3 -3
  175. package/dist/m365/spfx/commands/project/project-rename.js +6 -6
  176. package/dist/m365/spfx/commands/project/project-upgrade.js +14 -9
  177. package/dist/m365/spfx/commands/spfx-doctor.js +9 -9
  178. package/dist/m365/spo/commands/app/app-add.js +6 -6
  179. package/dist/m365/spo/commands/app/app-deploy.js +6 -6
  180. package/dist/m365/spo/commands/app/app-get.js +6 -6
  181. package/dist/m365/spo/commands/app/app-install.js +6 -6
  182. package/dist/m365/spo/commands/app/app-instance-list.js +6 -6
  183. package/dist/m365/spo/commands/app/app-list.js +7 -7
  184. package/dist/m365/spo/commands/app/app-remove.js +6 -6
  185. package/dist/m365/spo/commands/app/app-retract.js +6 -6
  186. package/dist/m365/spo/commands/app/app-teamspackage-download.js +6 -6
  187. package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
  188. package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
  189. package/dist/m365/spo/commands/apppage/apppage-add.js +6 -6
  190. package/dist/m365/spo/commands/apppage/apppage-set.js +6 -6
  191. package/dist/m365/spo/commands/cdn/cdn-get.js +6 -6
  192. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +6 -6
  193. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +6 -6
  194. package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +6 -6
  195. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +6 -6
  196. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +6 -6
  197. package/dist/m365/spo/commands/cdn/cdn-set.js +12 -13
  198. package/dist/m365/spo/commands/contenttype/contenttype-add.js +6 -6
  199. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +6 -6
  200. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +15 -24
  201. package/dist/m365/spo/commands/contenttype/contenttype-get.js +6 -6
  202. package/dist/m365/spo/commands/contenttype/contenttype-list.js +7 -7
  203. package/dist/m365/spo/commands/contenttype/contenttype-remove.js +6 -6
  204. package/dist/m365/spo/commands/contenttype/contenttype-set.js +6 -6
  205. package/dist/m365/spo/commands/customaction/customaction-add.js +6 -6
  206. package/dist/m365/spo/commands/customaction/customaction-clear.js +6 -6
  207. package/dist/m365/spo/commands/customaction/customaction-get.js +6 -6
  208. package/dist/m365/spo/commands/customaction/customaction-list.js +7 -7
  209. package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -6
  210. package/dist/m365/spo/commands/customaction/customaction-set.js +7 -7
  211. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +6 -6
  212. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +7 -7
  213. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +6 -6
  214. package/dist/m365/spo/commands/externaluser/externaluser-list.js +6 -6
  215. package/dist/m365/spo/commands/feature/feature-disable.js +6 -6
  216. package/dist/m365/spo/commands/feature/feature-enable.js +6 -6
  217. package/dist/m365/spo/commands/feature/feature-list.js +6 -6
  218. package/dist/m365/spo/commands/field/field-add.js +6 -6
  219. package/dist/m365/spo/commands/field/field-get.js +6 -6
  220. package/dist/m365/spo/commands/field/field-list.js +7 -7
  221. package/dist/m365/spo/commands/field/field-remove.js +6 -6
  222. package/dist/m365/spo/commands/field/field-set.js +6 -6
  223. package/dist/m365/spo/commands/file/GraphFileDetails.js +3 -0
  224. package/dist/m365/spo/commands/file/file-add.js +9 -9
  225. package/dist/m365/spo/commands/file/file-checkin.js +6 -6
  226. package/dist/m365/spo/commands/file/file-checkout.js +6 -6
  227. package/dist/m365/spo/commands/file/file-copy.js +6 -6
  228. package/dist/m365/spo/commands/file/file-get.js +6 -6
  229. package/dist/m365/spo/commands/file/file-list.js +6 -6
  230. package/dist/m365/spo/commands/file/file-move.js +6 -6
  231. package/dist/m365/spo/commands/file/file-remove.js +6 -6
  232. package/dist/m365/spo/commands/file/file-rename.js +6 -6
  233. package/dist/m365/spo/commands/file/file-roleassignment-add.js +6 -6
  234. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +6 -6
  235. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +6 -6
  236. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +6 -6
  237. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +15 -15
  238. package/dist/m365/spo/commands/file/file-sharinglink-list.js +120 -0
  239. package/dist/m365/spo/commands/file/file-version-clear.js +6 -6
  240. package/dist/m365/spo/commands/file/file-version-get.js +6 -6
  241. package/dist/m365/spo/commands/file/file-version-list.js +8 -8
  242. package/dist/m365/spo/commands/file/file-version-remove.js +6 -6
  243. package/dist/m365/spo/commands/file/file-version-restore.js +6 -6
  244. package/dist/m365/spo/commands/folder/folder-add.js +6 -6
  245. package/dist/m365/spo/commands/folder/folder-copy.js +6 -6
  246. package/dist/m365/spo/commands/folder/folder-get.js +6 -6
  247. package/dist/m365/spo/commands/folder/folder-list.js +7 -7
  248. package/dist/m365/spo/commands/folder/folder-move.js +6 -6
  249. package/dist/m365/spo/commands/folder/folder-remove.js +6 -6
  250. package/dist/m365/spo/commands/folder/folder-rename.js +6 -6
  251. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +6 -6
  252. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -6
  253. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +6 -6
  254. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +6 -6
  255. package/dist/m365/spo/commands/group/group-add.js +22 -24
  256. package/dist/m365/spo/commands/group/group-get.js +6 -6
  257. package/dist/m365/spo/commands/group/group-list.js +7 -7
  258. package/dist/m365/spo/commands/group/group-member-add.js +76 -38
  259. package/dist/m365/spo/commands/group/group-member-list.js +8 -8
  260. package/dist/m365/spo/commands/group/group-member-remove.js +55 -12
  261. package/dist/m365/spo/commands/group/group-remove.js +6 -6
  262. package/dist/m365/spo/commands/group/group-set.js +22 -24
  263. package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +12 -17
  264. package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -6
  265. package/dist/m365/spo/commands/homesite/homesite-set.js +6 -6
  266. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +6 -6
  267. package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +6 -6
  268. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +6 -6
  269. package/dist/m365/spo/commands/hubsite/hubsite-get.js +6 -6
  270. package/dist/m365/spo/commands/hubsite/hubsite-list.js +8 -8
  271. package/dist/m365/spo/commands/hubsite/hubsite-register.js +6 -6
  272. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +6 -6
  273. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +6 -6
  274. package/dist/m365/spo/commands/hubsite/hubsite-set.js +6 -6
  275. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +6 -6
  276. package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +6 -6
  277. package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +6 -6
  278. package/dist/m365/spo/commands/list/list-add.js +60 -73
  279. package/dist/m365/spo/commands/list/list-contenttype-add.js +6 -6
  280. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +6 -6
  281. package/dist/m365/spo/commands/list/list-contenttype-list.js +8 -8
  282. package/dist/m365/spo/commands/list/list-contenttype-remove.js +6 -6
  283. package/dist/m365/spo/commands/list/list-get.js +6 -6
  284. package/dist/m365/spo/commands/list/list-list.js +6 -6
  285. package/dist/m365/spo/commands/list/list-remove.js +6 -6
  286. package/dist/m365/spo/commands/list/{list-label-set.js → list-retentionlabel-ensure.js} +28 -18
  287. package/dist/m365/spo/commands/list/{list-label-get.js → list-retentionlabel-get.js} +22 -18
  288. package/dist/m365/spo/commands/list/list-roleassignment-add.js +6 -6
  289. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +6 -6
  290. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +6 -6
  291. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +6 -6
  292. package/dist/m365/spo/commands/list/list-set.js +59 -71
  293. package/dist/m365/spo/commands/list/list-sitescript-get.js +6 -6
  294. package/dist/m365/spo/commands/list/list-view-add.js +6 -6
  295. package/dist/m365/spo/commands/list/list-view-field-add.js +6 -6
  296. package/dist/m365/spo/commands/list/list-view-field-remove.js +6 -6
  297. package/dist/m365/spo/commands/list/list-view-field-set.js +6 -6
  298. package/dist/m365/spo/commands/list/list-view-get.js +6 -6
  299. package/dist/m365/spo/commands/list/list-view-list.js +8 -8
  300. package/dist/m365/spo/commands/list/list-view-remove.js +6 -6
  301. package/dist/m365/spo/commands/list/list-view-set.js +8 -8
  302. package/dist/m365/spo/commands/list/list-webhook-add.js +6 -6
  303. package/dist/m365/spo/commands/list/list-webhook-get.js +6 -6
  304. package/dist/m365/spo/commands/list/list-webhook-list.js +8 -8
  305. package/dist/m365/spo/commands/list/list-webhook-remove.js +6 -6
  306. package/dist/m365/spo/commands/list/list-webhook-set.js +6 -6
  307. package/dist/m365/spo/commands/listitem/listitem-add.js +9 -9
  308. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +6 -6
  309. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +26 -19
  310. package/dist/m365/spo/commands/listitem/listitem-get.js +9 -9
  311. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +6 -6
  312. package/dist/m365/spo/commands/listitem/listitem-list.js +6 -6
  313. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +6 -6
  314. package/dist/m365/spo/commands/listitem/listitem-record-lock.js +129 -0
  315. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +6 -6
  316. package/dist/m365/spo/commands/listitem/listitem-record-unlock.js +129 -0
  317. package/dist/m365/spo/commands/listitem/listitem-remove.js +7 -7
  318. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +143 -0
  319. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +6 -6
  320. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +6 -6
  321. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +6 -6
  322. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +6 -6
  323. package/dist/m365/spo/commands/listitem/listitem-set.js +9 -9
  324. package/dist/m365/spo/commands/mail/mail-send.js +6 -6
  325. package/dist/m365/spo/commands/navigation/navigation-node-add.js +6 -6
  326. package/dist/m365/spo/commands/navigation/navigation-node-list.js +6 -6
  327. package/dist/m365/spo/commands/navigation/navigation-node-remove.js +6 -6
  328. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +6 -6
  329. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +5 -5
  330. package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +6 -6
  331. package/dist/m365/spo/commands/orgnewssite/orgnewssite-set.js +6 -6
  332. package/dist/m365/spo/commands/page/clientsidepages.js +3 -3
  333. package/dist/m365/spo/commands/page/page-add.js +66 -69
  334. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +6 -6
  335. package/dist/m365/spo/commands/page/page-column-get.js +6 -6
  336. package/dist/m365/spo/commands/page/page-column-list.js +6 -6
  337. package/dist/m365/spo/commands/page/page-control-get.js +6 -6
  338. package/dist/m365/spo/commands/page/page-control-list.js +6 -6
  339. package/dist/m365/spo/commands/page/page-control-set.js +6 -6
  340. package/dist/m365/spo/commands/page/page-copy.js +7 -7
  341. package/dist/m365/spo/commands/page/page-get.js +6 -6
  342. package/dist/m365/spo/commands/page/page-header-set.js +6 -6
  343. package/dist/m365/spo/commands/page/page-list.js +6 -6
  344. package/dist/m365/spo/commands/page/page-remove.js +6 -6
  345. package/dist/m365/spo/commands/page/page-section-add.js +6 -6
  346. package/dist/m365/spo/commands/page/page-section-get.js +6 -6
  347. package/dist/m365/spo/commands/page/page-section-list.js +6 -6
  348. package/dist/m365/spo/commands/page/page-set.js +70 -83
  349. package/dist/m365/spo/commands/page/page-template-list.js +6 -6
  350. package/dist/m365/spo/commands/page/page-text-add.js +6 -6
  351. package/dist/m365/spo/commands/propertybag/propertybag-get.js +6 -6
  352. package/dist/m365/spo/commands/propertybag/propertybag-list.js +6 -6
  353. package/dist/m365/spo/commands/propertybag/propertybag-remove.js +6 -6
  354. package/dist/m365/spo/commands/propertybag/propertybag-set.js +6 -6
  355. package/dist/m365/spo/commands/roledefinition/roledefinition-add.js +7 -7
  356. package/dist/m365/spo/commands/roledefinition/roledefinition-get.js +6 -6
  357. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +6 -6
  358. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +6 -6
  359. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-add.js +5 -5
  360. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +5 -5
  361. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +76 -27
  362. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +6 -6
  363. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +14 -22
  364. package/dist/m365/spo/commands/site/site-add.js +7 -7
  365. package/dist/m365/spo/commands/site/site-appcatalog-add.js +6 -6
  366. package/dist/m365/spo/commands/site/site-appcatalog-list.js +43 -0
  367. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +6 -6
  368. package/dist/m365/spo/commands/site/site-apppermission-add.js +6 -6
  369. package/dist/m365/spo/commands/site/site-apppermission-get.js +6 -6
  370. package/dist/m365/spo/commands/site/site-apppermission-list.js +6 -6
  371. package/dist/m365/spo/commands/site/site-apppermission-remove.js +6 -6
  372. package/dist/m365/spo/commands/site/site-apppermission-set.js +6 -6
  373. package/dist/m365/spo/commands/site/site-chrome-set.js +19 -13
  374. package/dist/m365/spo/commands/site/site-commsite-enable.js +6 -6
  375. package/dist/m365/spo/commands/site/site-ensure.js +14 -10
  376. package/dist/m365/spo/commands/site/site-get.js +6 -6
  377. package/dist/m365/spo/commands/site/site-groupify.js +6 -6
  378. package/dist/m365/spo/commands/site/site-hubsite-connect.js +6 -6
  379. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +6 -6
  380. package/dist/m365/spo/commands/site/site-hubsite-theme-sync.js +6 -6
  381. package/dist/m365/spo/commands/site/site-inplacerecordsmanagement-set.js +14 -14
  382. package/dist/m365/spo/commands/site/site-list.js +7 -7
  383. package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +7 -7
  384. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +6 -6
  385. package/dist/m365/spo/commands/site/site-remove.js +6 -6
  386. package/dist/m365/spo/commands/site/site-rename.js +6 -6
  387. package/dist/m365/spo/commands/site/site-set.js +23 -37
  388. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -6
  389. package/dist/m365/spo/commands/sitedesign/sitedesign-apply.js +6 -6
  390. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +6 -6
  391. package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +6 -6
  392. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +6 -6
  393. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +6 -6
  394. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +6 -6
  395. package/dist/m365/spo/commands/sitedesign/sitedesign-run-list.js +7 -7
  396. package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +6 -6
  397. package/dist/m365/spo/commands/sitedesign/sitedesign-set.js +14 -15
  398. package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +6 -6
  399. package/dist/m365/spo/commands/sitedesign/sitedesign-task-list.js +6 -6
  400. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +6 -6
  401. package/dist/m365/spo/commands/sitescript/sitescript-add.js +6 -6
  402. package/dist/m365/spo/commands/sitescript/sitescript-get.js +6 -6
  403. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +6 -6
  404. package/dist/m365/spo/commands/sitescript/sitescript-set.js +6 -6
  405. package/dist/m365/spo/commands/spo-search.js +6 -6
  406. package/dist/m365/spo/commands/spo-set.js +6 -6
  407. package/dist/m365/spo/commands/storageentity/storageentity-get.js +5 -5
  408. package/dist/m365/spo/commands/storageentity/storageentity-list.js +6 -6
  409. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +6 -6
  410. package/dist/m365/spo/commands/storageentity/storageentity-set.js +6 -6
  411. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +6 -6
  412. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +6 -6
  413. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +6 -6
  414. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +73 -63
  415. package/dist/m365/spo/commands/term/term-add.js +6 -6
  416. package/dist/m365/spo/commands/term/term-get.js +6 -6
  417. package/dist/m365/spo/commands/term/term-group-add.js +6 -6
  418. package/dist/m365/spo/commands/term/term-group-get.js +6 -6
  419. package/dist/m365/spo/commands/term/term-list.js +8 -8
  420. package/dist/m365/spo/commands/term/term-set-add.js +6 -6
  421. package/dist/m365/spo/commands/term/term-set-get.js +6 -6
  422. package/dist/m365/spo/commands/term/term-set-list.js +6 -6
  423. package/dist/m365/spo/commands/theme/theme-apply.js +6 -6
  424. package/dist/m365/spo/commands/theme/theme-get.js +5 -5
  425. package/dist/m365/spo/commands/theme/theme-remove.js +6 -6
  426. package/dist/m365/spo/commands/theme/theme-set.js +6 -6
  427. package/dist/m365/spo/commands/user/user-get.js +6 -6
  428. package/dist/m365/spo/commands/user/user-list.js +6 -6
  429. package/dist/m365/spo/commands/user/user-remove.js +6 -6
  430. package/dist/m365/spo/commands/userprofile/userprofile-get.js +6 -6
  431. package/dist/m365/spo/commands/userprofile/userprofile-set.js +5 -5
  432. package/dist/m365/spo/commands/web/web-add.js +6 -6
  433. package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +6 -6
  434. package/dist/m365/spo/commands/web/web-get.js +6 -6
  435. package/dist/m365/spo/commands/web/web-installedlanguage-list.js +6 -6
  436. package/dist/m365/spo/commands/web/web-list.js +6 -6
  437. package/dist/m365/spo/commands/web/web-reindex.js +6 -6
  438. package/dist/m365/spo/commands/web/web-remove.js +6 -6
  439. package/dist/m365/spo/commands/web/web-retentionlabel-list.js +63 -0
  440. package/dist/m365/spo/commands/web/web-roleassignment-add.js +6 -6
  441. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +6 -6
  442. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +6 -6
  443. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +6 -6
  444. package/dist/m365/spo/commands/web/web-set.js +18 -31
  445. package/dist/m365/spo/commands.js +8 -0
  446. package/dist/m365/teams/commands/app/app-install.js +6 -6
  447. package/dist/m365/teams/commands/app/app-list.js +7 -7
  448. package/dist/m365/teams/commands/app/app-publish.js +6 -6
  449. package/dist/m365/teams/commands/app/app-remove.js +6 -6
  450. package/dist/m365/teams/commands/app/app-uninstall.js +6 -6
  451. package/dist/m365/teams/commands/app/app-update.js +6 -6
  452. package/dist/m365/teams/commands/cache/cache-remove.js +30 -46
  453. package/dist/m365/teams/commands/channel/channel-add.js +6 -6
  454. package/dist/m365/teams/commands/channel/channel-get.js +6 -6
  455. package/dist/m365/teams/commands/channel/channel-list.js +8 -8
  456. package/dist/m365/teams/commands/channel/channel-member-add.js +6 -6
  457. package/dist/m365/teams/commands/channel/channel-member-list.js +9 -9
  458. package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -6
  459. package/dist/m365/teams/commands/channel/channel-member-set.js +6 -6
  460. package/dist/m365/teams/commands/channel/channel-remove.js +6 -6
  461. package/dist/m365/teams/commands/channel/channel-set.js +6 -6
  462. package/dist/m365/teams/commands/chat/chat-get.js +6 -6
  463. package/dist/m365/teams/commands/chat/chat-list.js +7 -7
  464. package/dist/m365/teams/commands/chat/chat-member-list.js +6 -6
  465. package/dist/m365/teams/commands/chat/chat-message-list.js +6 -6
  466. package/dist/m365/teams/commands/chat/chat-message-send.js +6 -6
  467. package/dist/m365/teams/commands/funsettings/funsettings-list.js +6 -6
  468. package/dist/m365/teams/commands/funsettings/funsettings-set.js +18 -25
  469. package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +6 -6
  470. package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +18 -26
  471. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +7 -7
  472. package/dist/m365/teams/commands/meeting/meeting-get.js +6 -6
  473. package/dist/m365/teams/commands/meeting/meeting-list.js +7 -7
  474. package/dist/m365/teams/commands/membersettings/membersettings-list.js +6 -6
  475. package/dist/m365/teams/commands/membersettings/membersettings-set.js +24 -29
  476. package/dist/m365/teams/commands/message/message-get.js +6 -6
  477. package/dist/m365/teams/commands/message/message-list.js +7 -7
  478. package/dist/m365/teams/commands/message/message-reply-list.js +6 -6
  479. package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +6 -6
  480. package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +26 -29
  481. package/dist/m365/teams/commands/report/report-directroutingcalls.js +7 -7
  482. package/dist/m365/teams/commands/report/report-pstncalls.js +7 -7
  483. package/dist/m365/teams/commands/tab/tab-add.js +7 -7
  484. package/dist/m365/teams/commands/tab/tab-get.js +6 -6
  485. package/dist/m365/teams/commands/tab/tab-list.js +6 -6
  486. package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
  487. package/dist/m365/teams/commands/team/team-add.js +6 -6
  488. package/dist/m365/teams/commands/team/team-app-list.js +8 -8
  489. package/dist/m365/teams/commands/team/team-archive.js +6 -6
  490. package/dist/m365/teams/commands/team/team-clone.js +6 -6
  491. package/dist/m365/teams/commands/team/team-get.js +6 -6
  492. package/dist/m365/teams/commands/team/team-list.js +6 -6
  493. package/dist/m365/teams/commands/team/team-remove.js +6 -6
  494. package/dist/m365/teams/commands/team/team-set.js +6 -6
  495. package/dist/m365/teams/commands/team/team-unarchive.js +6 -6
  496. package/dist/m365/teams/commands/user/user-app-add.js +6 -6
  497. package/dist/m365/teams/commands/user/user-app-list.js +6 -6
  498. package/dist/m365/teams/commands/user/user-app-remove.js +6 -6
  499. package/dist/m365/teams/commands/user/user-list.js +6 -6
  500. package/dist/m365/tenant/commands/id/id-get.js +6 -6
  501. package/dist/m365/tenant/commands/security/security-alerts-list.js +6 -6
  502. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +6 -6
  503. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +6 -6
  504. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +5 -5
  505. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +5 -5
  506. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +6 -6
  507. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +6 -6
  508. package/dist/m365/todo/commands/list/list-add.js +5 -5
  509. package/dist/m365/todo/commands/list/list-get.js +7 -7
  510. package/dist/m365/todo/commands/list/list-remove.js +6 -6
  511. package/dist/m365/todo/commands/list/list-set.js +6 -6
  512. package/dist/m365/todo/commands/task/task-add.js +6 -6
  513. package/dist/m365/todo/commands/task/task-get.js +7 -7
  514. package/dist/m365/todo/commands/task/task-list.js +7 -7
  515. package/dist/m365/todo/commands/task/task-remove.js +6 -6
  516. package/dist/m365/todo/commands/task/task-set.js +6 -6
  517. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +6 -6
  518. package/dist/m365/viva/commands/connections/connections-app-create.js +6 -6
  519. package/dist/m365/yammer/commands/group/group-list.js +6 -6
  520. package/dist/m365/yammer/commands/group/group-user-add.js +6 -6
  521. package/dist/m365/yammer/commands/group/group-user-remove.js +6 -6
  522. package/dist/m365/yammer/commands/message/message-add.js +7 -7
  523. package/dist/m365/yammer/commands/message/message-get.js +6 -6
  524. package/dist/m365/yammer/commands/message/message-like-set.js +15 -16
  525. package/dist/m365/yammer/commands/message/message-list.js +8 -8
  526. package/dist/m365/yammer/commands/message/message-remove.js +6 -6
  527. package/dist/m365/yammer/commands/network/network-list.js +6 -6
  528. package/dist/m365/yammer/commands/user/user-get.js +7 -7
  529. package/dist/m365/yammer/commands/user/user-list.js +8 -8
  530. package/dist/m365/yammer/commands/yammer-search.js +6 -6
  531. package/dist/request.js +41 -40
  532. package/dist/settingsNames.js +1 -0
  533. package/dist/telemetry.js +29 -0
  534. package/dist/utils/md.js +10 -1
  535. package/dist/utils/pid.js +31 -15
  536. package/docs/docs/_clisettings.md +1 -0
  537. package/docs/docs/cmd/_global.md +1 -1
  538. package/docs/docs/cmd/aad/group/group-get.md +127 -0
  539. package/docs/docs/cmd/aad/user/user-set.md +31 -3
  540. package/docs/docs/cmd/context/context-init.md +25 -0
  541. package/docs/docs/cmd/context/context-remove.md +34 -0
  542. package/docs/docs/cmd/planner/bucket/bucket-add.md +17 -0
  543. package/docs/docs/cmd/planner/bucket/bucket-get.md +17 -0
  544. package/docs/docs/cmd/planner/bucket/bucket-list.md +17 -0
  545. package/docs/docs/cmd/planner/plan/plan-add.md +40 -0
  546. package/docs/docs/cmd/planner/plan/plan-get.md +21 -0
  547. package/docs/docs/cmd/planner/plan/plan-list.md +19 -0
  548. package/docs/docs/cmd/planner/plan/plan-set.md +20 -0
  549. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +95 -0
  550. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +123 -0
  551. package/docs/docs/cmd/pp/chatbot/chatbot-remove.md +52 -0
  552. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +90 -0
  553. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.md +61 -0
  554. package/docs/docs/cmd/pp/environment/environment-get.md +11 -3
  555. package/docs/docs/cmd/pp/solution/solution-publisher-add.md +49 -0
  556. package/docs/docs/cmd/pp/solution/solution-publisher-remove.md +1 -1
  557. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +95 -0
  558. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +81 -0
  559. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +36 -0
  560. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +63 -0
  561. package/docs/docs/cmd/search/externalconnection/externalconnection-schema-add.md +31 -0
  562. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +97 -0
  563. package/docs/docs/cmd/spo/group/group-member-add.md +58 -6
  564. package/docs/docs/cmd/spo/group/group-member-remove.md +24 -8
  565. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +65 -0
  566. package/docs/docs/cmd/spo/list/{list-label-get.md → list-retentionlabel-get.md} +17 -11
  567. package/docs/docs/cmd/spo/listitem/listitem-record-lock.md +52 -0
  568. package/docs/docs/cmd/spo/listitem/listitem-record-unlock.md +52 -0
  569. package/docs/docs/cmd/spo/listitem/listitem-remove.md +6 -6
  570. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.md +55 -0
  571. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +9 -5
  572. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +42 -0
  573. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +25 -3
  574. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +22 -0
  575. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +6 -2
  576. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +5 -1
  577. package/docs/docs/cmd/spo/page/page-add.md +13 -9
  578. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +6 -2
  579. package/docs/docs/cmd/spo/page/page-column-get.md +68 -5
  580. package/docs/docs/cmd/spo/page/page-column-list.md +36 -4
  581. package/docs/docs/cmd/spo/page/page-control-get.md +70 -3
  582. package/docs/docs/cmd/spo/page/page-control-list.md +69 -3
  583. package/docs/docs/cmd/spo/page/page-control-set.md +11 -7
  584. package/docs/docs/cmd/spo/page/page-copy.md +65 -4
  585. package/docs/docs/cmd/spo/page/page-get.md +100 -4
  586. package/docs/docs/cmd/spo/page/page-header-set.md +17 -13
  587. package/docs/docs/cmd/spo/page/page-list.md +122 -1
  588. package/docs/docs/cmd/spo/page/page-remove.md +9 -5
  589. package/docs/docs/cmd/spo/page/page-section-add.md +10 -6
  590. package/docs/docs/cmd/spo/page/page-section-get.md +36 -4
  591. package/docs/docs/cmd/spo/page/page-section-list.md +38 -3
  592. package/docs/docs/cmd/spo/page/page-set.md +10 -10
  593. package/docs/docs/cmd/spo/page/page-template-list.md +58 -1
  594. package/docs/docs/cmd/spo/page/page-text-add.md +9 -5
  595. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +28 -8
  596. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +35 -7
  597. package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +13 -9
  598. package/docs/docs/cmd/spo/propertybag/propertybag-set.md +13 -5
  599. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +34 -2
  600. package/docs/docs/cmd/spo/report/report-activitypages.md +31 -2
  601. package/docs/docs/cmd/spo/report/report-activityusercounts.md +35 -2
  602. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +40 -3
  603. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +43 -3
  604. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +33 -2
  605. package/docs/docs/cmd/spo/report/report-siteusagepages.md +32 -2
  606. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +33 -2
  607. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +32 -2
  608. package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +10 -6
  609. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +80 -2
  610. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +76 -2
  611. package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +9 -5
  612. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +39 -2
  613. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +32 -0
  614. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +6 -2
  615. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +45 -2
  616. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +6 -2
  617. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +30 -0
  618. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +36 -2
  619. package/docs/docs/cmd/spo/site/site-appcatalog-list.md +55 -0
  620. package/docs/docs/cmd/spo/web/web-retentionlabel-list.md +74 -0
  621. package/npm-shrinkwrap.json +248 -188
  622. package/package.json +14 -11
  623. 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.
@@ -10,11 +10,13 @@ m365 pp environment get [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-n, --name <name>`
14
- : The name of the environment to get information about
13
+ `-n, --name [name]`
14
+ : The name of the environment. When not specified, the default environment is retrieved.
15
15
 
16
16
  `--asAdmin`
17
- : Run the command as admin and retrieve details of environments you do not have explicitly assigned permissions to
17
+ : Run the command as admin and retrieve details of environments you do not have explicitly assigned permissions to.
18
+
19
+ --8<-- "docs/cmd/_global.md"
18
20
 
19
21
  ## Remarks
20
22
 
@@ -37,6 +39,12 @@ Get information as admin about the Power Platform environment by name
37
39
  m365 pp environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
38
40
  ```
39
41
 
42
+ Get information about the default Power Platform environment
43
+
44
+ ```sh
45
+ m365 pp environment get
46
+ ```
47
+
40
48
  ## Response
41
49
 
42
50
  === "JSON"
@@ -0,0 +1,49 @@
1
+ # pp solution publisher add
2
+
3
+ Adds a specified publisher in a given environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp solution publisher add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment.
15
+
16
+ `-n, --name <name>`
17
+ : The unique name of the publisher.
18
+
19
+ `--displayName <displayName>`
20
+ : The friendly name of the publisher.
21
+
22
+ `--prefix <prefix>`
23
+ : The prefix of the publisher.
24
+
25
+ `--choiceValuePrefix <choiceValuePrefix>`
26
+ : The choice value prefix of the publisher.
27
+
28
+ `--asAdmin`
29
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
30
+
31
+ --8<-- "docs/cmd/_global.md"
32
+
33
+ ## Examples
34
+
35
+ Add a specific publisher in a specific environment
36
+
37
+ ```sh
38
+ m365 pp solution publisher add --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "Contoso" --displayName "Contoso" --prefix "new" --choiceValuePrefix 10000
39
+ ```
40
+
41
+ Adds a specific publisher in a specific environment as Admin
42
+
43
+ ```sh
44
+ m365 pp solution publisher add --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "Contoso" --displayName "Contoso" --prefix "new" --choiceValuePrefix 10000 --asAdmin
45
+ ```
46
+
47
+ ## Response
48
+
49
+ The command won't return a response on success.
@@ -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,95 @@
1
+ # purview retentionlabel get
2
+
3
+ Get a retention label
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 purview retentionlabel get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : The Id of the retention label.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Get a retention label
21
+
22
+ ```sh
23
+ m365 purview retentionlabel get --id c37d695e-d581-4ae9-82a0-9364eba4291e
24
+ ```
25
+
26
+ ## Remarks
27
+
28
+ !!! attention
29
+ 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.
30
+
31
+ ## Response
32
+
33
+
34
+ === "JSON"
35
+
36
+ ```json
37
+ {
38
+ "displayName": "TEST LABEL",
39
+ "descriptionForAdmins": "",
40
+ "descriptionForUsers": "",
41
+ "isInUse": false,
42
+ "retentionTrigger": "dateCreated",
43
+ "behaviorDuringRetentionPeriod": "retain",
44
+ "actionAfterRetentionPeriod": "delete",
45
+ "createdDateTime": "2022-12-12T15:14:53Z",
46
+ "lastModifiedDateTime": "2022-12-12T15:43:06Z",
47
+ "labelToBeApplied": "",
48
+ "defaultRecordBehavior": "startLocked",
49
+ "id": "5c8af2e2-b489-4fa0-9c16-180180245ac8",
50
+ "retentionDuration": {
51
+ "days": 100
52
+ },
53
+ "createdBy": {
54
+ "user": {
55
+ "id": null,
56
+ "displayName": "John Doe"
57
+ }
58
+ },
59
+ "lastModifiedBy": {
60
+ "user": {
61
+ "id": null,
62
+ "displayName": "John Doe"
63
+ }
64
+ },
65
+ "dispositionReviewStages": []
66
+ }
67
+ ```
68
+
69
+ === "Text"
70
+
71
+ ```text
72
+ actionAfterRetentionPeriod : delete
73
+ behaviorDuringRetentionPeriod: retain
74
+ createdBy : {"user":{"id":null,"displayName":"John Doe"}}
75
+ createdDateTime : 2022-12-12T15:14:53Z
76
+ defaultRecordBehavior : startLocked
77
+ descriptionForAdmins :
78
+ descriptionForUsers :
79
+ displayName : TEST LABEL
80
+ dispositionReviewStages : []
81
+ id : 5c8af2e2-b489-4fa0-9c16-180180245ac8
82
+ isInUse : false
83
+ labelToBeApplied :
84
+ lastModifiedBy : {"user":{"id":null,"displayName":"John Doe"}}
85
+ lastModifiedDateTime : 2022-12-12T15:43:06Z
86
+ retentionDuration : {"days":100}
87
+ retentionTrigger : dateCreated
88
+ ```
89
+
90
+ === "CSV"
91
+
92
+ ```csv
93
+ displayName,descriptionForAdmins,descriptionForUsers,isInUse,retentionTrigger,behaviorDuringRetentionPeriod,actionAfterRetentionPeriod,createdDateTime,lastModifiedDateTime,labelToBeApplied,defaultRecordBehavior,id,retentionDuration,createdBy,lastModifiedBy,dispositionReviewStages
94
+ TEST LABEL,,,,dateCreated,retain,delete,2022-12-12T15:14:53Z,2022-12-12T15:43:06Z,,startLocked,5c8af2e2-b489-4fa0-9c16-180180245ac8,"{""days"":100}","{""user"":{""id"":null,""displayName"":""John Doe""}}","{""user"":{""id"":null,""displayName"":""John Doe""}}",[]
95
+ ```
@@ -0,0 +1,81 @@
1
+ # purview retentionlabel list
2
+
3
+ Get a list of retention labels
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 purview retentionlabel list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ --8<-- "docs/cmd/_global.md"
14
+
15
+ ## Examples
16
+
17
+ Get a list of retention labels
18
+
19
+ ```sh
20
+ m365 purview retentionlabel list
21
+ ```
22
+
23
+ ## Remarks
24
+
25
+ !!! attention
26
+ 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.
27
+
28
+ ## Response
29
+
30
+
31
+ === "JSON"
32
+
33
+ ```json
34
+ [
35
+ {
36
+ "displayName": "Some label",
37
+ "descriptionForAdmins": "",
38
+ "descriptionForUsers": null,
39
+ "isInUse": true,
40
+ "retentionTrigger": "dateCreated",
41
+ "behaviorDuringRetentionPeriod": "retainAsRecord",
42
+ "actionAfterRetentionPeriod": "delete",
43
+ "createdDateTime": "2022-11-03T10:28:15Z",
44
+ "lastModifiedDateTime": "2022-11-03T10:28:15Z",
45
+ "labelToBeApplied": null,
46
+ "defaultRecordBehavior": "startLocked",
47
+ "id": "dc67203a-6cca-4066-b501-903401308f98",
48
+ "retentionDuration": {
49
+ "days": 365
50
+ },
51
+ "createdBy": {
52
+ "user": {
53
+ "id": "b52ffd35-d6fe-4b70-86d8-91cc01d76333",
54
+ "displayName": null
55
+ }
56
+ },
57
+ "lastModifiedBy": {
58
+ "user": {
59
+ "id": "b52ffd35-d6fe-4b70-86d8-91cc01d76333",
60
+ "displayName": null
61
+ }
62
+ },
63
+ "dispositionReviewStages": []
64
+ }
65
+ ]
66
+ ```
67
+
68
+ === "Text"
69
+
70
+ ```text
71
+ id displayName isInUse
72
+ ------------------------------------ -------------- --------
73
+ dc67203a-6cca-4066-b501-903401308f98 Some label true
74
+ ```
75
+
76
+ === "CSV"
77
+
78
+ ```csv
79
+ id,displayName,isInUse
80
+ dc67203a-6cca-4066-b501-903401308f98,Some label,true
81
+ ```
@@ -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.
@@ -0,0 +1,31 @@
1
+ # search externalconnection schema add
2
+
3
+ This command allows the administrator to add a schema to a specific external connection for use in Microsoft Search.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 search externalconnection schema add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --externalConnectionId <externalConnectionId>`
14
+ : ID of the External Connection.
15
+
16
+ `-s, --schema [schema]`
17
+ : The schema object to be added.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ Adds a new schema to a specific external connection.
24
+
25
+ ```sh
26
+ m365 search externalconnection schema add --externalConnectionId 'CliConnectionId' --schema '{"baseType":"microsoft.graph.externalItem","properties":[{"name":"ticketTitle","type":"String","isSearchable":"true","isRetrievable":"true","labels":["title"]},{"name":"priority","type":"String","isQueryable":"true","isRetrievable":"true","isSearchable":"false"},{"name":"assignee","type":"String","isRetrievable":"true"}]}'
27
+ ```
28
+
29
+ ## Response
30
+
31
+ The command won't return a response on success.
@@ -0,0 +1,97 @@
1
+ # spo file sharinglink list
2
+
3
+ Lists all the sharing links of a specific file
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo file sharinglink list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : The URL of the site where the file is located.
15
+
16
+ `-f, --fileUrl [fileUrl]`
17
+ : The server-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
18
+
19
+ `-i, --fileId [fileId]`
20
+ : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ List sharing links of a file by id
27
+
28
+ ```sh
29
+ m365 spo file sharinglink list --webUrl https://contoso.sharepoint.com/sites/demo --fileId daebb04b-a773-4baa-b1d1-3625418e3234
30
+ ```
31
+
32
+ List sharing links of a file by url
33
+
34
+ ```sh
35
+ m365 spo file sharinglink list --webUrl https://contoso.sharepoint.com/sites/demo --fileUrl "/sites/demo/shared documents/document.docx"
36
+ ```
37
+
38
+ ## Response
39
+
40
+ === "JSON"
41
+
42
+ ```json
43
+ [
44
+ {
45
+ "id": "2a021f54-90a2-4016-b3b3-5f34d2e7d932",
46
+ "roles": [
47
+ "read"
48
+ ],
49
+ "hasPassword": false,
50
+ "grantedToIdentitiesV2": [
51
+ {
52
+ "user": {
53
+ "displayName": "John Doe",
54
+ "email": "john@contoso.onmicrosoft.com",
55
+ "id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a"
56
+ },
57
+ "siteUser": {
58
+ "displayName": "John Doe",
59
+ "email": "john@contoso.onmicrosoft.com",
60
+ "id": "9",
61
+ "loginName": "i:0#.f|membership|john@contoso.onmicrosoft.com"
62
+ }
63
+ }
64
+ ],
65
+ "grantedToIdentities": [
66
+ {
67
+ "user": {
68
+ "displayName": "John Doe",
69
+ "email": "john@contoso.onmicrosoft.com",
70
+ "id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a"
71
+ }
72
+ }
73
+ ],
74
+ "link": {
75
+ "scope": "anonymous",
76
+ "type": "view",
77
+ "webUrl": "https://contoso.sharepoint.com/:b:/s/demo/EY50lub3559MtRKfj2hrZqoBWnHOpGIcgi4gzw9XiWYJ-A",
78
+ "preventsDownload": false
79
+ }
80
+ }
81
+ ]
82
+ ```
83
+
84
+ === "Text"
85
+
86
+ ```text
87
+ id roles link
88
+ ------------------------------------ ----- -----------------------------------------------------------------------------------------------------------
89
+ 2a021f54-90a2-4016-b3b3-5f34d2e7d932 read https://contoso.sharepoint.com/:b:/s/demo/EY50lub3559MtRKfj2hrZqoBWnHOpGIcgi4gzw9XiWYJ-A
90
+ ```
91
+
92
+ === "CSV"
93
+
94
+ ```csv
95
+ id,roles,link
96
+ 2a021f54-90a2-4016-b3b3-5f34d2e7d932,read,https://contoso.sharepoint.com/:b:/s/demo/EY50lub3559MtRKfj2hrZqoBWnHOpGIcgi4gzw9XiWYJ-A
97
+ ```
@@ -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
+ ```