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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/dist/Auth.js +1 -2
  2. package/dist/m365/aad/commands/app/app-add.js +4 -5
  3. package/dist/m365/aad/commands/app/app-remove.js +0 -4
  4. package/dist/m365/aad/commands/app/app-role-remove.js +0 -4
  5. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +11 -11
  6. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +10 -10
  7. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +10 -10
  8. package/dist/m365/aad/commands/o365group/o365group-add.js +2 -7
  9. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +6 -6
  10. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +0 -3
  11. package/dist/m365/aad/commands/o365group/o365group-teamify.js +7 -7
  12. package/dist/m365/aad/commands/policy/policy-list.js +6 -6
  13. package/dist/m365/aad/commands/sp/sp-get.js +12 -12
  14. package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
  15. package/dist/m365/aad/commands.js +1 -3
  16. package/dist/m365/cli/commands/config/config-set.js +0 -1
  17. package/dist/m365/flow/commands/flow-disable.js +2 -2
  18. package/dist/m365/flow/commands/flow-enable.js +2 -2
  19. package/dist/m365/flow/commands/flow-export.js +5 -5
  20. package/dist/m365/flow/commands/flow-get.js +2 -2
  21. package/dist/m365/flow/commands/flow-list.js +2 -2
  22. package/dist/m365/flow/commands/flow-remove.js +3 -3
  23. package/dist/m365/flow/commands/run/run-cancel.js +6 -6
  24. package/dist/m365/flow/commands/run/run-get.js +4 -4
  25. package/dist/m365/flow/commands/run/run-list.js +4 -4
  26. package/dist/m365/flow/commands/run/run-resubmit.js +7 -7
  27. package/dist/m365/outlook/commands/mail/mail-send.js +0 -3
  28. package/dist/m365/outlook/commands/message/message-get.js +97 -0
  29. package/dist/m365/outlook/commands/message/message-move.js +2 -2
  30. package/dist/m365/outlook/commands.js +2 -2
  31. package/dist/m365/pa/commands/connector/connector-export.js +3 -3
  32. package/dist/m365/pa/commands/connector/connector-list.js +2 -2
  33. package/dist/m365/pa/commands/solution/solution-reference-add.js +7 -7
  34. package/dist/m365/planner/commands/bucket/bucket-add.js +2 -9
  35. package/dist/m365/planner/commands/bucket/bucket-get.js +4 -11
  36. package/dist/m365/planner/commands/bucket/bucket-list.js +2 -9
  37. package/dist/m365/planner/commands/bucket/bucket-remove.js +4 -11
  38. package/dist/m365/planner/commands/bucket/bucket-set.js +4 -11
  39. package/dist/m365/planner/commands/plan/plan-get.js +5 -24
  40. package/dist/m365/planner/commands/task/task-add.js +3 -8
  41. package/dist/m365/planner/commands/task/task-get.js +5 -19
  42. package/dist/m365/planner/commands/task/task-list.js +4 -11
  43. package/dist/m365/planner/commands/task/task-set.js +5 -10
  44. package/dist/m365/planner/commands.js +0 -2
  45. package/dist/m365/spfx/commands/package/package-generate.js +2 -2
  46. package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +1 -1
  47. package/dist/m365/spo/commands/app/app-add.js +7 -7
  48. package/dist/m365/spo/commands/app/app-deploy.js +7 -7
  49. package/dist/m365/spo/commands/app/app-get.js +7 -7
  50. package/dist/m365/spo/commands/app/app-install.js +6 -6
  51. package/dist/m365/spo/commands/app/app-list.js +7 -7
  52. package/dist/m365/spo/commands/app/app-remove.js +7 -7
  53. package/dist/m365/spo/commands/app/app-retract.js +7 -7
  54. package/dist/m365/spo/commands/app/app-uninstall.js +6 -6
  55. package/dist/m365/spo/commands/app/app-upgrade.js +6 -6
  56. package/dist/m365/spo/commands/apppage/apppage-set.js +2 -2
  57. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +7 -7
  58. package/dist/m365/spo/commands/cdn/cdn-policy-set.js +7 -7
  59. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +13 -13
  60. package/dist/m365/spo/commands/customaction/customaction-add.js +3 -3
  61. package/dist/m365/spo/commands/customaction/customaction-clear.js +3 -3
  62. package/dist/m365/spo/commands/customaction/customaction-get.js +5 -4
  63. package/dist/m365/spo/commands/customaction/customaction-list.js +5 -4
  64. package/dist/m365/spo/commands/customaction/customaction-remove.js +6 -5
  65. package/dist/m365/spo/commands/customaction/customaction-set.js +3 -3
  66. package/dist/m365/spo/commands/feature/feature-disable.js +4 -4
  67. package/dist/m365/spo/commands/feature/feature-enable.js +5 -5
  68. package/dist/m365/spo/commands/feature/feature-list.js +3 -3
  69. package/dist/m365/spo/commands/field/field-get.js +1 -7
  70. package/dist/m365/spo/commands/field/field-remove.js +1 -7
  71. package/dist/m365/spo/commands/field/field-set.js +1 -8
  72. package/dist/m365/spo/commands/file/file-checkin.js +5 -5
  73. package/dist/m365/spo/commands/file/file-checkout.js +5 -5
  74. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +13 -13
  75. package/dist/m365/spo/commands/folder/folder-get.js +6 -6
  76. package/dist/m365/spo/commands/folder/folder-remove.js +3 -3
  77. package/dist/m365/spo/commands/folder/folder-rename.js +4 -4
  78. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
  79. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
  80. package/dist/m365/spo/commands/hubsite/hubsite-register.js +4 -4
  81. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +4 -4
  82. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +5 -5
  83. package/dist/m365/spo/commands/knowledgehub/knowledgehub-set.js +4 -4
  84. package/dist/m365/spo/commands/list/list-contenttype-add.js +4 -4
  85. package/dist/m365/spo/commands/list/list-contenttype-remove.js +5 -5
  86. package/dist/m365/spo/commands/list/list-list.js +3 -13
  87. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +50 -29
  88. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +46 -25
  89. package/dist/m365/spo/commands/list/list-view-field-add.js +20 -20
  90. package/dist/m365/spo/commands/list/list-view-field-remove.js +11 -11
  91. package/dist/m365/spo/commands/list/list-view-field-set.js +15 -15
  92. package/dist/m365/spo/commands/list/list-view-get.js +9 -9
  93. package/dist/m365/spo/commands/list/list-view-remove.js +11 -11
  94. package/dist/m365/spo/commands/list/list-view-set.js +11 -11
  95. package/dist/m365/spo/commands/list/list-webhook-list.js +4 -28
  96. package/dist/m365/spo/commands/listitem/listitem-list.js +3 -28
  97. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +4 -4
  98. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +4 -4
  99. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +50 -29
  100. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +48 -24
  101. package/dist/m365/spo/commands/page/page-column-get.js +2 -2
  102. package/dist/m365/spo/commands/page/page-column-list.js +2 -2
  103. package/dist/m365/spo/commands/page/page-control-get.js +4 -4
  104. package/dist/m365/spo/commands/page/page-control-list.js +3 -3
  105. package/dist/m365/spo/commands/page/page-control-set.js +3 -3
  106. package/dist/m365/spo/commands/page/page-section-add.js +2 -2
  107. package/dist/m365/spo/commands/page/page-section-get.js +2 -2
  108. package/dist/m365/spo/commands/page/page-section-list.js +2 -2
  109. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
  110. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +2 -2
  111. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +4 -4
  112. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-deny.js +4 -4
  113. package/dist/m365/spo/commands/site/site-add.js +4 -11
  114. package/dist/m365/spo/commands/site/site-appcatalog-add.js +3 -3
  115. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +3 -3
  116. package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -2
  117. package/dist/m365/spo/commands/site/site-apppermission-remove.js +5 -5
  118. package/dist/m365/spo/commands/site/site-apppermission-set.js +5 -5
  119. package/dist/m365/spo/commands/site/site-chrome-set.js +3 -3
  120. package/dist/m365/spo/commands/site/site-ensure.js +1 -1
  121. package/dist/m365/spo/commands/site/site-groupify.js +3 -3
  122. package/dist/m365/spo/commands/{hubsite/hubsite-connect.js → site/site-hubsite-connect.js} +17 -17
  123. package/dist/m365/spo/commands/{hubsite/hubsite-disconnect.js → site/site-hubsite-disconnect.js} +18 -18
  124. package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
  125. package/dist/m365/spo/commands/site/site-list.js +6 -17
  126. package/dist/m365/spo/commands/site/site-rename.js +9 -9
  127. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-grant.js +4 -4
  128. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-list.js +4 -4
  129. package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +5 -5
  130. package/dist/m365/spo/commands/sitedesign/sitedesign-task-get.js +4 -4
  131. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +5 -5
  132. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +5 -5
  133. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +3 -3
  134. package/dist/m365/spo/commands/web/web-add.js +4 -4
  135. package/dist/m365/spo/commands/web/web-get.js +3 -3
  136. package/dist/m365/spo/commands/web/web-list.js +4 -4
  137. package/dist/m365/spo/commands/web/web-reindex.js +8 -8
  138. package/dist/m365/spo/commands/web/web-remove.js +5 -5
  139. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +41 -15
  140. package/dist/m365/spo/commands/web/web-set.js +4 -4
  141. package/dist/m365/spo/commands.js +3 -6
  142. package/dist/m365/teams/commands/app/app-install.js +4 -4
  143. package/dist/m365/teams/commands/app/app-uninstall.js +3 -3
  144. package/dist/m365/teams/commands/channel/channel-get.js +10 -10
  145. package/dist/m365/teams/commands/channel/channel-member-add.js +0 -4
  146. package/dist/m365/teams/commands/channel/channel-member-list.js +0 -4
  147. package/dist/m365/teams/commands/channel/channel-member-remove.js +0 -4
  148. package/dist/m365/teams/commands/channel/channel-remove.js +16 -16
  149. package/dist/m365/teams/commands/channel/channel-set.js +7 -7
  150. package/dist/m365/teams/commands/message/message-get.js +3 -3
  151. package/dist/m365/teams/commands/tab/tab-get.js +10 -10
  152. package/dist/m365/teams/commands/tab/tab-remove.js +6 -6
  153. package/dist/m365/teams/commands/team/team-archive.js +3 -13
  154. package/dist/m365/teams/commands/team/team-clone.js +3 -20
  155. package/dist/m365/teams/commands/team/team-remove.js +5 -17
  156. package/dist/m365/teams/commands/team/team-set.js +1 -20
  157. package/dist/m365/teams/commands/team/team-unarchive.js +4 -16
  158. package/dist/m365/teams/commands/user/user-app-add.js +4 -4
  159. package/dist/m365/teams/commands/user/user-app-remove.js +3 -3
  160. package/dist/m365/teams/commands.js +0 -3
  161. package/dist/m365/viva/commands/connections/connections-app-create.js +9 -9
  162. package/dist/m365/yammer/commands/group/group-user-add.js +8 -8
  163. package/dist/m365/yammer/commands/group/group-user-remove.js +11 -11
  164. package/dist/m365/yammer/commands/message/message-like-set.js +5 -5
  165. package/dist/m365/yammer/commands/user/user-get.js +5 -5
  166. package/dist/settingsNames.js +0 -1
  167. package/docs/docs/_clisettings.md +1 -2
  168. package/docs/docs/cmd/aad/app/app-remove.md +0 -6
  169. package/docs/docs/cmd/aad/app/app-role-remove.md +0 -6
  170. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
  171. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.md +5 -5
  172. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +5 -5
  173. package/docs/docs/cmd/aad/o365group/o365group-add.md +3 -3
  174. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.md +7 -7
  175. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +0 -6
  176. package/docs/docs/cmd/aad/o365group/o365group-teamify.md +4 -4
  177. package/docs/docs/cmd/aad/policy/policy-list.md +2 -2
  178. package/docs/docs/cmd/aad/sp/sp-get.md +5 -5
  179. package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
  180. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +3 -0
  181. package/docs/docs/cmd/flow/flow-disable.md +3 -3
  182. package/docs/docs/cmd/flow/flow-enable.md +1 -1
  183. package/docs/docs/cmd/flow/flow-export.md +5 -5
  184. package/docs/docs/cmd/flow/flow-get.md +3 -3
  185. package/docs/docs/cmd/flow/flow-list.md +3 -3
  186. package/docs/docs/cmd/flow/flow-remove.md +5 -5
  187. package/docs/docs/cmd/flow/run/run-cancel.md +3 -3
  188. package/docs/docs/cmd/flow/run/run-get.md +3 -3
  189. package/docs/docs/cmd/flow/run/run-list.md +3 -3
  190. package/docs/docs/cmd/flow/run/run-resubmit.md +4 -4
  191. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
  192. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
  193. package/docs/docs/cmd/outlook/mail/mail-send.md +0 -6
  194. package/docs/docs/cmd/outlook/message/message-get.md +48 -0
  195. package/docs/docs/cmd/outlook/message/message-move.md +4 -4
  196. package/docs/docs/cmd/pa/connector/connector-export.md +3 -3
  197. package/docs/docs/cmd/pa/connector/connector-list.md +2 -2
  198. package/docs/docs/cmd/pa/solution/solution-reference-add.md +2 -2
  199. package/docs/docs/cmd/planner/bucket/bucket-add.md +0 -3
  200. package/docs/docs/cmd/planner/bucket/bucket-get.md +0 -3
  201. package/docs/docs/cmd/planner/bucket/bucket-list.md +0 -3
  202. package/docs/docs/cmd/planner/bucket/bucket-remove.md +0 -3
  203. package/docs/docs/cmd/planner/bucket/bucket-set.md +0 -3
  204. package/docs/docs/cmd/planner/plan/plan-get.md +0 -12
  205. package/docs/docs/cmd/planner/task/task-add.md +0 -3
  206. package/docs/docs/cmd/planner/task/task-get.md +0 -6
  207. package/docs/docs/cmd/planner/task/task-list.md +0 -3
  208. package/docs/docs/cmd/planner/task/task-set.md +0 -3
  209. package/docs/docs/cmd/spfx/package/package-generate.md +2 -2
  210. package/docs/docs/cmd/spo/app/app-add.md +2 -2
  211. package/docs/docs/cmd/spo/app/app-deploy.md +2 -2
  212. package/docs/docs/cmd/spo/app/app-get.md +2 -2
  213. package/docs/docs/cmd/spo/app/app-install.md +2 -2
  214. package/docs/docs/cmd/spo/app/app-list.md +2 -2
  215. package/docs/docs/cmd/spo/app/app-remove.md +2 -2
  216. package/docs/docs/cmd/spo/app/app-retract.md +2 -2
  217. package/docs/docs/cmd/spo/app/app-uninstall.md +2 -2
  218. package/docs/docs/cmd/spo/app/app-upgrade.md +2 -2
  219. package/docs/docs/cmd/spo/apppage/apppage-set.md +2 -2
  220. package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
  221. package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
  222. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.md +4 -4
  223. package/docs/docs/cmd/spo/customaction/customaction-add.md +13 -10
  224. package/docs/docs/cmd/spo/customaction/customaction-clear.md +4 -4
  225. package/docs/docs/cmd/spo/customaction/customaction-get.md +5 -5
  226. package/docs/docs/cmd/spo/customaction/customaction-list.md +4 -4
  227. package/docs/docs/cmd/spo/customaction/customaction-remove.md +9 -9
  228. package/docs/docs/cmd/spo/customaction/customaction-set.md +10 -9
  229. package/docs/docs/cmd/spo/feature/feature-disable.md +4 -4
  230. package/docs/docs/cmd/spo/feature/feature-enable.md +2 -2
  231. package/docs/docs/cmd/spo/feature/feature-list.md +3 -3
  232. package/docs/docs/cmd/spo/field/field-get.md +0 -3
  233. package/docs/docs/cmd/spo/field/field-remove.md +0 -3
  234. package/docs/docs/cmd/spo/field/field-set.md +4 -4
  235. package/docs/docs/cmd/spo/file/file-checkin.md +6 -6
  236. package/docs/docs/cmd/spo/file/file-checkout.md +4 -4
  237. package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +7 -7
  238. package/docs/docs/cmd/spo/folder/folder-get.md +3 -3
  239. package/docs/docs/cmd/spo/folder/folder-remove.md +3 -3
  240. package/docs/docs/cmd/spo/folder/folder-rename.md +2 -2
  241. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
  242. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
  243. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
  244. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +4 -4
  245. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +3 -3
  246. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +2 -2
  247. package/docs/docs/cmd/spo/list/list-contenttype-add.md +4 -4
  248. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +4 -4
  249. package/docs/docs/cmd/spo/list/list-list.md +0 -3
  250. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -0
  251. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +9 -0
  252. package/docs/docs/cmd/spo/list/list-view-field-add.md +8 -8
  253. package/docs/docs/cmd/spo/list/list-view-field-remove.md +6 -6
  254. package/docs/docs/cmd/spo/list/list-view-field-set.md +7 -7
  255. package/docs/docs/cmd/spo/list/list-view-get.md +7 -7
  256. package/docs/docs/cmd/spo/list/list-view-remove.md +8 -8
  257. package/docs/docs/cmd/spo/list/list-view-set.md +20 -9
  258. package/docs/docs/cmd/spo/list/list-webhook-list.md +3 -9
  259. package/docs/docs/cmd/spo/listitem/listitem-list.md +0 -6
  260. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +5 -5
  261. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +3 -3
  262. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +9 -0
  263. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +5 -2
  264. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +5 -10
  265. package/docs/docs/cmd/spo/page/page-column-get.md +3 -3
  266. package/docs/docs/cmd/spo/page/page-column-list.md +3 -3
  267. package/docs/docs/cmd/spo/page/page-control-get.md +3 -3
  268. package/docs/docs/cmd/spo/page/page-control-list.md +3 -3
  269. package/docs/docs/cmd/spo/page/page-control-set.md +6 -5
  270. package/docs/docs/cmd/spo/page/page-section-add.md +3 -3
  271. package/docs/docs/cmd/spo/page/page-section-get.md +3 -3
  272. package/docs/docs/cmd/spo/page/page-section-list.md +3 -3
  273. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +2 -2
  274. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +2 -2
  275. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +2 -2
  276. package/docs/docs/cmd/spo/site/site-add.md +2 -5
  277. package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -2
  278. package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +2 -2
  279. package/docs/docs/cmd/spo/site/site-apppermission-get.md +2 -2
  280. package/docs/docs/cmd/spo/site/site-apppermission-remove.md +2 -2
  281. package/docs/docs/cmd/spo/site/site-apppermission-set.md +5 -5
  282. package/docs/docs/cmd/spo/site/site-chrome-set.md +4 -4
  283. package/docs/docs/cmd/spo/site/site-groupify.md +5 -11
  284. package/docs/docs/cmd/spo/{hubsite/hubsite-connect.md → site/site-hubsite-connect.md} +7 -7
  285. package/docs/docs/cmd/spo/{hubsite/hubsite-disconnect.md → site/site-hubsite-disconnect.md} +8 -8
  286. package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
  287. package/docs/docs/cmd/spo/site/site-list.md +6 -6
  288. package/docs/docs/cmd/spo/site/site-rename.md +6 -6
  289. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.md +4 -4
  290. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.md +3 -3
  291. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.md +3 -3
  292. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.md +2 -2
  293. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.md +5 -5
  294. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
  295. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +6 -3
  296. package/docs/docs/cmd/spo/term/term-add.md +5 -0
  297. package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
  298. package/docs/docs/cmd/spo/web/web-add.md +4 -4
  299. package/docs/docs/cmd/spo/web/web-get.md +3 -3
  300. package/docs/docs/cmd/spo/web/web-list.md +2 -2
  301. package/docs/docs/cmd/spo/web/web-reindex.md +2 -2
  302. package/docs/docs/cmd/spo/web/web-remove.md +2 -2
  303. package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +9 -0
  304. package/docs/docs/cmd/spo/web/web-set.md +9 -9
  305. package/docs/docs/cmd/teams/app/app-install.md +5 -5
  306. package/docs/docs/cmd/teams/app/app-uninstall.md +3 -3
  307. package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
  308. package/docs/docs/cmd/teams/channel/channel-member-add.md +0 -6
  309. package/docs/docs/cmd/teams/channel/channel-member-list.md +0 -6
  310. package/docs/docs/cmd/teams/channel/channel-member-remove.md +0 -6
  311. package/docs/docs/cmd/teams/channel/channel-remove.md +7 -7
  312. package/docs/docs/cmd/teams/channel/channel-set.md +4 -4
  313. package/docs/docs/cmd/teams/message/message-get.md +3 -3
  314. package/docs/docs/cmd/teams/tab/tab-get.md +6 -6
  315. package/docs/docs/cmd/teams/tab/tab-remove.md +4 -4
  316. package/docs/docs/cmd/teams/team/team-archive.md +0 -3
  317. package/docs/docs/cmd/teams/team/team-clone.md +0 -6
  318. package/docs/docs/cmd/teams/team/team-remove.md +0 -3
  319. package/docs/docs/cmd/teams/team/team-set.md +0 -6
  320. package/docs/docs/cmd/teams/team/team-unarchive.md +0 -3
  321. package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
  322. package/docs/docs/cmd/teams/user/user-app-remove.md +3 -3
  323. package/docs/docs/cmd/viva/connections/connections-app-create.md +2 -2
  324. package/docs/docs/cmd/yammer/group/group-user-add.md +5 -5
  325. package/docs/docs/cmd/yammer/group/group-user-remove.md +5 -5
  326. package/docs/docs/cmd/yammer/message/message-like-set.md +4 -4
  327. package/docs/docs/cmd/yammer/user/user-get.md +2 -2
  328. package/npm-shrinkwrap.json +2 -2
  329. package/package.json +1 -1
  330. package/dist/m365/spo/commands/site/site-classic-add.js +0 -328
  331. package/dist/m365/spo/commands/site/site-classic-list.js +0 -115
  332. package/dist/m365/spo/commands/site/site-classic-set.js +0 -351
  333. package/docs/docs/cmd/spo/site/site-classic-add.md +0 -93
  334. package/docs/docs/cmd/spo/site/site-classic-list.md +0 -68
  335. package/docs/docs/cmd/spo/site/site-classic-set.md +0 -102
