@pnp/cli-microsoft365 5.9.0-beta.fd24b4e → 5.9.0

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 (152) hide show
  1. package/.eslintrc.js +15 -2
  2. package/README.md +5 -0
  3. package/dist/Command.js +16 -2
  4. package/dist/m365/aad/commands/app/app-add.js +37 -13
  5. package/dist/m365/commands/status.js +6 -1
  6. package/dist/m365/outlook/commands/mail/mail-send.js +55 -31
  7. package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
  8. package/dist/m365/pp/commands/Environment.js +3 -0
  9. package/dist/m365/pp/commands/card/card-get.js +110 -0
  10. package/dist/m365/pp/commands/card/card-list.js +68 -0
  11. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +6 -12
  12. package/dist/m365/pp/commands/environment/environment-get.js +75 -0
  13. package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
  14. package/dist/m365/pp/commands/solution/solution-get.js +117 -0
  15. package/dist/m365/pp/commands.js +5 -0
  16. package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
  17. package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
  18. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
  19. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
  20. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
  21. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
  22. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
  23. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
  24. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
  25. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
  26. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
  27. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
  28. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
  29. package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
  30. package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
  31. package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
  32. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
  33. package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
  34. package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
  35. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
  36. package/dist/m365/spo/commands/field/field-add.js +26 -1
  37. package/dist/m365/spo/commands/field/field-set.js +23 -13
  38. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
  39. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +168 -0
  40. package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
  41. package/dist/m365/spo/commands/group/group-list.js +49 -10
  42. package/dist/m365/spo/commands/list/list-contenttype-add.js +21 -18
  43. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +59 -47
  44. package/dist/m365/spo/commands/list/list-contenttype-list.js +16 -8
  45. package/dist/m365/spo/commands/list/list-contenttype-remove.js +16 -8
  46. package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
  47. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
  48. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
  49. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +15 -7
  50. package/dist/m365/spo/commands/list/list-webhook-add.js +19 -11
  51. package/dist/m365/spo/commands/list/list-webhook-get.js +17 -10
  52. package/dist/m365/spo/commands/list/list-webhook-list.js +23 -24
  53. package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
  54. package/dist/m365/spo/commands/list/list-webhook-set.js +18 -10
  55. package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
  56. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
  57. package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
  58. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
  59. package/dist/m365/spo/commands/listitem/listitem-list.js +27 -11
  60. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
  61. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
  62. package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
  63. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
  64. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
  65. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
  66. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +14 -6
  67. package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
  68. package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
  69. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
  70. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
  71. package/dist/m365/spo/commands.js +5 -0
  72. package/dist/m365/teams/commands/channel/channel-add.js +9 -9
  73. package/dist/m365/todo/commands/list/list-get.js +89 -0
  74. package/dist/m365/todo/commands/task/task-add.js +55 -3
  75. package/dist/m365/todo/commands/task/task-get.js +108 -0
  76. package/dist/m365/todo/commands/task/task-set.js +53 -1
  77. package/dist/m365/todo/commands.js +2 -0
  78. package/docs/docs/_clisettings.md +19 -0
  79. package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
  80. package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
  81. package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
  82. package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
  83. package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
  84. package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
  85. package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
  86. package/docs/docs/cmd/planner/plan/plan-get.md +75 -0
  87. package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
  88. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  89. package/docs/docs/cmd/pp/card/card-get.md +51 -0
  90. package/docs/docs/cmd/pp/card/card-list.md +33 -0
  91. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +2 -2
  92. package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
  93. package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
  94. package/docs/docs/cmd/pp/gateway/gateway-get.md +24 -0
  95. package/docs/docs/cmd/pp/solution/solution-get.md +51 -0
  96. package/docs/docs/cmd/pp/solution/solution-list.md +2 -2
  97. package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
  98. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  99. package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
  100. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
  101. package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
  102. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +2 -2
  103. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
  104. package/docs/docs/cmd/spo/field/field-add.md +20 -2
  105. package/docs/docs/cmd/spo/field/field-set.md +11 -2
  106. package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
  107. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.md +57 -0
  108. package/docs/docs/cmd/spo/group/group-list.md +10 -1
  109. package/docs/docs/cmd/spo/list/list-contenttype-add.md +16 -7
  110. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +16 -7
  111. package/docs/docs/cmd/spo/list/list-contenttype-list.md +15 -6
  112. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +17 -8
  113. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
  114. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +14 -5
  115. package/docs/docs/cmd/spo/list/list-webhook-add.md +15 -16
  116. package/docs/docs/cmd/spo/list/list-webhook-get.md +16 -7
  117. package/docs/docs/cmd/spo/list/list-webhook-list.md +16 -7
  118. package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
  119. package/docs/docs/cmd/spo/list/list-webhook-set.md +14 -12
  120. package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
  121. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
  122. package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
  123. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
  124. package/docs/docs/cmd/spo/listitem/listitem-list.md +12 -3
  125. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
  126. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
  127. package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
  128. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
  129. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
  130. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +11 -2
  131. package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
  132. package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
  133. package/docs/docs/cmd/teams/channel/channel-add.md +4 -4
  134. package/docs/docs/cmd/tenant/id/id-get.md +20 -0
  135. package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
  136. package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
  137. package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
  138. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
  139. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
  140. package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
  141. package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
  142. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
  143. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
  144. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
  145. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
  146. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
  147. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
  148. package/docs/docs/cmd/todo/list/list-get.md +61 -0
  149. package/docs/docs/cmd/todo/task/task-add.md +32 -5
  150. package/docs/docs/cmd/todo/task/task-get.md +75 -0
  151. package/docs/docs/cmd/todo/task/task-set.md +29 -2
  152. package/package.json +12 -3
