@pnp/cli-microsoft365 6.3.0-beta.fee5cdb → 6.4.0-beta.006c079

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 (283) hide show
  1. package/.devcontainer/Dockerfile +5 -2
  2. package/.eslintrc.js +4 -0
  3. package/Dockerfile +6 -3
  4. package/README.md +12 -1
  5. package/dist/Command.js +1 -0
  6. package/dist/appInsights.js +2 -1
  7. package/dist/cli/Cli.js +70 -2
  8. package/dist/m365/aad/commands/license/license-list.js +41 -0
  9. package/dist/m365/aad/commands/user/user-add.js +223 -0
  10. package/dist/m365/aad/commands/user/user-get.js +3 -0
  11. package/dist/m365/aad/commands/user/user-license-add.js +88 -0
  12. package/dist/m365/aad/commands/user/user-license-list.js +99 -0
  13. package/dist/m365/aad/commands/user/user-license-remove.js +115 -0
  14. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +1 -1
  15. package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
  16. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
  17. package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +70 -0
  18. package/dist/m365/aad/commands/user/user-remove.js +107 -0
  19. package/dist/m365/aad/commands/user/user-set.js +3 -0
  20. package/dist/m365/aad/commands/user/user-signin-list.js +3 -0
  21. package/dist/m365/aad/commands.js +9 -0
  22. package/dist/m365/file/commands/file-list.js +5 -1
  23. package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
  24. package/dist/m365/flow/commands/environment/environment-get.js +26 -11
  25. package/dist/m365/flow/commands/flow-disable.js +9 -2
  26. package/dist/m365/flow/commands/flow-enable.js +9 -2
  27. package/dist/m365/flow/commands/flow-get.js +9 -2
  28. package/dist/m365/flow/commands/flow-list.js +1 -1
  29. package/dist/m365/flow/commands/flow-remove.js +2 -2
  30. package/dist/m365/flow/commands/owner/owner-ensure.js +147 -0
  31. package/dist/m365/flow/commands/owner/owner-list.js +89 -0
  32. package/dist/m365/flow/commands/owner/owner-remove.js +147 -0
  33. package/dist/m365/flow/commands/run/run-cancel.js +9 -2
  34. package/dist/m365/flow/commands/run/run-list.js +5 -2
  35. package/dist/m365/flow/commands.js +3 -0
  36. package/dist/m365/planner/commands/roster/roster-member-add.js +3 -0
  37. package/dist/m365/planner/commands/roster/roster-member-get.js +98 -0
  38. package/dist/m365/planner/commands.js +1 -0
  39. package/dist/m365/pp/commands/environment/environment-get.js +18 -9
  40. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +138 -0
  41. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +48 -14
  42. package/dist/m365/purview/commands.js +1 -0
  43. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0-beta.1.js +59 -0
  44. package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
  45. package/dist/m365/spfx/commands/spfx-doctor.js +43 -29
  46. package/dist/m365/spo/commands/commandset/commandset-add.js +138 -0
  47. package/dist/m365/spo/commands/commandset/commandset-get.js +128 -0
  48. package/dist/m365/spo/commands/commandset/commandset-list.js +77 -0
  49. package/dist/m365/spo/commands/commandset/commandset-remove.js +146 -0
  50. package/dist/m365/spo/commands/commandset/commandset-set.js +182 -0
  51. package/dist/m365/spo/commands/customaction/customaction-get.js +27 -7
  52. package/dist/m365/spo/commands/file/file-move.js +1 -3
  53. package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
  54. package/dist/m365/spo/commands/folder/folder-move.js +0 -2
  55. package/dist/m365/spo/commands/group/group-member-add.js +54 -95
  56. package/dist/m365/spo/commands/list/list-add.js +11 -8
  57. package/dist/m365/spo/commands/list/list-set.js +3 -3
  58. package/dist/m365/spo/commands/navigation/navigation-node-add.js +5 -4
  59. package/dist/m365/spo/commands/navigation/navigation-node-set.js +5 -1
  60. package/dist/m365/spo/commands/site/site-add.js +0 -3
  61. package/dist/m365/spo/commands/site/site-remove.js +0 -3
  62. package/dist/m365/spo/commands/site/site-set.js +0 -2
  63. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +118 -0
  64. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
  65. package/dist/m365/spo/commands/term/term-get.js +68 -48
  66. package/dist/m365/spo/commands/user/user-ensure.js +105 -0
  67. package/dist/m365/spo/commands.js +7 -0
  68. package/dist/m365/teams/commands/team/team-add.js +3 -8
  69. package/dist/m365/todo/commands/task/task-add.js +35 -3
  70. package/dist/utils/aadGroup.js +18 -0
  71. package/dist/utils/aadUser.js +37 -0
  72. package/dist/utils/md.js +7 -0
  73. package/dist/utils/session.js +18 -0
  74. package/dist/utils/spo.js +35 -12
  75. package/docs/docs/cmd/aad/app/app-add.md +3 -3
  76. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
  77. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +3 -3
  78. package/docs/docs/cmd/aad/license/license-list.md +87 -0
  79. package/docs/docs/cmd/aad/user/user-add.md +168 -0
  80. package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
  81. package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
  82. package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
  83. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +1 -1
  84. package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
  85. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
  86. package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
  87. package/docs/docs/cmd/aad/user/user-remove.md +51 -0
  88. package/docs/docs/cmd/aad/user/user-set.md +1 -1
  89. package/docs/docs/cmd/cli/completion/completion-clink-update.md +4 -4
  90. package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
  91. package/docs/docs/cmd/flow/owner/owner-ensure.md +61 -0
  92. package/docs/docs/cmd/flow/owner/owner-list.md +90 -0
  93. package/docs/docs/cmd/flow/owner/owner-remove.md +67 -0
  94. package/docs/docs/cmd/flow/run/run-list.md +28 -0
  95. package/docs/docs/cmd/onenote/page/page-list.md +1 -1
  96. package/docs/docs/cmd/outlook/mail/mail-send.md +7 -3
  97. package/docs/docs/cmd/outlook/message/message-get.md +143 -0
  98. package/docs/docs/cmd/outlook/message/message-list.md +119 -0
  99. package/docs/docs/cmd/outlook/message/message-move.md +4 -0
  100. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.md +40 -0
  101. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.md +40 -0
  102. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.md +45 -0
  103. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.md +43 -0
  104. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.md +44 -0
  105. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.md +48 -0
  106. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.md +41 -0
  107. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.md +49 -0
  108. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.md +37 -0
  109. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.md +40 -0
  110. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.md +36 -0
  111. package/docs/docs/cmd/outlook/room/room-list.md +81 -0
  112. package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +58 -0
  113. package/docs/docs/cmd/planner/plan/plan-add.md +3 -3
  114. package/docs/docs/cmd/planner/plan/plan-set.md +73 -7
  115. package/docs/docs/cmd/planner/roster/roster-add.md +16 -1
  116. package/docs/docs/cmd/planner/roster/roster-member-get.md +87 -0
  117. package/docs/docs/cmd/planner/task/task-add.md +230 -0
  118. package/docs/docs/cmd/planner/task/task-checklistitem-add.md +55 -0
  119. package/docs/docs/cmd/planner/task/task-checklistitem-list.md +55 -0
  120. package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +4 -0
  121. package/docs/docs/cmd/planner/task/task-get.md +131 -0
  122. package/docs/docs/cmd/planner/task/task-list.md +92 -0
  123. package/docs/docs/cmd/planner/task/task-reference-add.md +46 -0
  124. package/docs/docs/cmd/planner/task/task-reference-list.md +46 -0
  125. package/docs/docs/cmd/planner/task/task-reference-remove.md +4 -0
  126. package/docs/docs/cmd/planner/task/task-remove.md +4 -0
  127. package/docs/docs/cmd/planner/task/task-set.md +230 -0
  128. package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +55 -0
  129. package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +55 -0
  130. package/docs/docs/cmd/pp/card/card-get.md +2 -2
  131. package/docs/docs/cmd/pp/card/card-list.md +2 -2
  132. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +149 -0
  133. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +7 -7
  134. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -0
  135. package/docs/docs/cmd/skype/report/report-activitycounts.md +38 -0
  136. package/docs/docs/cmd/skype/report/report-activityusercounts.md +38 -0
  137. package/docs/docs/cmd/skype/report/report-activityuserdetail.md +67 -0
  138. package/docs/docs/cmd/spfx/project/project-doctor.md +3 -3
  139. package/docs/docs/cmd/spfx/project/project-externalize.md +3 -3
  140. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +21 -0
  141. package/docs/docs/cmd/spfx/project/project-upgrade.md +3 -3
  142. package/docs/docs/cmd/spfx/spfx-doctor.md +3 -3
  143. package/docs/docs/cmd/spo/cdn/cdn-get.md +6 -6
  144. package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +3 -3
  145. package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +3 -3
  146. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.md +3 -3
  147. package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
  148. package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
  149. package/docs/docs/cmd/spo/cdn/cdn-set.md +3 -3
  150. package/docs/docs/cmd/spo/commandset/commandset-add.md +159 -0
  151. package/docs/docs/cmd/spo/commandset/commandset-get.md +149 -0
  152. package/docs/docs/cmd/spo/commandset/commandset-list.md +109 -0
  153. package/docs/docs/cmd/spo/commandset/commandset-remove.md +55 -0
  154. package/docs/docs/cmd/spo/commandset/commandset-set.md +71 -0
  155. package/docs/docs/cmd/spo/customaction/customaction-get.md +113 -11
  156. package/docs/docs/cmd/spo/externaluser/externaluser-list.md +2 -0
  157. package/docs/docs/cmd/spo/group/group-member-add.md +26 -4
  158. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +2 -0
  159. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +2 -0
  160. package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
  161. package/docs/docs/cmd/spo/homesite/homesite-remove.md +10 -2
  162. package/docs/docs/cmd/spo/homesite/homesite-set.md +10 -2
  163. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
  164. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
  165. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
  166. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
  167. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
  168. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
  169. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
  170. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
  171. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
  172. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
  173. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +9 -1
  174. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +11 -3
  175. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +11 -5
  176. package/docs/docs/cmd/spo/list/list-add.md +124 -58
  177. package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
  178. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
  179. package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
  180. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
  181. package/docs/docs/cmd/spo/list/list-get.md +70 -4
  182. package/docs/docs/cmd/spo/list/list-list.md +70 -2
  183. package/docs/docs/cmd/spo/list/list-remove.md +6 -6
  184. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
  185. package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
  186. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
  187. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
  188. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
  189. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
  190. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
  191. package/docs/docs/cmd/spo/list/list-set.md +61 -61
  192. package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
  193. package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
  194. package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
  195. package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
  196. package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
  197. package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
  198. package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
  199. package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
  200. package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
  201. package/docs/docs/cmd/spo/listitem/listitem-add.md +30 -1
  202. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +17 -2
  203. package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +1 -1
  204. package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
  205. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +6 -0
  206. package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
  207. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
  208. package/docs/docs/cmd/spo/listitem/listitem-set.md +31 -1
  209. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +25 -3
  210. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +2 -2
  211. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +2 -0
  212. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +2 -0
  213. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +2 -0
  214. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +2 -0
  215. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +2 -0
  216. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +3 -3
  217. package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -0
  218. package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +3 -3
  219. package/docs/docs/cmd/spo/site/site-commsite-enable.md +2 -0
  220. package/docs/docs/cmd/spo/site/site-list.md +3 -3
  221. package/docs/docs/cmd/spo/site/site-remove.md +3 -3
  222. package/docs/docs/cmd/spo/site/site-rename.md +3 -3
  223. package/docs/docs/cmd/spo/site/site-set.md +5 -5
  224. package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +3 -3
  225. package/docs/docs/cmd/spo/storageentity/storageentity-set.md +3 -3
  226. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.md +3 -3
  227. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +2 -0
  228. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +3 -3
  229. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.md +142 -0
  230. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.md +2 -0
  231. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
  232. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +3 -3
  233. package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +2 -0
  234. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +28 -26
  235. package/docs/docs/cmd/spo/term/term-add.md +3 -3
  236. package/docs/docs/cmd/spo/term/term-get.md +3 -3
  237. package/docs/docs/cmd/spo/term/term-group-add.md +2 -0
  238. package/docs/docs/cmd/spo/term/term-group-get.md +2 -0
  239. package/docs/docs/cmd/spo/term/term-group-list.md +2 -0
  240. package/docs/docs/cmd/spo/term/term-list.md +3 -1
  241. package/docs/docs/cmd/spo/term/term-set-add.md +3 -3
  242. package/docs/docs/cmd/spo/term/term-set-get.md +2 -0
  243. package/docs/docs/cmd/spo/term/term-set-list.md +2 -0
  244. package/docs/docs/cmd/spo/theme/theme-apply.md +3 -3
  245. package/docs/docs/cmd/spo/theme/theme-get.md +2 -0
  246. package/docs/docs/cmd/spo/theme/theme-list.md +2 -0
  247. package/docs/docs/cmd/spo/theme/theme-remove.md +2 -0
  248. package/docs/docs/cmd/spo/theme/theme-set.md +3 -3
  249. package/docs/docs/cmd/spo/user/user-ensure.md +109 -0
  250. package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
  251. package/docs/docs/cmd/teams/channel/channel-member-add.md +2 -2
  252. package/docs/docs/cmd/teams/message/message-get.md +39 -4
  253. package/docs/docs/cmd/teams/message/message-list.md +41 -6
  254. package/docs/docs/cmd/teams/message/message-reply-list.md +39 -4
  255. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +20 -2
  256. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +8 -8
  257. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +12 -5
  258. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +13 -6
  259. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +14 -7
  260. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +13 -6
  261. package/docs/docs/cmd/teams/report/report-pstncalls.md +13 -6
  262. package/docs/docs/cmd/teams/report/report-useractivitycounts.md +13 -6
  263. package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +13 -6
  264. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +13 -6
  265. package/docs/docs/cmd/teams/tab/tab-add.md +16 -0
  266. package/docs/docs/cmd/teams/tab/tab-get.md +17 -0
  267. package/docs/docs/cmd/teams/tab/tab-list.md +19 -0
  268. package/docs/docs/cmd/teams/team/team-add.md +77 -8
  269. package/docs/docs/cmd/teams/team/team-app-list.md +18 -2
  270. package/docs/docs/cmd/teams/team/team-archive.md +2 -2
  271. package/docs/docs/cmd/teams/team/team-clone.md +8 -8
  272. package/docs/docs/cmd/teams/team/team-get.md +34 -4
  273. package/docs/docs/cmd/teams/team/team-list.md +34 -3
  274. package/docs/docs/cmd/teams/team/team-remove.md +3 -3
  275. package/docs/docs/cmd/teams/team/team-set.md +8 -8
  276. package/docs/docs/cmd/teams/team/team-unarchive.md +3 -2
  277. package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
  278. package/docs/docs/cmd/teams/user/user-app-list.md +18 -2
  279. package/docs/docs/cmd/teams/user/user-app-remove.md +4 -4
  280. package/docs/docs/cmd/teams/user/user-list.md +21 -4
  281. package/docs/docs/cmd/todo/task/task-add.md +47 -2
  282. package/npm-shrinkwrap.json +280 -194
  283. package/package.json +15 -13