@@ -13,10 +13,10 @@ m365 aad approleassignment add [options]
13
13
  `--appId [appId]`
14
14
  : Application appId also known as clientId of the App Registration to which the configured scopes (app roles) should be applied
15
15
 
16
- `--objectId [objectId]`
16
+ `--appObjectId [appObjectId]`
17
17
  : Application objectId of the App Registration to which the configured scopes (app roles) should be applied
18
18
 
19
- `--displayName [displayName]`
19
+ `--appDisplayName [appDisplayName]`
20
20
  : Application name of the App Registration to which the configured scopes (app roles) should be applied
21
21
 
22
22
  `-r, --resource <resource>`
@@ -31,7 +31,7 @@ m365 aad approleassignment add [options]
31
31
 
32
32
  This command requires tenant administrator permissions.
33
33
 
34
- Specify either the `appId`, `objectId` or `displayName` but not both. If you specify more than one option value, the command will fail with an error.
34
+ Specify either the `appId`, `appObjectId` or `appDisplayName` but not multiple. If you specify more than one option value, the command will fail with an error.
35
35
 
36
36
  Autocomplete values for the `resource` option do not mean allowed values. The autocomplete will just suggest some known names, but that doesn't restrict you to use name of your own custom application or other application within your tenant.
37
37
 
