@pnp/cli-microsoft365 6.0.0-beta.b5f756a → 6.0.0-beta.b62b543

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 (252) hide show
  1. package/dist/Command.js +16 -2
  2. package/dist/m365/aad/commands/app/app-add.js +4 -4
  3. package/dist/m365/aad/commands/app/app-list.js +38 -0
  4. package/dist/m365/aad/commands/user/user-get.js +1 -0
  5. package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
  6. package/dist/m365/aad/commands.js +2 -0
  7. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +4 -4
  8. package/dist/m365/base/SpoCommand.js +12 -11
  9. package/dist/m365/commands/status.js +6 -1
  10. package/dist/m365/outlook/commands/message/message-get.js +97 -0
  11. package/dist/m365/outlook/commands.js +1 -0
  12. package/dist/m365/planner/commands/bucket/bucket-get.js +4 -7
  13. package/dist/m365/planner/commands/plan/plan-get.js +11 -16
  14. package/dist/m365/pp/commands/card/card-clone.js +122 -0
  15. package/dist/m365/pp/commands/card/card-get.js +110 -0
  16. package/dist/m365/pp/commands/card/card-remove.js +130 -0
  17. package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
  18. package/dist/m365/pp/commands/solution/solution-get.js +117 -0
  19. package/dist/m365/pp/commands/solution/solution-remove.js +130 -0
  20. package/dist/m365/pp/commands.js +6 -0
  21. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-beta.1.js → doctor-1.16.0-rc.0.js} +6 -6
  22. package/dist/m365/spfx/commands/project/project-doctor.js +5 -2
  23. package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
  24. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
  25. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
  26. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
  27. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
  28. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
  29. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
  30. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
  31. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
  32. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
  33. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
  34. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-rc.0.js} +44 -28
  35. package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
  36. package/dist/m365/spfx/commands/spfx-doctor.js +6 -6
  37. package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
  38. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
  39. package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
  40. package/dist/m365/spo/commands/field/field-add.js +26 -1
  41. package/dist/m365/spo/commands/field/field-set.js +23 -13
  42. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -15
  43. package/dist/m365/spo/commands/file/file-version-list.js +96 -0
  44. package/dist/m365/spo/commands/folder/folder-list.js +35 -12
  45. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
  46. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
  47. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +150 -0
  48. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +149 -0
  49. package/dist/m365/spo/commands/list/list-roleassignment-add.js +5 -23
  50. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +4 -15
  51. package/dist/m365/spo/commands/list/list-set.js +31 -8
  52. package/dist/m365/spo/commands/list/list-view-field-add.js +19 -5
  53. package/dist/m365/spo/commands/list/list-view-field-remove.js +18 -4
  54. package/dist/m365/spo/commands/list/list-view-field-set.js +18 -4
  55. package/dist/m365/spo/commands/list/list-view-list.js +14 -10
  56. package/dist/m365/spo/commands/list/list-view-remove.js +17 -8
  57. package/dist/m365/spo/commands/list/list-view-set.js +19 -7
  58. package/dist/m365/spo/commands/list/list-webhook-get.js +2 -3
  59. package/dist/m365/spo/commands/list/list-webhook-set.js +11 -12
  60. package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
  61. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
  62. package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
  63. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
  64. package/dist/m365/spo/commands/listitem/listitem-list.js +21 -14
  65. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
  66. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
  67. package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
  68. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
  69. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +4 -15
  70. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
  71. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +13 -5
  72. package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
  73. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +4 -7
  74. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
  75. package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
  76. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +4 -7
  77. package/dist/m365/spo/commands/web/web-roleassignment-add.js +4 -15
  78. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +4 -8
  79. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
  80. package/dist/m365/spo/commands.js +7 -2
  81. package/dist/m365/teams/commands/Meeting.js +3 -0
  82. package/dist/m365/teams/commands/channel/channel-get.js +2 -2
  83. package/dist/m365/teams/commands/channel/channel-remove.js +56 -39
  84. package/dist/m365/teams/commands/channel/channel-set.js +57 -19
  85. package/dist/m365/teams/commands/meeting/meeting-list.js +153 -0
  86. package/dist/m365/teams/commands/team/team-archive.js +4 -7
  87. package/dist/m365/teams/commands/team/team-remove.js +3 -3
  88. package/dist/m365/teams/commands/team/team-unarchive.js +3 -3
  89. package/dist/m365/teams/commands.js +1 -0
  90. package/dist/m365/todo/commands/list/list-get.js +89 -0
  91. package/dist/m365/todo/commands/task/task-add.js +55 -3
  92. package/dist/m365/todo/commands/task/task-get.js +108 -0
  93. package/dist/m365/todo/commands.js +2 -0
  94. package/dist/utils/md.js +8 -1
  95. package/docs/docs/cmd/aad/app/app-add.md +19 -19
  96. package/docs/docs/cmd/aad/app/app-list.md +149 -0
  97. package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
  98. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +12 -5
  99. package/docs/docs/cmd/app/app-get.md +156 -0
  100. package/docs/docs/cmd/app/app-open.md +20 -0
  101. package/docs/docs/cmd/app/permission/permission-list.md +43 -0
  102. package/docs/docs/cmd/booking/business/business-get.md +107 -0
  103. package/docs/docs/cmd/booking/business/business-list.md +34 -0
  104. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
  105. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
  106. package/docs/docs/cmd/outlook/message/message-get.md +48 -0
  107. package/docs/docs/cmd/pa/app/app-get.md +184 -0
  108. package/docs/docs/cmd/pa/app/app-list.md +181 -0
  109. package/docs/docs/cmd/pa/app/app-remove.md +4 -0
  110. package/docs/docs/cmd/pa/connector/connector-export.md +4 -0
  111. package/docs/docs/cmd/pa/connector/connector-list.md +89 -0
  112. package/docs/docs/cmd/pa/environment/environment-get.md +113 -0
  113. package/docs/docs/cmd/pa/environment/environment-list.md +109 -0
  114. package/docs/docs/cmd/pa/pcf/pcf-init.md +4 -0
  115. package/docs/docs/cmd/pa/solution/solution-init.md +5 -0
  116. package/docs/docs/cmd/pa/solution/solution-reference-add.md +4 -0
  117. package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
  118. package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
  119. package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
  120. package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
  121. package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
  122. package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
  123. package/docs/docs/cmd/planner/plan/plan-get.md +77 -2
  124. package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
  125. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  126. package/docs/docs/cmd/pp/card/card-clone.md +77 -0
  127. package/docs/docs/cmd/pp/card/card-get.md +122 -0
  128. package/docs/docs/cmd/pp/card/card-list.md +71 -0
  129. package/docs/docs/cmd/pp/card/card-remove.md +82 -0
  130. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +85 -0
  131. package/docs/docs/cmd/pp/environment/environment-get.md +308 -0
  132. package/docs/docs/cmd/pp/environment/environment-list.md +312 -0
  133. package/docs/docs/cmd/pp/gateway/gateway-get.md +56 -0
  134. package/docs/docs/cmd/pp/gateway/gateway-list.md +35 -0
  135. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +23 -0
  136. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +27 -0
  137. package/docs/docs/cmd/pp/solution/solution-get.md +86 -0
  138. package/docs/docs/cmd/pp/solution/solution-list.md +37 -0
  139. package/docs/docs/cmd/pp/solution/solution-remove.md +82 -0
  140. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +62 -0
  141. package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
  142. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  143. package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
  144. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
  145. package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
  146. package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
  147. package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
  148. package/docs/docs/cmd/spo/field/field-add.md +20 -2
  149. package/docs/docs/cmd/spo/field/field-set.md +15 -3
  150. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +9 -9
  151. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +3 -3
  152. package/docs/docs/cmd/spo/file/file-version-list.md +76 -0
  153. package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
  154. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
  155. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
  156. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +62 -0
  157. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +58 -0
  158. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
  159. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +2 -2
  160. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +9 -9
  161. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +8 -8
  162. package/docs/docs/cmd/spo/list/list-set.md +18 -6
  163. package/docs/docs/cmd/spo/list/list-view-field-add.md +14 -4
  164. package/docs/docs/cmd/spo/list/list-view-field-remove.md +11 -2
  165. package/docs/docs/cmd/spo/list/list-view-field-set.md +18 -2
  166. package/docs/docs/cmd/spo/list/list-view-list.md +16 -7
  167. package/docs/docs/cmd/spo/list/list-view-remove.md +12 -3
  168. package/docs/docs/cmd/spo/list/list-view-set.md +20 -6
  169. package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
  170. package/docs/docs/cmd/spo/list/list-webhook-set.md +11 -4
  171. package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
  172. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
  173. package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
  174. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
  175. package/docs/docs/cmd/spo/listitem/listitem-list.md +17 -8
  176. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
  177. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
  178. package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
  179. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
  180. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +8 -8
  181. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
  182. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +8 -5
  183. package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
  184. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +14 -19
  185. package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
  186. package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
  187. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +2 -2
  188. package/docs/docs/cmd/spo/term/term-add.md +5 -0
  189. package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
  190. package/docs/docs/cmd/spo/web/web-roleassignment-add.md +6 -6
  191. package/docs/docs/cmd/spo/web/web-roleassignment-remove.md +4 -4
  192. package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
  193. package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
  194. package/docs/docs/cmd/teams/channel/channel-remove.md +12 -9
  195. package/docs/docs/cmd/teams/channel/channel-set.md +13 -6
  196. package/docs/docs/cmd/teams/meeting/meeting-list.md +149 -0
  197. package/docs/docs/cmd/teams/message/message-get.md +80 -0
  198. package/docs/docs/cmd/teams/message/message-list.md +63 -0
  199. package/docs/docs/cmd/teams/message/message-reply-list.md +63 -0
  200. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +31 -0
  201. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +4 -0
  202. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +35 -0
  203. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +36 -0
  204. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +41 -0
  205. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +49 -0
  206. package/docs/docs/cmd/teams/report/report-pstncalls.md +49 -0
  207. package/docs/docs/cmd/teams/report/report-useractivitycounts.md +39 -0
  208. package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +33 -0
  209. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +58 -0
  210. package/docs/docs/cmd/teams/tab/tab-add.md +35 -0
  211. package/docs/docs/cmd/teams/tab/tab-get.md +35 -0
  212. package/docs/docs/cmd/teams/tab/tab-list.md +43 -0
  213. package/docs/docs/cmd/teams/tab/tab-remove.md +4 -0
  214. package/docs/docs/cmd/teams/team/team-add.md +145 -0
  215. package/docs/docs/cmd/teams/team/team-archive.md +7 -3
  216. package/docs/docs/cmd/teams/team/team-clone.md +4 -0
  217. package/docs/docs/cmd/teams/team/team-get.md +78 -0
  218. package/docs/docs/cmd/teams/team/team-list.md +30 -0
  219. package/docs/docs/cmd/teams/team/team-remove.md +7 -3
  220. package/docs/docs/cmd/teams/team/team-set.md +4 -0
  221. package/docs/docs/cmd/teams/team/team-unarchive.md +5 -2
  222. package/docs/docs/cmd/teams/user/user-app-add.md +4 -0
  223. package/docs/docs/cmd/teams/user/user-app-list.md +40 -0
  224. package/docs/docs/cmd/teams/user/user-app-remove.md +4 -0
  225. package/docs/docs/cmd/teams/user/user-list.md +31 -0
  226. package/docs/docs/cmd/tenant/id/id-get.md +20 -0
  227. package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
  228. package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
  229. package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
  230. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
  231. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
  232. package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
  233. package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
  234. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
  235. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
  236. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
  237. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
  238. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
  239. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
  240. package/docs/docs/cmd/todo/list/list-add.md +32 -1
  241. package/docs/docs/cmd/todo/list/list-get.md +61 -0
  242. package/docs/docs/cmd/todo/list/list-list.md +31 -0
  243. package/docs/docs/cmd/todo/list/list-remove.md +10 -6
  244. package/docs/docs/cmd/todo/list/list-set.md +9 -5
  245. package/docs/docs/cmd/todo/task/task-add.md +88 -5
  246. package/docs/docs/cmd/todo/task/task-get.md +75 -0
  247. package/docs/docs/cmd/todo/task/task-list.md +47 -0
  248. package/docs/docs/cmd/todo/task/task-remove.md +9 -4
  249. package/docs/docs/cmd/todo/task/task-set.md +59 -5
  250. package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +20 -0
  251. package/docs/docs/cmd/viva/connections/connections-app-create.md +4 -0
  252. package/package.json +13 -6