@@ -0,0 +1,19 @@
1
+ ## Available settings
2
+
3
+ Following is the list of configuration settings available in CLI for Microsoft 365.
4
+
5
+ Setting name|Definition|Default value
6
+ ------------|----------|-------------
7
+ `autoOpenBrowserOnLogin`|Automatically open the browser to the Azure AD login page after running `m365 login` command in device code mode. This setting will be replaced by `autoOpenLinksInBrowser` in the next major release.|`false`
8
+ `autoOpenLinksInBrowser`|Automatically open the browser for all commands which return a url and expect the user to copy paste this to the browser. For example when logging in, using `m365 login` in device code mode. This setting will replace `autoOpenBrowserOnLogin` in the next major release.|`false`
9
+ `copyDeviceCodeToClipboard`|Automatically copy the device code to the clipboard when running `m365 login` command in device code mode|`false`
10
+ `csvEscape`|Single character used for escaping; only apply to characters matching the quote and the escape options|`"`
11
+ `csvHeader`|Display the column names on the first line|`true`
12
+ `csvQuote`|The quote characters surrounding a field. An empty quote value will preserve the original field, whether it contains quotation marks or not.|` `
13
+ `csvQuoted`|Quote all the non-empty fields even if not required|`false`
14
+ `csvQuotedEmpty`|Quote empty strings and overrides quoted_string on empty strings when defined|`false`
15
+ `errorOutput`|Defines if errors should be written to `stdout` or `stderr`|`stderr`
16
+ `output`|Defines the default output when issuing a command|`json`
17
+ `printErrorsAsPlainText`|When output mode is set to `json`, print error messages as plain-text rather than JSON|`true`
18
+ `prompt`|Prompts for missing values in required options|`false`
19
+ `showHelpOnFailure`|Automatically display help when executing a command failed|`true`
@@ -43,6 +43,9 @@ m365 outlook sendmail [options]
43
43
  `--importance [importance]`
44
44
  : The importance of the message. Available options: `low`, `normal` or `high`. Default is `normal`.
45
45
 
46
+ `--attachment [attachment]`
47
+ : Path to the file that will be added as attachment to the email. This option can be used multiple times to attach multiple attachments.
48
+
46
49
  `--saveToSentItems [saveToSentItems]`
47
50
  : Save email in the sent items folder. Default `true`.
48
51
 
@@ -50,6 +53,10 @@ m365 outlook sendmail [options]
50
53
 
51
54
  ## Remarks
52
55
 
56
+ ### Attachments
57
+
58
+ When using the `attachment` option, note that the total size of all attachment files cannot exceed 3 MB.
59
+
53
60
  ### If you are connected using app only authentication
54
61
 
55
62
  - Always specify a user id or upn in the `--sender` option. The email will be sent as if it came from the specified user, and can optionally be saved in the sent folder of that user account.