@@ -48,13 +48,13 @@ m365 aad approleassignment add --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --
48
48
  Adds multiple Microsoft Graph application permissions to an Azure AD application with name _MyAppName_
49
49
 
50
50
  ```sh
51
- m365 aad approleassignment add --displayName "MyAppName" --resource "Microsoft Graph" --scope "Mail.Read,Mail.Send"
51
+ m365 aad approleassignment add --appDisplayName "MyAppName" --resource "Microsoft Graph" --scope "Mail.Read,Mail.Send"
52
52
  ```
53
53
 
54
54
  Adds Microsoft Graph _Mail.Read_ application permissions to a system managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
55
55
 
56
56
  ```sh
57
- m365 aad approleassignment add --objectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scope "Mail.Read"
57
+ m365 aad approleassignment add --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scope "Mail.Read"
58
58
  ```
59
59
 
60
60
  ## More information
@@ -13,17 +13,17 @@ m365 aad approleassignment list [options]
13
13
  `-i, --appId [appId]`
14
14
  : Application (client) Id of the App Registration for which the configured app roles should be retrieved
15
15
 
16
- `-n, --displayName [displayName]`
16
+ `-n, --appDisplayName [appDisplayName]`
17
17
  : Display name of the application for which the configured app roles should be retrieved
18
18
 