@@ -35,3 +35,315 @@ List all Microsoft Power Platform environments
35
35
  ```sh
36
36
  m365 pp environment list --asAdmin
37
37
  ```
38
+
39
+ ## Response
40
+
41
+ === "JSON"
42
+
43
+ ```json
44
+ [
45
+ {
46
+ "id":"/providers/Microsoft.BusinessAppPlatform/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d",
47
+ "type":"Microsoft.BusinessAppPlatform/environments",
48
+ "location":"europe",
49
+ "name":"Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d",
50
+ "properties":{
51
+ "tenantId":"e1dd4023-a656-480a-8a0e-c1b1eec51e1d",
52
+ "azureRegion":"northeurope",
53
+ "displayName":"contoso (default)",
54
+ "createdTime":"2020-03-12T13:39:17.9876946Z",
55
+ "createdBy":{
56
+ "id":"SYSTEM",
57
+ "displayName":"SYSTEM",
58
+ "type":"NotSpecified"
59
+ },
60
+ "provisioningState":"Succeeded",
61
+ "creationType":"DefaultTenant",
62
+ "environmentSku":"Default",
63
+ "isDefault":true,
64
+ "clientUris":{
65
+ "admin":"https://admin.powerplatform.microsoft.com/environments/environment/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/hub",
66
+ "maker":"https://make.powerapps.com/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/home"
67
+ },
68
+ "runtimeEndpoints":{
69
+ "microsoft.BusinessAppPlatform":"https://europe.api.bap.microsoft.com",
70
+ "microsoft.CommonDataModel":"https://europe.api.cds.microsoft.com",
71
+ "microsoft.PowerApps":"https://europe.api.powerapps.com",
72
+ "microsoft.PowerAppsAdvisor":"https://europe.api.advisor.powerapps.com",
73
+ "microsoft.PowerVirtualAgents":"https://powervamg.eu-il109.gateway.prod.island.powerapps.com",
74
+ "microsoft.ApiManagement":"https://management.EUROPE.azure-apihub.net",
75
+ "microsoft.Flow":"https://emea.api.flow.microsoft.com"
76
+ },
77
+ "databaseType":"CommonDataService",
78
+ "linkedEnvironmentMetadata":{
79
+ "resourceId":"5041ef46-5a1c-4a0f-a185-6bb49b5c6686",
80
+ "friendlyName":"contoso (default)",
81
+ "uniqueName":"unq5041ef465a1c4a0fa1856bb49b5c6",
82
+ "domainName":"org6633049a",
83
+ "version":"9.2.22101.00168",
84
+ "instanceUrl":"https://org6633049a.crm4.dynamics.com/",
85
+ "instanceApiUrl":"https://org6633049a.api.crm4.dynamics.com",
86
+ "baseLanguage":1033,
87
+ "instanceState":"Ready",
88
+ "createdTime":"2021-10-08T09:50:41.283Z",
89
+ "backgroundOperationsState":"Enabled",
90
+ "scaleGroup":"EURCRMLIVESG644",
91
+ "platformSku":"Standard"
92
+ },
93
+ "trialScenarioType":"None",
94
+ "retentionPeriod":"P7D",
95
+ "states":{
96
+ "management":{
97
+ "id":"NotSpecified"
98
+ },
99
+ "runtime":{
100
+ "runtimeReasonCode":"NotSpecified",
101
+ "requestedBy":{
102
+ "displayName":"SYSTEM",
103
+ "type":"NotSpecified"
104
+ },
105
+ "id":"Enabled"
106
+ }
107
+ },
108
+ "updateCadence":{
109
+ "id":"Frequent"
110
+ },
111
+ "retentionDetails":{
112
+ "retentionPeriod":"P7D",
113
+ "backupsAvailableFromDateTime":"2022-10-23T23:27:16.8059564Z"
114
+ },
115
+ "protectionStatus":{
116
+ "keyManagedBy":"Microsoft"
117
+ },
118
+ "cluster":{
119
+ "category":"Prod",
120
+ "number":"109",
121
+ "uriSuffix":"eu-il109.gateway.prod.island",
122
+ "geoShortName":"EU",
123
+ "environment":"Prod"
124
+ },
125
+ "connectedGroups":[
126
+
127
+ ],
128
+ "lifecycleOperationsEnforcement":{
129
+ "allowedOperations":[
130
+ {
131
+ "type":{
132
+ "id":"Backup"
133
+ }
134
+ },
135
+ {
136
+ "type":{
137
+ "id":"Edit"
138
+ }
139
+ },
140
+ {
141
+ "type":{
142
+ "id":"Enable"
143
+ }
144
+ },
145
+ {
146
+ "type":{
147
+ "id":"Disable"
148
+ }
149
+ },
150
+ {
151
+ "type":{
152
+ "id":"EnableGovernanceConfiguration"
153
+ }
154
+ }
155
+ ],
156
+ "disallowedOperations":[
157
+ {
158
+ "type":{
159
+ "id":"Provision"
160
+ },
161
+ "reason":{
162
+ "message":"Provision cannot be performed because there is no linked CDS instance or the CDS instance version is not supported."
163
+ }
164
+ },
165
+ {
166
+ "type":{
167
+ "id":"Unlock"
168
+ },
169
+ "reason":{
170
+ "message":"Unlock cannot be performed because there is no linked CDS instance or the CDS instance version is not supported."
171
+ }
172
+ },
173
+ {
174
+ "type":{
175
+ "id":"Convert"
176
+ },
177
+ "reason":{
178
+ "message":"Convert cannot be performed on environment of type Default."
179
+ }
180
+ },
181
+ {
182
+ "type":{
183
+ "id":"Copy"
184
+ },
185
+ "reason":{
186
+ "message":"Copy cannot be performed on environment of type Default."
187
+ }
188
+ },
189
+ {
190
+ "type":{
191
+ "id":"Delete"
192
+ },
193
+ "reason":{
194
+ "message":"Delete cannot be performed on environment of type Default."
195
+ }
196
+ },
197
+ {
198
+ "type":{
199
+ "id":"Promote"
200
+ },
201
+ "reason":{
202
+ "message":"Promote cannot be performed on environment of type Default."
203
+ }
204
+ },
205
+ {
206
+ "type":{
207
+ "id":"Recover"
208
+ },
209
+ "reason":{
210
+ "message":"Recover cannot be performed on environment of type Default."
211
+ }
212
+ },
213
+ {
214
+ "type":{
215
+ "id":"Reset"
216
+ },
217
+ "reason":{
218
+ "message":"Reset cannot be performed on environment of type Default."
219
+ }
220
+ },
221
+ {
222
+ "type":{
223
+ "id":"Restore"
224
+ },
225
+ "reason":{
226
+ "message":"Restore cannot be performed on environment of type Default."
227
+ }
228
+ },
229
+ {
230
+ "type":{
231
+ "id":"UpdateProtectionStatus"
232
+ },
233
+ "reason":{
234
+ "message":"UpdateProtectionStatus cannot be performed on environment of type Default."
235
+ }
236
+ },
237
+ {
238
+ "type":{
239
+ "id":"NewCustomerManagedKey"
240
+ },
241
+ "reason":{
242
+ "message":"NewCustomerManagedKey cannot be performed on environment of type Default."
243
+ }
244
+ },
245
+ {
246
+ "type":{
247
+ "id":"RotateCustomerManagedKey"
248
+ },
249
+ "reason":{
250
+ "message":"RotateCustomerManagedKey cannot be performed on environment of type Default."
251
+ }
252
+ },
253
+ {
254
+ "type":{
255
+ "id":"RevertToMicrosoftKey"
256
+ },
257
+ "reason":{
258
+ "message":"RevertToMicrosoftKey cannot be performed on environment of type Default."
259
+ }
260
+ },
261
+ {
262
+ "type":{
263
+ "id":"NewNetworkInjection"
264
+ },
265
+ "reason":{
266
+ "message":"NewNetworkInjection cannot be performed on environment of type Default."
267
+ }
268
+ },
269
+ {
270
+ "type":{
271
+ "id":"SwapNetworkInjection"
272
+ },
273
+ "reason":{
274
+ "message":"SwapNetworkInjection cannot be performed on environment of type Default."
275
+ }
276
+ },
277
+ {
278
+ "type":{
279
+ "id":"RevertNetworkInjection"
280
+ },
281
+ "reason":{
282
+ "message":"RevertNetworkInjection cannot be performed on environment of type Default."
283
+ }
284
+ },
285
+ {
286
+ "type":{
287
+ "id":"NewIdentity"
288
+ },
289
+ "reason":{
290
+ "message":"NewIdentity cannot be performed on environment of type Default."
291
+ }
292
+ },
293
+ {
294
+ "type":{
295
+ "id":"SwapIdentity"
296
+ },
297
+ "reason":{
298
+ "message":"SwapIdentity cannot be performed on environment of type Default."
299
+ }
300
+ },
301
+ {
302
+ "type":{
303
+ "id":"RevertIdentity"
304
+ },
305
+ "reason":{
306
+ "message":"RevertIdentity cannot be performed on environment of type Default."
307
+ }
308
+ },
309
+ {
310
+ "type":{
311
+ "id":"DisableGovernanceConfiguration"
312
+ },
313
+ "reason":{
314
+ "message":"DisableGovernanceConfiguration cannot be performed on Power Platform environment because of the governance configuration."
315
+ }
316
+ },
317
+ {
318
+ "type":{
319
+ "id":"UpdateGovernanceConfiguration"
320
+ },
321
+ "reason":{
322
+ "message":"UpdateGovernanceConfiguration cannot be performed on Power Platform environment because of the governance configuration."
323
+ }
324
+ }
325
+ ]
326
+ },
327
+ "governanceConfiguration":{
328
+ "protectionLevel":"Basic"
329
+ }
330
+ },
331
+ "displayName":"contoso (default)"
332
+ }
333
+ ]
334
+ ```
335
+
336
+ === "Text"
337
+
338
+ ```text
339
+ displayName name
340
+ --------------------------------------- --------------------------------------------
341
+ environmentName (default) (org6633050c) Default-e1dd4030-a657-480a-8a0e-c1b1eec51e2e
342
+ ```
343
+
344
+ === "CSV"
345
+
346
+ ```csv
347
+ name,displayName
348
+ Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d,contoso (default)
349
+ ```
@@ -0,0 +1,56 @@
1
+ # pp gateway get
2
+
3
+ Get information about the specified gateway
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp gateway get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : ID of the Gateway.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Get information about the specified gateway.
21
+
22
+ ```sh
23
+ m365 pp gateway get --id 1f69e798-5852-4fdd-ab01-33bb14b6e934
24
+ ```
25
+
26
+ ## Response
27
+
28
+ === "JSON"
29
+
30
+ ```json
31
+ {
32
+ "id":"22660b34-31b3-4744-a99c-5e154458a784",
33
+ "gatewayId":0,
34
+ "name":"Contoso Gateway",
35
+ "type":"Resource",
36
+ "publicKey":{
37
+ "exponent":"AQAB",
38
+ "modulus":"okJBN8MJyaVkjfkN75B6OgP7RYiC3KFMFaky9KqqudqiTOcZPRXlsG+emrbnnBpFzw7ywe4gWtUGnPCqy01RKeDZrFA3QfkVPJpH28OWfrmgkMQNsI4Op2uxwEyjnJAyfYxIsHlpevOZoDKpWJgV+sH6MRf/+LK4hN3vNJuWKKpf90rNwjipnYMumHyKVkd4Vssc9Ftsu4Samu0/TkXzUkyje5DxMF2ZK1Nt2TgItBcpKi4wLCP4bPDYYaa9vfOmBlji7U+gwuE5bjnmjazFljQ5sOP0VdA0fRoId3+nI7n1rSgRq265jNHX84HZbm2D/Pk8C0dElTmYEswGPDWEJQ=="
39
+ },
40
+ "gatewayAnnotation":"{\"gatewayContactInformation\":[\"admin@contoso.onmicrosoft.com\"],\"gatewayVersion\":\"3000.122.8\",\"gatewayWitnessString\":\"{\\\"EncryptedResult\\\":\\\"UyfEqNSy0e9S4D0m9oacPyYhgiXLWusCiKepoLudnTEe68iw9qEaV6qNqTbSKlVUwUkD9KjbnbV0O3vU97Q/KTJXpw9/1SiyhpO+JN1rcaL51mPjyQo0WwMHMo2PU3rdEyxsLjkJxJZHTh4+XGB/lQ==\\\",\\\"IV\\\":\\\"QxCYjHEl8Ab9i78ZBYpnDw==\\\",\\\"Signature\\\":\\\"upVXK3DvWdj5scw8iUDDilzQz1ovuNgeuXRpmf0N828=\\\"}\",\"gatewayMachine\":\"SPFxDevelop\",\"gatewaySalt\":\"rA1M34AdgdCbOYQMvo/izA==\",\"gatewayWitnessStringLegacy\":null,\"gatewaySaltLegacy\":null,\"gatewayDepartment\":null,\"gatewayVirtualNetworkSubnetId\":null}"
41
+ }
42
+ ```
43
+
44
+ === "Text"
45
+
46
+ ```text
47
+ id : 22660b34-31b3-4744-a99c-5e154458a784
48
+ name: Contoso Gateway
49
+ ```
50
+
51
+ === "CSV"
52
+
53
+ ```csv
54
+ id,name
55
+ 22660b34-31b3-4744-a99c-5e154458a784,Contoso Gateway
56
+ ```
@@ -19,3 +19,38 @@ List gateways for which the user is an admin
19
19
  ```sh
20
20
  m365 pp gateway list
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "id":"22660b34-31b3-4744-a99c-5e154458a784",
31
+ "gatewayId":0,
32
+ "name":"Contoso Gateway",
33
+ "type":"Resource",
34
+ "publicKey":{
35
+ "exponent":"AQAB",
36
+ "modulus":"okJBN8MJyaVkjfkN75B6OgP7RYiC3KFMFaky9KqqudqiTOcZPRXlsG+emrbnnBpFzw7ywe4gWtUGnPCqy01RKeDZrFA3QfkVPJpH28OWfrmgkMQNsI4Op2uxwEyjnJAyfYxIsHlpevOZoDKpWJgV+sH6MRf/+LK4hN3vNJuWKKpf90rNwjipnYMumHyKVkd4Vssc9Ftsu4Samu0/TkXzUkyje5DxMF2ZK1Nt2TgItBcpKi4wLCP4bPDYYaa9vfOmBlji7U+gwuE5bjnmjazFljQ5sOP0VdA0fRoId3+nI7n1rSgRq265jNHX84HZbm2D/Pk8C0dElTmYEswGPDWEJQ=="
37
+ },
38
+ "gatewayAnnotation":"{\"gatewayContactInformation\":[\"admin@contoso.onmicrosoft.com\"],\"gatewayVersion\":\"3000.122.8\",\"gatewayWitnessString\":\"{\\\"EncryptedResult\\\":\\\"UyfEqNSy0e9S4D0m9oacPyYhgiXLWusCiKepoLudnTEe68iw9qEaV6qNqTbSKlVUwUkD9KjbnbV0O3vU97Q/KTJXpw9/1SiyhpO+JN1rcaL51mPjyQo0WwMHMo2PU3rdEyxsLjkJxJZHTh4+XGB/lQ==\\\",\\\"IV\\\":\\\"QxCYjHEl8Ab9i78ZBYpnDw==\\\",\\\"Signature\\\":\\\"upVXK3DvWdj5scw8iUDDilzQz1ovuNgeuXRpmf0N828=\\\"}\",\"gatewayMachine\":\"SPFxDevelop\",\"gatewaySalt\":\"rA1M34AdgdCbOYQMvo/izA==\",\"gatewayWitnessStringLegacy\":null,\"gatewaySaltLegacy\":null,\"gatewayDepartment\":null,\"gatewayVirtualNetworkSubnetId\":null}"
39
+ }
40
+ ]
41
+ ```
42
+
43
+ === "Text"
44
+
45
+ ```text
46
+ id name
47
+ ------------------------------------ ---------------
48
+ 22660b34-31b3-4744-a99c-5e154458a784 Contoso Gateway
49
+ ```
50
+
51
+ === "CSV"
52
+
53
+ ```csv
54
+ id,name
55
+ 22660b34-31b3-4744-a99c-5e154458a784,Contoso Gateway
56
+ ```
@@ -48,3 +48,26 @@ Register Azure AD application named _My app_ as a management application for the
48
48
  ```sh
49
49
  m365 pp managementapp add --name "My app"
50
50
  ```