@@ -116,3 +123,9 @@ Send an email with cc and bcc recipients marked as important
116
123
  ```sh
117
124
  m365 outlook mail send --to chris@contoso.com --cc claire@contoso.com --bcc randy@contoso.com --subject "DG2000 Data Sheets" --bodyContents "The latest data sheets are in the team site" --importance high
118
125
  ```
126
+
127
+ Send an email with multiple attachments
128
+
129
+ ```sh
130
+ m365 outlook mail send --to chris@contoso.com --subject "Monthly reports" --bodyContents "Here are the reports of this month." --attachment "C:/Reports/File1.jpg" --attachment "C:/Reports/File2.docx" --attachment "C:/Reports/File3.xlsx"
131
+ ```
@@ -46,3 +46,32 @@ Adds a Microsoft Planner bucket with the name _My Planner Bucket_ for plan with
46
46
  ```sh
47
47
  m365 planner bucket add --name "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
48
48
  ```
49
+
50
+ ## Response
51
+
52
+ === "JSON"
53
+
54
+ ```json
55
+ {
56
+ "name": "My Planner Bucket",
57
+ "planId": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
58
+ "orderHint": "8585363889524958496",
59
+ "id": "ttEB_Uj690STdR3GC1MIDZgANq1U"
60
+ }
61
+ ```
62
+
63
+ === "Text"
64
+
65
+ ```text
66
+ id : ttEB_Uj690STdR3GC1MIDZgANq1U
67
+ name : My Planner Bucket
68
+ orderHint: 8585363889524958496
69
+ planId : xqQg5FS2LkCp935s-FIFm2QAFkHM
70
+ ```
71
+
72
+ === "CSV"
73
+
74
+ ```csv
75
+ id,name,planId,orderHint
76
+ ttEB_Uj690STdR3GC1MIDZgANq1U,My Planner Bucket,xqQg5FS2LkCp935s-FIFm2QAFkHM,8585363889524958496
77
+ ```
@@ -58,3 +58,32 @@ Gets the Microsoft Planner bucket in the Plan _My Plan_ owned by groupId ee0f40f
58
58
  ```sh
59
59
  m365 planner bucket get --name "Planner Bucket A" --planTitle "My Plan" --ownerGroupId "ee0f40fc-b2f7-45c7-b62d-11b90dd2ea8e"
60
60
  ```
61
+
62
+ ## Response
63
+
64
+ === "JSON"
65
+
66
+ ```json
67
+ {
68
+ "name": "My Planner Bucket",
69
+ "planId": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
70
+ "orderHint": "8585363889524958496",
71
+ "id": "ttEB_Uj690STdR3GC1MIDZgANq1U"
72
+ }
73
+ ```
74
+
75
+ === "Text"
76
+
77
+ ```text
78
+ id : ttEB_Uj690STdR3GC1MIDZgANq1U
79
+ name : My Planner Bucket
80
+ orderHint: 8585363889524958496
81
+ planId : xqQg5FS2LkCp935s-FIFm2QAFkHM
82
+ ```
83
+
84
+ === "CSV"
85
+
86
+ ```csv
87
+ id,name,planId,orderHint
88
+ ttEB_Uj690STdR3GC1MIDZgANq1U,My Planner Bucket,xqQg5FS2LkCp935s-FIFm2QAFkHM,8585363889524958496
89
+ ```
@@ -40,3 +40,33 @@ Lists the Microsoft Planner buckets in the Plan _My Plan_ owned by group _My Gro
40
40
  ```sh
41
41
  m365 planner bucket list --planTitle "My Plan" --ownerGroupName "My Group"
42
42
  ```