@@ -0,0 +1,98 @@
1
+ # aad user license list
2
+
3
+ Lists the license details for a given user
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad user license list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--userId [userId]`
14
+ : The ID of the user. Specify either `userId` or `userName` but not both.
15
+
16
+ `--userName [userName]`
17
+ : User principal name of the user. Specify either `userId` or `userName` but not both.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Remarks
22
+
23
+ !!! tip
24
+ If you don't specify any option, the command will list the license details of the current logged in user. This does not work when using application permissions.
25
+
26
+ ## Examples
27
+
28
+ List license details of the current logged in user.
29
+
30
+ ```sh
31
+ m365 aad user license list
32
+ ```
33
+
34
+ List license details of a specific user by its UPN.
35
+
36
+ ```sh
37
+ m365 aad user license list --userName john.doe@contoso.com
38
+ ```
39
+
40
+ List license details of a specific user by its ID.
41
+
42
+ ```sh
43
+ m365 aad user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
44
+ ```
45
+
46
+ ## Response
47
+
48
+ === "JSON"
49
+
50
+ ```json
51
+ [
52
+ {
53
+ "id": "x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw",
54
+ "skuId": "c42b9cae-ea4f-4ab7-9717-81576235ccac",
55
+ "skuPartNumber": "DEVELOPERPACK_E5",
56
+ "servicePlans": [
57
+ {
58
+ "servicePlanId": "7547a3fe-08ee-4ccb-b430-5077c5041653",
59
+ "servicePlanName": "YAMMER_ENTERPRISE",
60
+ "provisioningStatus": "Success",
61
+ "appliesTo": "User"
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ ```
67
+
68
+ === "Text"
69
+
70
+ ```text
71
+ id : x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw
72
+ skuId : c42b9cae-ea4f-4ab7-9717-81576235ccac
73
+ skuPartNumber: DEVELOPERPACK_E5
74
+ ```
75
+
76
+ === "CSV"
77
+
78
+ ```csv
79
+ id,skuId,skuPartNumber
80
+ x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw,c42b9cae-ea4f-4ab7-9717-81576235ccac,DEVELOPERPACK_E5
81
+ ```
82
+
83
+ === "Markdown"
84
+
85
+ ```md
86
+ # aad user license list --userId "0c9c625f-faa9-4c3b-8cd8-d874b869f78c"
87
+
88
+ Date: 2/19/2023
89
+
90
+ ## x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw
91
+
92
+ Property | Value
93
+ ---------|-------
94
+ id | x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw
95
+ skuId | c42b9cae-ea4f-4ab7-9717-81576235ccac
96
+ skuPartNumber | DEVELOPERPACK\_E5
97
+ servicePlans | [{"servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653","servicePlanName":"YAMMER\_ENTERPRISE","provisioningStatus":"Success","appliesTo":"User"}]
98
+ ```
@@ -0,0 +1,43 @@
1
+ # aad user license remove
2
+
3
+ Removes a license from a user
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad user license remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--userId [userId]`
14
+ : The ID of the user. Specify either `userId` or `userName` but not both.
15
+
16
+ `--userName [userName]`
17
+ : User principal name of the user. Specify either `userId` or `userName` but not both.
18
+
19
+ `--ids <ids>`
20
+ : A comma separated list of IDs that specify the licenses to remove.
21
+
22
+ `--confirm`
23
+ : Don't prompt for confirmation.
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Examples
28
+
29
+ Remove specific licenses from a specific user by UPN
30
+
31
+ ```sh
32
+ m365 user license remove --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
33
+ ```
34
+
35
+ Remove specific licenses from a specific user by ID
36
+
37
+ ```sh
38
+ m365 user license remove --userId 5c241023-2ba5-4ea8-a516-a2481a3e6c51 --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
39
+ ```
40
+
41
+ ## Response
42
+
43
+ The command won't return a response on success.
@@ -18,7 +18,7 @@ m365 aad user recyclebinitem clear [options]
18
18
  ## Remarks
19
19
 
20
20
  !!! important
21
- To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator
21
+ To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator.
22
22
 
23
23
  !!! note
24
24
  After running this command, it may take a minute before all deleted users are effectively removed from the tenant.
@@ -0,0 +1,82 @@
1
+ # aad user recyclebinitem list
2
+
3
+ Lists users from the recycle bin in the current tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad user recyclebinitem list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ --8<-- "docs/cmd/_global.md"
14
+
15
+ ## Examples
16
+
17
+ List all removed users
18
+
19
+ ```sh
20
+ m365 aad user recyclebinitem list
21
+ ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "businessPhones": [],
31
+ "displayName": "John Doe",
32
+ "givenName": "John Doe",
33
+ "jobTitle": "Developer",
34
+ "mail": "john@contoso.com",
35
+ "mobilePhone": "0476345130",
36
+ "officeLocation": "Washington",
37
+ "preferredLanguage": "nl-BE",
38
+ "surname": "John",
39
+ "userPrincipalName": "7e06b56615f340138bf879874d52e68ajohn@contoso.com",
40
+ "id": "7e06b566-15f3-4013-8bf8-79874d52e68a"
41
+ }
42
+ ]
43
+ ```
44
+
45
+ === "Text"
46
+
47
+ ```text
48
+ id displayName userPrincipalName
49
+ ------------------------------------ ----------- -----------------------------------------------
50
+ 7e06b566-15f3-4013-8bf8-79874d52e68a John Doe 7e06b56615f340138bf879874d52e68ajohn@contoso.com
51
+ ```
52
+
53
+ === "CSV"
54
+
55
+ ```csv
56
+ id,displayName,userPrincipalName
57
+ 7e06b566-15f3-4013-8bf8-79874d52e68a,John Doe,7e06b56615f340138bf879874d52e68ajohn@contoso.com
58
+ ```
59
+
60
+ === "Markdown"
61
+
62
+ ```md
63
+ # aad user recyclebinitem list
64
+
65
+ Date: 14/02/2023
66
+
67
+ ## John Doe (7e06b566-15f3-4013-8bf8-79874d52e68a)
68
+
69
+ Property | Value
70
+ ---------|-------
71
+ businessPhones | []
72
+ displayName | John Doe
73
+ givenName | John Doe
74
+ jobTitle | Developer
75
+ mail | john@contoso.com
76
+ mobilePhone | 0476345130
77
+ officeLocation | Washington
78
+ preferredLanguage | nl-BE
79
+ surname | John
80
+ userPrincipalName | 7e06b56615f340138bf879874d52e68ajohn@contoso.com
81
+ id | 7e06b566-15f3-4013-8bf8-79874d52e68a
82
+ ```
@@ -0,0 +1,45 @@
1
+ # aad user recyclebinitem remove
2
+
3
+ Removes a user from the recycle bin in the current tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad user recyclebinitem remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--id <id>`
14
+ : ID of the deleted user.
15
+
16
+ `--confirm`
17
+ : Don't prompt for confirmation.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Remarks
22
+
23
+ !!! important
24
+ To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator.
25
+
26
+ !!! note
27
+ After running this command, it may take a minute before the deleted user is effectively removed from the tenant.
28
+
29
+ ## Examples
30
+
31
+ Removes a specific user from the recycle bin
32
+
33
+ ```sh
34
+ m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3
35
+ ```
36
+
37
+ Removes a specific user from the recycle bin without confirmation prompt
38
+
39
+ ```sh
40
+ m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3 --confirm
41
+ ```
42
+
43
+ ## Response
44
+
45
+ The command won't return a response on success.
@@ -0,0 +1,99 @@
1
+ # aad user recyclebinitem restore
2
+
3
+ Restores a user from the recycle bin in the current tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad user recyclebinitem restore [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--id <id>`
14
+ : ID of the deleted user.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Remarks
19
+
20
+ !!! important
21
+ To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator
22
+
23
+ !!! note
24
+ After running this command, it may take a minute before the user will reappear in the active users.
25
+
26
+ ## Examples
27
+
28
+ Restore user from the recycle bin
29
+
30
+ ```sh
31
+ m365 aad user recyclebinitem restore --id 990e2425-f595-43bc-85ed-b89a44093793
32
+ ```
33
+
34
+ ## Response
35
+
36
+ === "JSON"
37
+
38
+ ```json
39
+ {
40
+ "id": "990e2425-f595-43bc-85ed-b89a44093793",
41
+ "businessPhones": [],
42
+ "displayName": "John Doe",
43
+ "givenName": "John",
44
+ "jobTitle": "Sales Manager",
45
+ "mail": null,
46
+ "mobilePhone": null,
47
+ "officeLocation": null,
48
+ "preferredLanguage": "nl-BE",
49
+ "surname": "Doe",
50
+ "userPrincipalName": "john.doe@contoso.com",
51
+ }
52
+ ```
53
+
54
+ === "Text"
55
+
56
+ ```text
57
+ businessPhones : []
58
+ displayName : John Doe
59
+ givenName : John
60
+ id : 990e2425-f595-43bc-85ed-b89a44093793
61
+ jobTitle : Sales Manager
62
+ mail : null
63
+ mobilePhone : null
64
+ officeLocation : null
65
+ preferredLanguage: nl-BE
66
+ surname : Doe
67
+ userPrincipalName: john.doe@contoso.com
68
+ ```
69
+
70
+ === "CSV"
71
+
72
+ ```csv
73
+ id,businessPhones,displayName,givenName,jobTitle,mail,mobilePhone,officeLocation,preferredLanguage,surname,userPrincipalName
74
+ 990e2425-f595-43bc-85ed-b89a44093793,[],John Doe,John,Sales Manager,,,,nl-BE,Doe,john.doe@contoso.com
75
+ ```
76
+
77
+ === "Markdown"
78
+
79
+ ```md
80
+ # user recyclebin restore --id 990e2425-f595-43bc-85ed-b89a44093793
81
+
82
+ Date: 16/02/2023
83
+
84
+ ## John Doe (990e2425-f595-43bc-85ed-b89a44093793)
85
+
86
+ Property | Value
87
+ ---------|-------
88
+ id | 990e2425-f595-43bc-85ed-b89a44093793
89
+ businessPhones | []
90
+ displayName | John Doe
91
+ givenName | John
92
+ jobTitle | Sales Manager
93
+ mail | null
94
+ mobilePhone | null
95
+ officeLocation | null
96
+ preferredLanguage | nl-BE
97
+ surname | Doe
98
+ userPrincipalName | john.doe@contoso.com
99
+ ```
@@ -0,0 +1,51 @@
1
+ # aad user remove
2
+
3
+ Removes a specific user
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 aad user remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--id [id]`
14
+ : The ID of the user. Specify either `id` or `userName` but not both.
15
+
16
+ `--userName [userName]`
17
+ : User principal name of the user. Specify either `id` or `userName` but not both.
18
+
19
+ `--confirm`
20
+ : Don't prompt for confirmation.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ !!! important
27
+ If the user with the specified id or user name doesn't exist, you will get a `Resource 'xyz' does not exist or one of its queried reference-property objects are not present.` error.
28
+
29
+ !!! important
30
+ To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator.
31
+
32
+ !!! note
33
+ After running this command, it may take a minute before the user is effectively moved to the recycle bin.
34
+
35
+ ## Examples
36
+
37
+ Removes a specific user by id
38
+
39
+ ```sh
40
+ m365 aad user remove --id a33bd401-9117-4e0e-bb7b-3f61c1539e10
41
+ ```
42
+
43
+ Removes a specific user by its UPN
44
+
45
+ ```sh
46
+ m365 aad user remove --userName john.doe@contoso.com
47
+ ```
48
+
49
+ ## Response
50
+
51
+ The command won't return a response on success.
@@ -74,7 +74,7 @@ m365 aad user set --objectId 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --accountEnabl
74
74
  Reset password of a given user by userPrincipalName and require the user to change the password on the next sign in
75
75
 
76
76
  ```sh
77
- m365 aad user set --userPrincipalName steve@contoso.onmicrosoft.com --resetPassword --password 6NLUId79Lc24 --forceChangePasswordNextSignIn
77
+ m365 aad user set --userPrincipalName steve@contoso.onmicrosoft.com --resetPassword --newPassword 6NLUId79Lc24 --forceChangePasswordNextSignIn
78
78
  ```
79
79
 
80
80
  Change password of the currently logged in user
@@ -12,16 +12,16 @@ m365 cli completion clink update [options]
12
12
 
13
13
  --8<-- "docs/cmd/_global.md"
14
14
 
15
- !!! important
16
- Before running this command, change the working directory to where your shell stores completion plugins. For cmder, it's `%CMDER_ROOT%\vendor\clink-completions`, where `%CMDER_ROOT%` is the folder where you installed cmder. After running this command, restart your terminal to load the completion.
17
-
18
15
  ## Remarks
19
16
 
20
17
  This commands updates the list of commands and their options used by command completion in Clink (cmder). You should run this command each time after upgrading the CLI for Microsoft 365.
21
18
 
19
+ !!! important
20
+ Before running this command, change the working directory to where your shell stores completion plugins. For cmder, it's `%CMDER_ROOT%\vendor\clink-completions`, where `%CMDER_ROOT%` is the folder where you installed cmder. After running this command, restart your terminal to load the completion.
21
+
22
22
  ## Examples
23
23
 
24
- Write the list of commands for Clink (cmder) command completion to a file named `m365.lua` in the current directory
24
+ Write the list of commands for Clink (cmder) command completion to a file named `m365.lua` in the current directory.
25
25
 
26
26
  ```powershell
27
27
  m365 cli completion clink update > m365.lua
@@ -10,8 +10,8 @@ m365 flow 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 to get information about. When not specified, the default environment is retrieved.
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
@@ -24,12 +24,17 @@ If the environment with the name you specified doesn't exist, you will get the `
24
24
 
25
25
  ## Examples
26
26
 
27
- Get information about the Microsoft Flow environment named _Default-d87a7535-dd31-4437-bfe1-95340acd55c5_
27
+ Get information about a Microsoft Flow environment specified by name
28
28
 
29
29
  ```sh
30
30
  m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
31
31
  ```
32
32
 
33
+ Get information about the default Microsoft Flow environment
34
+ ```sh
35
+ m365 flow environment get
36
+ ```
37
+
33
38
  ## Response
34
39
 
35
40
  ### Standard response
@@ -129,3 +134,26 @@ m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
129
134
  name,id,location,displayName,provisioningState,environmentSku,azureRegionHint,isDefault
130
135
  Default-d87a7535-dd31-4437-bfe1-95340acd55c5,/providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5,india,contoso (default),Succeeded,Default,centralindia,1
131
136
  ```
137
+
138
+ === "Markdown"
139
+
140
+ ```md
141
+ # flow environment get
142
+
143
+ Date: 8/2/2023
144
+
145
+ ## contoso (default) (/providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5)
146
+
147
+ Property | Value
148
+ ---------|-------
149
+ name | Default-d87a7535-dd31-4437-bfe1-95340acd55c5
150
+ location | india
151
+ type | Microsoft.ProcessSimple/environments
152
+ id | /providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5
153
+ properties | {"displayName":"contoso (default)","createdTime":"2019-12-21T18:32:11.8708704Z","createdBy":{"id":"SYSTEM","displayName": "SYSTEM","type": "NotSpecified"},"provisioningState":"Succeeded","creationType":"DefaultTenant","environmentSku":"Default","environmentType":"NotSpecified","states":{"management":{"id":"NotSpecified"},"runtime":{"runtimeReasonCode":"NotSpecified","requestedBy":{"displayName":"SYSTEM","type":"NotSpecified"},"id":"Enabled"}},"isDefault":true,"isPayAsYouGoEnabled":false,"azureRegionHint":"centralindia","runtimeEndpoints":{"microsoft.BusinessAppPlatform":"https://india.api.bap.microsoft.com","microsoft.CommonDataModel":"https://india.api.cds.microsoft.com","microsoft.PowerApps":"https://india.api.powerapps.com",microsoft.PowerAppsAdvisor":"https://india.api.advisor.powerapps.com","microsoft.PowerVirtualAgents":"https://powervamg.in-il101.gateway.prod.island.powerapps.com","microsoft.ApiManagement":"https://management.INDIA.azure-apihub.net","microsoft.Flow":"https://india.api.flow.microsoft.com"},"linkedEnvironmentMetadata":{"type":"NotSpecified","resourceId":"3aa550bf-52ac-42fc-98f7-5d1833c1501c","friendlyName":"contoso (default)","uniqueName":"orgfc80770f","domainName":"orgfc80770f","version":"9.2.22105.00154","instanceUrl":"https://orgfc80770f.crm8.dynamics.com/","instanceApiUrl":"https://orgfc80770f.api.crm8.dynamics.com","baseLanguage":1033,"instanceState":"Ready","createdTime":"2019-12-25T15:46:14.433Z"},"environmentFeatures":{"isOpenApiEnabled":false},"cluster":{"category":"Prod","number":"101","uriSuffix":"in-il101.gateway.prod.island","geoShortName":"IN","environment":"Prod"},"governanceConfiguration":{"protectionLevel":"Basic"}}
154
+ displayName | contoso (default)
155
+ provisioningState | Succeeded
156
+ environmentSku | Default
157
+ azureRegionHint | centralindia
158
+ isDefault | true
159
+ ```
@@ -0,0 +1,61 @@
1
+ # flow owner ensure
2
+
3
+ Assigns/updates permissions to a Power Automate flow
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 flow owner ensure [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environmentName <environmentName>`
14
+ : The name of the environment.
15
+
16
+ `-f, --flowName <flowName>`
17
+ : The name of the Power Automate flow.
18
+
19
+ `--userId [userId]`
20
+ : The ID of the user. Specify either `userId`, `userName`, `groupId` or `groupName`.
21
+
22
+ `--userName [userName]`
23
+ : User principal name of the user. Specify either `userId`, `userName`, `groupId` or `groupName`.
24
+
25
+ `--groupId [groupId]`
26
+ : The ID of the group. Specify either `userId`, `userName`, `groupId` or `groupName`.
27
+
28
+ `--groupName [groupName]`
29
+ : The name of the group. Specify either `userId`, `userName`, `groupId` or `groupName`.
30
+
31
+ `--roleName <roleName>`
32
+ : Access level for the user on the flow. Valid options are `CanView` or `CanEdit`.
33
+
34
+ `--asAdmin`
35
+ : Run the command as admin.
36
+
37
+ --8<-- "docs/cmd/_global.md"
38
+
39
+ ## Examples
40
+
41
+ Assign owner permissions to a specific Power Automate flow for a user with ID
42
+
43
+ ```sh
44
+ m365 flow owner ensure --userId 5c241023-2ba5-4ea8-a516-a2481a3e6c51 --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --roleName CanEdit
45
+ ```
46
+
47
+ Assign owner permissions to a specific Power Automate flow for a user with UPN
48
+
49
+ ```sh
50
+ m365 flow owner ensure --userName "john.doe@contoso.com" --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --roleName CanEdit
51
+ ```
52
+
53
+ Assign owner permissions to a specific Power Automate flow for a group
54
+
55
+ ```sh
56
+ m365 flow owner ensure --groupId 8d4d9f32-1ab0-4f81-9054-efbb1759e8e6 --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --roleName CanEdit
57
+ ```
58
+
59
+ ## Response
60
+
61
+ The command won't return a response on success.
@@ -0,0 +1,90 @@
1
+ # flow owner list
2
+
3
+ Lists all owners of a Power Automate flow
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 flow owner list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environmentName <environmentName>`
14
+ : The name of the environment.
15
+
16
+ `-f, --flowName <flowName>`
17
+ : The name of the Power Automate flow.
18
+
19
+ `--asAdmin`
20
+ : Run the command as admin.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ Gets the owners by the name of the Power Automate flow within a specified environment
27
+
28
+ ```sh
29
+ m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72
30
+ ```
31
+
32
+ Gets the owners by the name of the Power Automate flow within a specified environment with admin privileges
33
+
34
+ ```sh
35
+ m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --asAdmin
36
+ ```
37
+
38
+ ## Response
39
+
40
+ === "JSON"
41
+
42
+ ```json
43
+ [
44
+ {
45
+ "name": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
46
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a",
47
+ "type": "/providers/Microsoft.ProcessSimple/environments/flows/permissions",
48
+ "properties": {
49
+ "roleName": "Owner",
50
+ "permissionType": "Principal",
51
+ "principal": {
52
+ "id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
53
+ "type": "User"
54
+ }
55
+ }
56
+ }
57
+ ]
58
+ ```
59
+
60
+ === "Text"
61
+
62
+ ```text
63
+ roleName id type
64
+ -------- ------------------------------------ ----
65
+ Owner fe36f75e-c103-410b-a18a-2bf6df06ac3a User
66
+ ```
67
+
68
+ === "CSV"
69
+
70
+ ```csv
71
+ roleName,id,type
72
+ Owner,fe36f75e-c103-410b-a18a-2bf6df06ac3a,User
73
+ ```
74
+
75
+ === "Markdown"
76
+
77
+ ```md
78
+ # flow owner list --environmentName "Default-c5a5d746-3520-453f-8a69-780f8e44917e" --flowName "72f2be4a-78c1-4220-a048-dbf557296a72"
79
+
80
+ Date: 25/02/2023
81
+
82
+ ## fe36f75e-c103-410b-a18a-2bf6df06ac3a (/providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a)
83
+
84
+ Property | Value
85
+ ---------|-------
86
+ name | fe36f75e-c103-410b-a18a-2bf6df06ac3a
87
+ id | /providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a
88
+ type | /providers/Microsoft.ProcessSimple/environments/flows/permissions
89
+ properties | {"roleName":"Owner","permissionType":"Principal","principal":{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","type":"User"}}
90
+ ```