51
+
52
+ ## Response
53
+
54
+ === "JSON"
55
+
56
+ ```json
57
+ {
58
+ "applicationId":"31359c7f-bd7e-475c-86db-fdb8c937548e"
59
+ }
60
+ ```
61
+
62
+ === "Text"
63
+
64
+ ```text
65
+ applicationId: 31359c7f-bd7e-475c-86db-fdb8c937548e
66
+ ```
67
+
68
+ === "CSV"
69
+
70
+ ```csv
71
+ applicationId
72
+ 31359c7f-bd7e-475c-86db-fdb8c937548e
73
+ ```
@@ -19,3 +19,30 @@ Lists management applications for Power Platform
19
19
  ```sh
20
20
  m365 pp managementapp list
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "applicationId":"31359c7f-bd7e-475c-86db-fdb8c937548e"
31
+ }
32
+ ]
33
+ ```
34
+
35
+ === "Text"
36
+
37
+ ```text
38
+ applicationId
39
+ ------------------------------------
40
+ 31359c7f-bd7e-475c-86db-fdb8c937548e
41
+ ```
42
+
43
+ === "CSV"
44
+
45
+ ```csv
46
+ applicationId
47
+ 31359c7f-bd7e-475c-86db-fdb8c937548e
48
+ ```
@@ -0,0 +1,86 @@
1
+ # pp solution get
2
+
3
+ Gets a specific solution in a given environment.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp solution get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment.
15
+
16
+ `-i --id [id]`
17
+ : The ID of the solution. Specify either `id` or `name` but not both.
18
+
19
+ `-n, --name [name]`
20
+ : The unique name (not the display name) of the solution. Specify either `id` or `name` but not both.
21
+
22
+ `-a, --asAdmin`
23
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Examples
28
+
29
+ Gets a specific solution in a specific environment based on name
30
+
31
+ ```sh
32
+ m365 pp solution get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "Default"
33
+ ```
34
+
35
+ Gets a specific solution in a specific environment based on name as Admin
36
+
37
+ ```sh
38
+ m365 pp solution get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "Default" --asAdmin
39
+ ```
40
+
41
+ Gets a specific solution in a specific environment based on id
42
+
43
+ ```sh
44
+ m365 pp solution get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e"
45
+ ```
46
+
47
+ Gets a specific solution in a specific environment based on id as Admin
48
+
49
+ ```sh
50
+ m365 pp solution get --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e" --asAdmin
51
+ ```
52
+
53
+ ## Response
54
+
55
+ === "JSON"
56
+
57
+ ```json
58
+ {
59
+ "solutionid": "fd140aaf-4df4-11dd-bd17-0019b9312238",
60
+ "uniquename": "Default",
61
+ "version": "1.0",
62
+ "installedon": "2021-10-01T21:29:10Z",
63
+ "solutionpackageversion": null,
64
+ "friendlyname": "Default Solution",
65
+ "versionnumber": 860055,
66
+ "publisherid": {
67
+ "friendlyname": "Default Publisher for org6633049a",
68
+ "publisherid": "d21aab71-79e7-11dd-8874-00188b01e34f"
69
+ }
70
+ }
71
+ ```
72
+
73
+ === "Text"
74
+
75
+ ```text
76
+ publisher : Default Publisher for org6633049a
77
+ uniquename: Default
78
+ version : 1.0
79
+ ```
80
+
81
+ === "CSV"
82
+
83
+ ```csv
84
+ uniquename,version,publisher
85
+ Default,1.0,Default Publisher for org6633049a
86
+ ```
@@ -31,3 +31,40 @@ List all solutions in a specific environment as Admin
31
31
  ```sh
32
32
  m365 pp solution list --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
33
33
  ```