43
+
44
+ ## Response
45
+
46
+ === "JSON"
47
+
48
+ ```json
49
+ [
50
+ {
51
+ "name": "My Planner Bucket",
52
+ "planId": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
53
+ "orderHint": "8585363889524958496",
54
+ "id": "ttEB_Uj690STdR3GC1MIDZgANq1U"
55
+ }
56
+ ]
57
+ ```
58
+
59
+ === "Text"
60
+
61
+ ```text
62
+ id name planId orderHint
63
+ ---------------------------- ----------------- ---------------------------- -------------------
64
+ ttEB_Uj690STdR3GC1MIDZgANq1U My Planner Bucket xqQg5FS2LkCp935s-FIFm2QAFkHM 8585363889524958496
65
+ ```
66
+
67
+ === "CSV"
68
+
69
+ ```csv
70
+ id,name,planId,orderHint
71
+ ttEB_Uj690STdR3GC1MIDZgANq1U,My Planner Bucket,xqQg5FS2LkCp935s-FIFm2QAFkHM,8585363889524958496
72
+ ```
@@ -61,3 +61,7 @@ Removes the Microsoft Planner bucket with name _My Bucket_ in the Plan _My Plan_
61
61
  ```sh
62
62
  m365 planner bucket remove --name "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
63
63
  ```
64
+
65
+ ## Response
66
+
67
+ The command won't return a response on success.
@@ -58,3 +58,7 @@ Updates the Microsoft Planner bucket named _My Bucket_ in the Plan _My Plan_ own
58
58
  ```sh
59
59
  m365 planner bucket set --name "My Bucket" --planTitle "My Plan" --ownerGroupId 00000000-0000-0000-0000-000000000000 --newName "New bucket name"
60
60
  ```
61
+
62
+ ## Response
63
+
64
+ The command won't return a response on success.
@@ -50,3 +50,126 @@ Adds a Microsoft Planner plan with the name _My Planner Plan_ for Group _My Plan
50
50
  ```sh
51
51
  m365 planner plan add --title 'My Planner Plan' --ownerGroupName 'My Planner Group' --shareWithUserNames 'Allan.Carroll@contoso.com,Ida.Stevens@contoso.com'
52
52
  ```
53
+
54
+ ## Response
55
+
56
+ ### Standard response
57
+
58
+ === "JSON"
59
+
60
+ ``` json
61
+ {
62
+ "createdDateTime": "2015-03-30T18:36:49.2407981Z",
63
+ "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
64
+ "title": "My Planner Plan",
65
+ "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
66
+ "createdBy": {
67
+ "user": {
68
+ "displayName": null,
69
+ "id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
70
+ },
71
+ "application": {
72
+ "displayName": null,
73
+ "id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
74
+ }
75
+ },
76
+ "container": {
77
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
78
+ "type": "group",
79
+ "url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
80
+ }
81
+ }
82
+ ```
83
+
84
+ === "Text"
85
+
86
+ ``` text
87
+ createdDateTime: 2015-03-30T18:36:49.2407981Z
88
+ id : xqQg5FS2LkCp935s-FIFm2QAFkHM
89
+ owner : ebf3b108-5234-4e22-b93d-656d7dae5874
90
+ title : My Planner Plan
91
+ ```
92
+
93
+ === "CSV"
94
+
95
+ ``` text
96
+ id,title,createdDateTime,owner
97
+ xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
98
+ ```
99
+
100
+ ### `shareWithUserIds`, `shareWithUserNames` response
101
+
102
+ When we make use of the option `shareWithUserIds` or `shareWithUserNames` the response will differ.
103
+
104
+ === "JSON"
105
+
106
+ ```json
107
+ {
108
+ "createdDateTime": "2015-03-30T18:36:49.2407981Z",
109
+ "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
110
+ "title": "My Planner Plan",
111
+ "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
112
+ "createdBy": {
113
+ "user": {
114
+ "displayName": null,
115
+ "id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
116
+ },
117
+ "application": {
118
+ "displayName": null,
119
+ "id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
120
+ }
121
+ },
122
+ "container": {
123
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
124
+ "type": "group",
125
+ "url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
126
+ },
127
+ "sharedWith": {
128
+ "ebf3b108-5234-4e22-b93d-656d7dae5874": true,
129
+ "6463a5ce-2119-4198-9f2a-628761df4a62": true
130
+ },
131
+ "categoryDescriptions": {
132
+ "category1": null,
133
+ "category2": null,
134
+ "category3": null,
135
+ "category4": null,
136
+ "category5": null,
137
+ "category6": null,
138
+ "category7": null,
139
+ "category8": null,
140
+ "category9": null,
141
+ "category10": null,
142
+ "category11": null,
143
+ "category12": null,
144
+ "category13": null,
145
+ "category14": null,
146
+ "category15": null,
147
+ "category16": null,
148
+ "category17": null,
149
+ "category18": null,
150
+ "category19": null,
151
+ "category20": null,
152
+ "category21": null,
153
+ "category22": null,
154
+ "category23": null,
155
+ "category24": null,
156
+ "category25": null
157
+ }
158
+ }
159
+ ```
160
+
161
+ === "Text"
162
+
163
+ ```text
164
+ createdDateTime: 2015-03-30T18:36:49.2407981Z
165
+ id : xqQg5FS2LkCp935s-FIFm2QAFkHM
166
+ owner : ebf3b108-5234-4e22-b93d-656d7dae5874
167
+ title : My Planner Plan
168
+ ```
169
+
170
+ === "CSV"
171
+
172
+ ```csv
173
+ id,title,createdDateTime,owner
174
+ xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
175
+ ```
@@ -55,3 +55,78 @@ Returns the Microsoft Planner plan with title _MyPlan_ for Group _My Planner Gro
55
55
  ```sh
56
56
  m365 planner plan get --title "MyPlan" --ownerGroupName "My Planner Group"
57
57
  ```