19
- `--objectId [objectId]`
19
+ `--appObjectId [appObjectId]`
20
20
  : ObjectId of the application for which the configured app roles should be retrieved
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
24
  ## Remarks
25
25
 
26
- Specify either the `appId`, `objectId` or `displayName`. If you specify more than one option value, the command will fail with an error.
26
+ Specify either the `appId`, `appObjectId` or `appDisplayName`. If you specify more than one option value, the command will fail with an error.
27
27
 
28
28
  ## Examples
29
29
 
@@ -36,13 +36,13 @@ m365 aad approleassignment list --appId b2307a39-e878-458b-bc90-03bc578531d6
36
36
  List app roles assigned to service principal with Application display name _MyAppName_.
37
37
 
38
38
  ```sh
39
- m365 aad approleassignment list --displayName 'MyAppName'
39
+ m365 aad approleassignment list --appDisplayName 'MyAppName'
40
40
  ```
41
41
 
42
42
  List app roles assigned to service principal with ObjectId _b2307a39-e878-458b-bc90-03bc578531dd_.
43
43
 
44
44
  ```sh
45
- m365 aad approleassignment list --objectId b2307a39-e878-458b-bc90-03bc578531dd
45
+ m365 aad approleassignment list --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
46
46
  ```
47
47
 