34
+
35
+ ## Response
36
+
37
+ === "JSON"
38
+
39
+ ```json
40
+ [
41
+ {
42
+ "solutionid": "00000001-0000-0000-0001-00000000009b",
43
+ "uniquename": "Crc00f1",
44
+ "version": "1.0.0.0",
45
+ "installedon": "2021-10-01T21:54:14Z",
46
+ "solutionpackageversion": null,
47
+ "friendlyname": "Common Data Services Default Solution",
48
+ "versionnumber": 860052,
49
+ "publisherid": {
50
+ "friendlyname": "CDS Default Publisher",
51
+ "publisherid": "00000001-0000-0000-0000-00000000005a"
52
+ }
53
+ }
54
+ ]
55
+ ```
56
+
57
+ === "Text"
58
+
59
+ ```text
60
+ uniquename version publisher
61
+ ---------- --------- ---------------------
62
+ Crc00f1 1.0.0.0 CDS Default Publisher
63
+ ```
64
+
65
+ === "CSV"
66
+
67
+ ```csv
68
+ uniquename,version,publisher
69
+ Crc00f1,1.0.0.0,CDS Default Publisher
70
+ ```
@@ -0,0 +1,82 @@
1
+ # pp solution remove
2
+
3
+ Removes the specified solution in the specified Power Platform environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp solution remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment.
15
+
16
+ `-i, --id [id]`
17
+ : The id of the solution. Specify either `id` or `name` but not both.
18
+
19
+ `-n, --name [name]`
20
+ : The unique name (not the display name) of the solution. Specify either `id` or `name` but not both.
21
+
22
+ `--asAdmin`
23
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
24
+
25
+ `--confirm`
26
+ : Don't prompt for confirmation
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ Removes the specified solution with a specific name, owned by the currently signed-in user
33
+
34
+ ```sh
35
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name"
36
+ ```
37
+
38
+ Removes the specified solution owned by the currently signed-in user based on the name parameter without confirmation
39
+
40
+ ```sh
41
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name" --confirm
42
+ ```
43
+
44
+ Removes the specified solution owned by another user based on the name parameter
45
+
46
+ ```sh
47
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name" --asAdmin
48
+ ```
49
+
50
+ Removes the specified solution owned by another user based on the name parameter without confirmation
51
+
52
+ ```sh
53
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "solution Name" --asAdmin --confirm
54
+ ```
55
+
56
+ Removes the specified solution owned by the currently signed-in user based on the id parameter
57
+
58
+ ```sh
59
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b
60
+ ```
61
+
62
+ Removes the specified solution owned by the currently signed-in user based on the id parameter without confirmation
63
+
64
+ ```sh
65
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --confirm
66
+ ```
67
+
68
+ Removes the specified solution owned by another user based on the id parameter
69
+
70
+ ```sh
71
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --asAdmin
72
+ ```
73
+
74
+ Removes the specified solution owned by another user based on the id parameter without confirmation
75
+
76
+ ```sh
77
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --asAdmin --confirm
78
+ ```
79
+
80
+ ## Response
81
+
82
+ The command won't return a response on success.