58
+
59
+ ## Response
60
+
61
+ === "JSON"
62
+
63
+ ```json
64
+ {
65
+ "createdDateTime": "2015-03-30T18:36:49.2407981Z",
66
+ "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
67
+ "title": "My Planner Plan",
68
+ "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
69
+ "createdBy": {
70
+ "user": {
71
+ "displayName": null,
72
+ "id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
73
+ },
74
+ "application": {
75
+ "displayName": null,
76
+ "id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
77
+ }
78
+ },
79
+ "container": {
80
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
81
+ "type": "group",
82
+ "url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
83
+ },
84
+ "sharedWith": {
85
+ "ebf3b108-5234-4e22-b93d-656d7dae5874": true,
86
+ "6463a5ce-2119-4198-9f2a-628761df4a62": true
87
+ },
88
+ "categoryDescriptions": {
89
+ "category1": null,
90
+ "category2": null,
91
+ "category3": null,
92
+ "category4": null,
93
+ "category5": null,
94
+ "category6": null,
95
+ "category7": null,
96
+ "category8": null,
97
+ "category9": null,
98
+ "category10": null,
99
+ "category11": null,
100
+ "category12": null,
101
+ "category13": null,
102
+ "category14": null,
103
+ "category15": null,
104
+ "category16": null,
105
+ "category17": null,
106
+ "category18": null,
107
+ "category19": null,
108
+ "category20": null,
109
+ "category21": null,
110
+ "category22": null,
111
+ "category23": null,
112
+ "category24": null,
113
+ "category25": null
114
+ }
115
+ }
116
+ ```
117
+
118
+ === "Text"
119
+
120
+ ```text
121
+ createdDateTime: 2015-03-30T18:36:49.2407981Z
122
+ id : xqQg5FS2LkCp935s-FIFm2QAFkHM
123
+ owner : ebf3b108-5234-4e22-b93d-656d7dae5874
124
+ title : My Planner Plan
125
+ ```
126
+
127
+ === "CSV"
128
+
129
+ ```csv
130
+ id,title,createdDateTime,owner
131
+ xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
132
+ ```
@@ -31,3 +31,48 @@ Returns a list of Microsoft Planner plans for Group _My Planner Group_
31
31
  ```sh
32
32
  m365 planner plan list --ownerGroupName "My Planner Group"
33
33
  ```
34
+
35
+ ## Response
36
+
37
+ === "JSON"
38
+
39
+ ```json
40
+ [
41
+ {
42
+ "createdDateTime": "2015-03-30T18:36:49.2407981Z",
43
+ "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
44
+ "title": "My Planner Plan",
45
+ "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
46
+ "createdBy": {
47
+ "user": {
48
+ "displayName": null,
49
+ "id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
50
+ },
51
+ "application": {
52
+ "displayName": null,
53
+ "id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
54
+ }
55
+ },
56
+ "container": {
57
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
58
+ "type": "group",
59
+ "url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
60
+ }
61
+ }
62
+ ]
63
+ ```
64
+
65
+ === "Text"
66
+
67
+ ```text
68
+ id title createdDateTime owner
69
+ ---------------------------- --------------- ---------------------------- ------------------------------------
70
+ xqQg5FS2LkCp935s-FIFm2QAFkHM My Planner Plan 2015-03-30T18:36:49.2407981Z ebf3b108-5234-4e22-b93d-656d7dae5874
71
+ ```
72
+
73
+ === "CSV"
74
+
75
+ ```csv
76
+ id,title,createdDateTime,owner
77
+ xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
78
+ ```
@@ -46,3 +46,7 @@ Removes the Microsoft Planner plan with title _My Plan_ in group with name _My P
46
46
  ```sh
47
47
  m365 planner plan remove --title "My Plan" --ownerGroupName "My Planner Group" --confirm
48
48
  ```