48
48
  ## More information
@@ -13,10 +13,10 @@ m365 aad approleassignment remove [options]
13
13
  `--appId [appId]`
14
14
  : Application appId also known as clientId of the App Registration for which the configured scopes (app roles) should be deleted
15
15
 
16
- `--objectId [objectId]`
16
+ `--appObjectId [appObjectId]`
17
17
  : Application objectId of the App Registration for which the configured scopes (app roles) should be deleted
18
18
 
19
- `--displayName [displayName]`
19
+ `--appDisplayName [appDisplayName]`
20
20
  : Application name of the App Registration for which the configured scopes (app roles) should be deleted
21
21
 
22
22
  `-r, --resource <resource>`
@@ -34,7 +34,7 @@ m365 aad approleassignment remove [options]
34
34
 
35
35
  This command requires tenant administrator permissions.
36
36
 
37
- Specify either the `appId`, `objectId` or `displayName` but not both. If you specify more than one option value, the command will fail with an error.
37
+ Specify either the `appId`, `appObjectId` or `appDisplayName` but not multiple. If you specify more than one option value, the command will fail with an error.
38
38
 
39
39
  Autocomplete values for the `resource` option do not mean allowed values. The autocomplete will just suggest some known names, but that doesn't restrict you to use name of your own custom application or other application within your tenant.
40
40
 
@@ -51,13 +51,13 @@ m365 aad approleassignment remove --appId "57907bf8-73fa-43a6-89a5-1f603e29e451"
51
51
  Deletes multiple Microsoft Graph application permissions from an Azure AD application with name _MyAppName_
52
52
 
53
53
  ```sh
54
- m365 aad approleassignment remove --displayName "MyAppName" --resource "Microsoft Graph" --scope "Mail.Read,Mail.Send"
54
+ m365 aad approleassignment remove --appDisplayName "MyAppName" --resource "Microsoft Graph" --scope "Mail.Read,Mail.Send"
55
55
  ```
56
56
 
57
57
  Deletes Microsoft Graph _Mail.Read_ application permissions from a system managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
58
58
 
59
59
  ```sh
60
- m365 aad approleassignment remove --objectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scope "Mail.Read"
60
+ m365 aad approleassignment remove --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scope "Mail.Read"
61
61
  ```
62
62
 
63
63
  ## More information
@@ -25,8 +25,8 @@ m365 aad o365group add [options]
25
25
  `--members [members]`
26
26
  : Comma-separated list of Microsoft 365 Group members
27
27
 
28
- `--isPrivate [isPrivate]`
29
- : Set to `true` if the Microsoft 365 Group should be private and to `false` if it should be public (default)
28
+ `--isPrivate`
29
+ : Specify, if the Microsoft 365 Group should be private. If not specified, will create a public group (default)
30
30
 
31
31
  `--allowMembersToPost [allowMembersToPost]`
32
32
  : Set if only group members should be able to post conversations to the group
@@ -61,7 +61,7 @@ m365 aad o365group add --displayName Finance --description "This is the Contoso
61
61
  Create a private Microsoft 365 Group
62
62
 
63
63
  ```sh
64
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --isPrivate true
64
+ m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --isPrivate
65
65
  ```
66
66
 
67
67
  Create a public Microsoft 365 Group and set specified users as its owners