49
+
50
+ ## Response
51
+
52
+ The command won't return a response on success.
@@ -0,0 +1,51 @@
1
+ # pp card get
2
+
3
+ Gets a specific Microsoft Power Platform card in the specified Power Platform environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ pp card 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 card. Specify either `id` or `name` but not both.
18
+
19
+ `-n, --name [name]`
20
+ : The name of the card. 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
+ Get a specific card in a specific environment based on name
30
+
31
+ ```sh
32
+ m365 pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Card"
33
+ ```
34
+
35
+ Get a specific card in a specific environment based on name as admin
36
+
37
+ ```sh
38
+ m365 pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Card" --asAdmin
39
+ ```
40
+
41
+ Get a specific card in a specific environment based on id
42
+
43
+ ```sh
44
+ m365 pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa"
45
+ ```
46
+
47
+ Get a specific card in a specific environment based on id as admin
48
+
49
+ ```sh
50
+ m365 pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --asAdmin
51
+ ```
@@ -0,0 +1,33 @@
1
+ # pp card list
2
+
3
+ Lists Microsoft Power Platform cards in the specified Power Platform environment.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ pp card list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment.
15
+
16
+ `-a, --asAdmin`
17
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ List cards in a specific environment.
24
+
25
+ ```sh
26
+ m365 pp card list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
27
+ ```
28
+
29
+ List cards in a specific environment as admin.
30
+
31
+ ```sh
32
+ m365 pp card list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --asAdmin
33
+ ```
@@ -11,10 +11,10 @@ pp dataverse table list [options]
11
11
  ## Options
12
12
 
13
13
  `-e, --environment <environment>`
14
- The name of the environment to list all tables for
14
+ : The name of the environment to list all tables for
15
15
 
16
16
  `-a, --asAdmin`
17
- Set, to retrieve the dataverse tables as admin for environments you are not a member of.
17
+ : Set, to retrieve the dataverse tables as admin for environments you are not a member of.
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
@@ -0,0 +1,38 @@
1
+ # pp environment get
2
+
3
+ Gets information about the specified Power Platform environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp environment get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-n, --name <name>`
14
+ : The name of the environment to get information about
15
+
16
+ `-a, --asAdmin`
17
+ : Run the command as admin and retrieve details of environments you do not have explicitly assigned permissions to
18
+
19
+ ## Remarks
20
+
21
+ !!! attention
22
+ This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
23
+ Register CLI for Microsoft 365 or Azure AD application as a management application for the Power Platform using
24
+ m365 pp managementapp add [options]
25
+
26
+ ## Examples
27
+
28
+ Get information about the Power Platform environment by name
29
+
30
+ ```sh
31
+ m365 pp environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
32
+ ```
33
+
34
+ Get information as admin about the Power Platform environment by name
35
+
36
+ ```sh
37
+ m365 pp environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
38
+ ```
@@ -11,7 +11,7 @@ m365 pp environment list [options]
11
11
  ## Options
12
12
 
13
13
  `-a, --asAdmin`
14
- Run the command as admin and retrieve all environments. Lists only environments you have explicitly are assigned permissions to by default.
14
+ : Run the command as admin and retrieve all environments. Lists only environments you have explicitly are assigned permissions to by default.
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
@@ -0,0 +1,24 @@
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
+ ```
@@ -0,0 +1,51 @@
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
+ ```
@@ -11,10 +11,10 @@ m365 pp solution list [options]
11
11
  ## Options
12
12
 
13
13
  `-e, --environment <environment>`
14
- The name of the environment
14
+ : The name of the environment
15
15
 
16
16
  `-a, --asAdmin`
17
- Run the command as admin for environments you do not have explicitly assigned permissions to.
17
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20