@@ -10,11 +10,11 @@ m365 aad o365group recyclebinitem list [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-d, --displayName [displayName]`
14
- : Lists groups with displayName starting with the specified value
13
+ `-d, --groupDisplayName [groupDisplayName]`
14
+ : Lists groups with DisplayName starting with the specified value
15
15
 
16
- `-m, --mailNickname [mailNickname]`
17
- : Lists groups with mailNickname starting with the specified value
16
+ `-m, --groupMailNickname [groupMailNickname]`
17
+ : Lists groups with MailNickname starting with the specified value
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
@@ -29,17 +29,17 @@ m365 aad o365group recyclebinitem list
29
29
  List deleted Microsoft 365 Groups with display name starting with _Project_
30
30
 
31
31
  ```sh
32
- m365 aad o365group recyclebinitem list --displayName Project
32
+ m365 aad o365group recyclebinitem list --groupDisplayName Project
33
33
  ```
34
34
 
35
35
  List deleted Microsoft 365 Groups mail nick name starting with _team_
36
36
 
37
37
  ```sh
38
- m365 aad o365group recyclebinitem list --mailNickname team
38
+ m365 aad o365group recyclebinitem list --groupMailNickname team
39
39
  ```
40
40
 
41
41
  List deleted Microsoft 365 Groups mail nick name starting with _team_ and with display name starting with _Project_
42
42
 
43
43
  ```sh
44
- m365 aad o365group recyclebinitem list --mailNickname team --displayName Project
44
+ m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayName Project
45
45
  ```
@@ -8,12 +8,6 @@ Restores a deleted Microsoft 365 Group
8
8
  m365 aad o365group recyclebinitem restore [options]
9
9
  ```
10
10
 
11
- ## Alias
12
-
13
- ```sh
14
- m365 aad o365group restore [options]
15
- ```
16
-
17
11
  ## Options
18
12
 
19
13
  `-i, --id [id]`
@@ -10,11 +10,11 @@ m365 aad o365group teamify [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-i, --groupId [groupId]`
14
- : The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either groupId or mailNickname but not both
13
+ `-i, --id [id]`
14
+ : The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname but not both
15
15
 
16
16
  `--mailNickname [mailNickname]`
17
- : The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either groupId or mailNickname but not both
17
+ : The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname but not both
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
@@ -23,7 +23,7 @@ m365 aad o365group teamify [options]
23
23
  Creates a new Microsoft Teams team under existing Microsoft 365 group with id _e3f60f99-0bad-481f-9e9f-ff0f572fbd03_
24
24
 
25
25
  ```sh
26
- m365 aad o365group teamify --groupId e3f60f99-0bad-481f-9e9f-ff0f572fbd03
26
+ m365 aad o365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
27
27
  ```
28
28
 
29
29
  Creates a new Microsoft Teams team under existing Microsoft 365 group with mailNickname _GroupName_
@@ -10,7 +10,7 @@ m365 aad policy list [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-p, --policyType [policyType]`
13
+ `-t, --type [type]`
14
14
  : The type of policies to return. Allowed values `activityBasedTimeout`,`authorization`,`claimsMapping`,`homeRealmDiscovery`,`identitySecurityDefaultsEnforcement`,`tokenIssuance`,`tokenLifetime`. If omitted, all policies are returned
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
@@ -26,7 +26,7 @@ m365 aad policy list
26
26
  Returns claim-mapping policies from Azure AD
27
27
 
28
28
  ```sh
29
- m365 aad policy list --policyType "claimsMapping"
29
+ m365 aad policy list --type "claimsMapping"
30
30
  ```
31
31
 
32
32
  ## More information
@@ -13,17 +13,17 @@ m365 aad sp get [options]
13
13
  `-i, --appId [appId]`
14
14
  : ID of the application for which the service principal should be retrieved
15
15
 
16
- `-n, --displayName [displayName]`
16
+ `-n, --appDisplayName [appDisplayName]`
17
17
  : Display name of the application for which the service principal should be retrieved
18
18
 
19
- `--objectId [objectId]`
19
+ `--appObjectId [appObjectId]`
20
20
  : ObjectId of the application for which the service principal should be retrieved
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
24
  ## Remarks
25
25
 
26
- Specify either the `appId`, `objectId` or `displayName`. If you specify more than one option value, the command will fail with an error.
26
+ Specify either the `appId`, `appObjectId` or `appDisplayName`. If you specify more than one option value, the command will fail with an error.
27
27
 
28
28
  ## Examples
29
29
 
@@ -36,13 +36,13 @@ m365 aad sp get --appId b2307a39-e878-458b-bc90-03bc578531d6
36
36
  Return details about the _Microsoft Graph_ service principal.
37
37
 
38
38
  ```sh
39
- m365 aad sp get --displayName "Microsoft Graph"
39
+ m365 aad sp get --appDisplayName "Microsoft Graph"
40
40
  ```
41
41
 
42
42
  Return details about the service principal with ObjectId _b2307a39-e878-458b-bc90-03bc578531dd_.
43
43
 
44
44
  ```sh
45
- m365 aad sp get --objectId b2307a39-e878-458b-bc90-03bc578531dd
45
+ m365 aad sp get --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
46
46
  ```
47
47
 
48
48
  ## More information
@@ -0,0 +1,107 @@
1
+ # aad user guest add
2
+
3
+ Invite an external user to the organization
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad user guest add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--emailAddress <emailAddress>`
14
+ : The email address of the user.
15
+
16
+ `--displayName [displayName]`
17
+ : The display name of the user.
18
+
19
+ `--inviteRedirectUrl [inviteRedirectUrl]`
20
+ : The URL the user should be redirected to once the invitation is redeemed. If not specified, default URL https://myapplications.microsoft.com will be set.
21
+
22
+ `--welcomeMessage [welcomeMessage]`
23
+ : Personal welcome message which will be added to the email along with the default email.
24
+
25
+ `--ccRecipients [ccRecipients]`
26
+ : Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported.
27
+
28
+ `--messageLanguage [messageLanguage]`
29
+ : The language you want to send the default message in. The language format should be in [ISO 639](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/ed06cf15-306c-43be-9053-ca81ca51e656). The default is `en-US`.
30
+
31
+ `--sendInvitationMessage`
32
+ : Indicates whether an email should be sent to the user.
33
+
34
+ --8<-- "docs/cmd/_global.md"
35
+
36
+ ## Examples
37
+
38
+ Invite a user via email and set the display name
39
+
40
+ ```sh
41
+ m365 aad user guest add --emailAddress john.doe@contoso.com --displayName "John Doe" --sendInvitationMessage
42
+ ```
43
+
44
+ Invite a user with a custom email and custom redirect url
45
+
46
+ ```sh
47
+ m365 aad user guest add --emailAddress john.doe@contoso.com --welcomeMessage "Hi John, welcome to the organization!" --sendInvitationMessage
48
+ ```
49
+
50
+ Invite a user and send an invitation mail in Dutch
51
+
52
+ ```sh
53
+ m365 aad user guest add --emailAddress john.doe@contoso.com --messageLanguage nl-BE --sendInvitationMessage
54
+ ```
55
+
56
+ ## Response
57
+
58
+ === "JSON"
59
+
60
+ ```json
61
+ {
62
+ "id": "35f7f726-c541-4aef-a64e-a7b6868fe47f",
63
+ "inviteRedeemUrl": "https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0",
64
+ "invitedUserDisplayName": "John Doe",
65
+ "invitedUserType": "Guest",
66
+ "invitedUserEmailAddress": "john.doe@contoso.com",
67
+ "sendInvitationMessage": true,
68
+ "resetRedemption": false,
69
+ "inviteRedirectUrl": "https://myapplications.microsoft.com/",
70
+ "status": "PendingAcceptance",
71
+ "invitedUserMessageInfo": {
72
+ "messageLanguage": "en-US",
73
+ "customizedMessageBody": "Hi John, welcome to the organization!",
74
+ "ccRecipients": [
75
+ {
76
+ "emailAddress": {
77
+ "name": null,
78
+ "address": "maria.jones@contoso.com"
79
+ }
80
+ }
81
+ ]
82
+ },
83
+ "invitedUser": {
84
+ "id": "5257b5b2-4056-4a45-a05e-df5c92d53e6e"
85
+ }
86
+ }
87
+ ```
88
+
89
+ === "Text"
90
+
91
+ ```text
92
+ id : 35f7f726-c541-4aef-a64e-a7b6868fe47f
93
+ inviteRedeemUrl : https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0
94
+ invitedUserDisplayName : John Doe
95
+ invitedUserEmailAddress: liwidit556@adroh.com
96
+ invitedUserType : Guest
97
+ resetRedemption : false
98
+ sendInvitationMessage : true
99
+ status : PendingAcceptance
100
+ ```
101
+
102
+ === "CSV"
103
+
104
+ ```csv
105
+ id,inviteRedeemUrl,invitedUserDisplayName,invitedUserEmailAddress,invitedUserType,resetRedemption,sendInvitationMessage,status
106
+ 35f7f726-c541-4aef-a64e-a7b6868fe47f,https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0,John Doe,liwidit556@adroh.com,Guest,,1,PendingAcceptance
107
+ ```
@@ -43,6 +43,9 @@ The predefined card is automatically adjusted based on which options have been s
43
43
 
44
44
  If your custom card is a card template (card with placeholders like `${title}`), you can fill it with data either by specifying the complete data object using the `cardData` option, or by passing any number of arbitrary options that will be mapped onto the card. The arbitrary properties should not match any of the global options like `output`, `query`, `debug`, etc. Data options like `title`, `description`, `imageUrl` and `actionUrl` will be mapped onto the card as well.
45
45
 
46
+ !!! warning "Escaping JSON in PowerShell"
47
+ When using the `--card` and `--cardData` options it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
48
+
46
49
  ## Examples
47
50
 
48
51
  Send a predefined adaptive card with just title
@@ -13,7 +13,7 @@ m365 flow disable [options]
13
13
  `-n, --name <name>`
14
14
  : The name of the Power Automate flow to disable
15
15
 
16
- `-e, --environment <environment>`
16
+ `-e, --environmentName <environmentName>`
17
17
  : The name of the environment for which to disable Power Automate flow
18
18
 
19
19
  `--asAdmin`
@@ -37,11 +37,11 @@ If the Power Automate flow with the name you specified doesn't exist, you will g
37
37
  Disables Power Automate flow owned by the currently signed-in user
38
38
 
39
39
  ```sh
40
- m365 flow disable --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
40
+ m365 flow disable --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
41
41
  ```
42
42
 
43
43
  Disables Power Automate flow owned by another user
44
44
 
45
45
  ```sh
46
- m365 flow disable --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
46
+ m365 flow disable --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
47
47
  ```
@@ -13,7 +13,7 @@ m365 flow enable [options]
13
13
  `-n, --name <name>`
14
14
  : The name of the Power Automate flow to enable
15
15
 
16
- `-e, --environment <environment>`
16
+ `-e, --environmentName <environmentName>`
17
17
  : The name of the environment for which to enable Power Automate
18
18
 
19
19
  `--asAdmin`
@@ -13,7 +13,7 @@ m365 flow export [options]
13
13
  `-i, --id <id>`
14
14
  : The id of the Power Automate flow to export
15
15
 
16
- `-e, --environment <environment>`
16
+ `-e, --environmentNameName <environmentName>`
17
17
  : The name of the environment for which to export the flow
18
18
 
19
19
  `-n, --packageDisplayName [packageDisplayName]`
@@ -50,23 +50,23 @@ If the Power Automate flow with the id you specified doesn't exist, you will get
50
50
  Export the specified Power Automate flow as a ZIP file
51
51
 
52
52
  ```sh
53
- m365 flow export --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d
53
+ m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d
54
54
  ```
55
55
 
56
56
  Export the specified Power Automate flow as a JSON file
57
57
 
58
58
  ```sh
59
- m365 flow export --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --format json
59
+ m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --format json
60
60
  ```
61
61
 
62
62
  Export the specified Power Automate flow as a ZIP file, specifying a Display Name of 'My flow name' to be embedded into the package
63
63
 
64
64
  ```sh
65
- m365 flow export --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName 'My flow name'
65
+ m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName 'My flow name'
66
66
  ```
67
67
 
68
68
  Export the specified Power Automate flow as a ZIP file with the filename 'MyFlow.zip' saved to the current directory
69
69
 
70
70
  ```sh
71
- m365 flow export --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --path './MyFlow.zip'
71
+ m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --path './MyFlow.zip'
72
72
  ```
@@ -13,7 +13,7 @@ m365 flow get [options]
13
13
  `-n, --name <name>`
14
14
  : The name of the Power Automate flow to get information about
15
15
 
16
- `-e, --environment <environment>`
16
+ `-e, --environmentNameName <environmentName>`
17
17
  : The name of the environment for which to retrieve available flows
18
18
 
19
19
  `--asAdmin`
@@ -37,11 +37,11 @@ If the Power Automate flow with the name you specified doesn't exist, you will g
37
37
  Get information about the specified Power Automate flow owned by the currently signed-in user
38
38
 
39
39
  ```sh
40
- m365 flow get --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
40
+ m365 flow get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
41
41
  ```
42
42
 
43
43
  Get information about the specified Power Automate flow owned by another user
44
44
 
45
45
  ```sh
46
- m365 flow get --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
46
+ m365 flow get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
47
47
  ```
@@ -10,7 +10,7 @@ m365 flow list [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-e, --environment <environment>`
13
+ `-e, --environmentName <environmentName>`
14
14
  : The name of the environment for which to retrieve available flows
15
15
 
16
16
  `--asAdmin`
@@ -32,11 +32,11 @@ By default, the `flow list` command returns only your flows. To list all flows,
32
32
  List all your flows in the given environment
33
33
 
34
34
  ```sh
35
- m365 flow list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5
35
+ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
36
36
  ```
37
37
 
38
38
  List all flows in the given environment
39
39
 
40
40
  ```sh
41
- m365 flow list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
41
+ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
42
42
  ```
@@ -13,7 +13,7 @@ m365 flow remove [options]
13
13
  `-n, --name <name>`
14
14
  : The name of the Power Automate flow to remove
15
15
 
16
- `-e, --environment <environment>`
16
+ `-e, --environmentName <environmentName>`
17
17
  : The name of the environment to which the flow belongs
18
18
 
19
19
  `--asAdmin`
@@ -37,23 +37,23 @@ If the Power Automate flow with the name you specified doesn't exist, you will g
37
37
  Removes the specified Power Automate flow owned by the currently signed-in user
38
38
 
39
39
  ```sh
40
- m365 flow remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
40
+ m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
41
41
  ```
42
42
 
43
43
  Removes the specified Power Automate flow owned by the currently signed-in user without confirmation
44
44
 
45
45
  ```sh
46
- m365 flow remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --confirm
46
+ m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --confirm
47
47
  ```
48
48
 
49
49
  Removes the specified Power Automate flow owned by another user
50
50
 
51
51
  ```sh
52
- m365 flow remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
52
+ m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
53
53
  ```
54
54
 
55
55
  Removes the specified Power Automate flow owned by another user without confirmation
56
56
 
57
57
  ```sh
58
- m365 flow remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin --confirm
58
+ m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin --confirm
59
59
  ```
@@ -13,10 +13,10 @@ m365 flow run cancel [options]
13
13
  `-n, --name <name>`
14
14
  : The name of the run to cancel
15
15
 
16
- `-f, --flow <flow>`
16
+ `-f, --flowName <flowName>`
17
17
  : The name of the flow to cancel the run for
18
18
 
19
- `-e, --environment <environment>`
19
+ `-e, --environmentName <environmentName>`
20
20
  : The name of the environment where the flow is located
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
@@ -37,5 +37,5 @@ If the run with the name you specified doesn't exist, you will get the `The work
37
37
  Cancel the given run of the specified flow
38
38
 
39
39
  ```sh
40
- m365 flow run cancel --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flow 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
40
+ m365 flow run cancel --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
41
41
  ```
@@ -13,10 +13,10 @@ m365 flow run get [options]
13
13
  `-n, --name <name>`
14
14
  : The name of the run to get information about
15
15
 
16
- `-f, --flow <flow>`
16
+ `-f, --flowName <flowName>`
17
17
  : The name of the Power Automate flow for which to retrieve information
18
18
 
19
- `-e, --environment <environment>`
19
+ `-e, --environmentName <environmentName>`
20
20
  : The name of the environment where the flow is located
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
@@ -37,5 +37,5 @@ If the run with the name you specified doesn't exist, you will get the `The prov
37
37
  Get information about the given run of the specified Power Automate flow
38
38
 
39
39
  ```sh
40
- m365 flow run get --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flow 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
40
+ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
41
41
  ```
@@ -10,10 +10,10 @@ m365 flow run list [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-f, --flow <flow>`
13
+ `-f, --flowName <flowName>`
14
14
  : The name of the Microsoft Flow to retrieve the runs for
15
15
 
16
- `-e, --environment <environment>`
16
+ `-e, --environmentName <environmentName>`
17
17
  : The name of the environment to which the flow belongs
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
@@ -32,5 +32,5 @@ If the Microsoft Flow with the name you specified doesn't exist, you will get th
32
32
  List runs of the specified Microsoft Flow
33
33
 
34
34
  ```sh
35
- m365 flow run list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flow 5923cb07-ce1a-4a5c-ab81-257ce820109a
35
+ m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a
36
36
  ```
@@ -13,10 +13,10 @@ m365 flow run resubmit [options]
13
13
  `-n, --name <name>`
14
14
  : The name of the run to resubmit
15
15
 
16
- `-f, --flow <flow>`
16
+ `-f, --flowName <flowName>`
17
17
  : The name of the flow to resubmit the run for
18
18
 
19
- `-e, --environment <environment>`
19
+ `-e, --environmentName <environmentName>`
20
20
  : The name of the environment where the Flow is located
21
21
 
22
22
  `--confirm`
@@ -40,11 +40,11 @@ If the run with the name you specified doesn't exist, you will get the `The work
40
40
  Resubmits a specific flow run for the specified Microsoft Flow
41
41
 
42
42
  ```sh
43
- m365 flow run resubmit --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flow 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
43
+ m365 flow run resubmit --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
44
44
  ```
45
45
 
46
46
  Resubmits a specific flow run for the specified Microsoft Flow without prompting for confirmation
47
47
 
48
48
  ```sh
49
- m365 flow run resubmit --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flow 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --confirm
49
+ m365 flow run resubmit --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --confirm
50
50
  ```