@pnp/cli-microsoft365 6.3.0 → 6.4.0-beta.140530d

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 (212) 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/Auth.js +1 -3
  6. package/dist/Command.js +1 -0
  7. package/dist/m365/aad/commands/user/user-get.js +3 -0
  8. package/dist/m365/aad/commands/user/user-license-remove.js +2 -1
  9. package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +2 -9
  10. package/dist/m365/aad/commands/user/user-set.js +3 -0
  11. package/dist/m365/aad/commands/user/user-signin-list.js +3 -0
  12. package/dist/m365/file/commands/file-list.js +5 -1
  13. package/dist/m365/flow/commands/flow-disable.js +9 -2
  14. package/dist/m365/flow/commands/flow-enable.js +9 -2
  15. package/dist/m365/flow/commands/flow-get.js +9 -2
  16. package/dist/m365/flow/commands/flow-list.js +1 -1
  17. package/dist/m365/flow/commands/flow-remove.js +2 -2
  18. package/dist/m365/flow/commands/owner/owner-ensure.js +147 -0
  19. package/dist/m365/flow/commands/owner/owner-list.js +89 -0
  20. package/dist/m365/flow/commands/owner/owner-remove.js +147 -0
  21. package/dist/m365/flow/commands/run/run-cancel.js +9 -2
  22. package/dist/m365/flow/commands/run/run-list.js +5 -2
  23. package/dist/m365/flow/commands.js +3 -0
  24. package/dist/m365/planner/commands/roster/roster-member-add.js +3 -0
  25. package/dist/m365/planner/commands/roster/roster-member-get.js +98 -0
  26. package/dist/m365/planner/commands.js +1 -0
  27. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +138 -0
  28. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +48 -14
  29. package/dist/m365/purview/commands.js +1 -0
  30. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0-beta.1.js +59 -0
  31. package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
  32. package/dist/m365/spfx/commands/spfx-doctor.js +43 -29
  33. package/dist/m365/spo/commands/commandset/commandset-add.js +138 -0
  34. package/dist/m365/spo/commands/commandset/commandset-get.js +128 -0
  35. package/dist/m365/spo/commands/commandset/commandset-list.js +77 -0
  36. package/dist/m365/spo/commands/commandset/commandset-remove.js +146 -0
  37. package/dist/m365/spo/commands/commandset/commandset-set.js +182 -0
  38. package/dist/m365/spo/commands/customaction/customaction-get.js +27 -7
  39. package/dist/m365/spo/commands/file/file-move.js +1 -1
  40. package/dist/m365/spo/commands/group/group-member-add.js +54 -95
  41. package/dist/m365/spo/commands/list/list-add.js +11 -8
  42. package/dist/m365/spo/commands/list/list-set.js +3 -3
  43. package/dist/m365/spo/commands/navigation/navigation-node-add.js +5 -4
  44. package/dist/m365/spo/commands/navigation/navigation-node-set.js +5 -1
  45. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +118 -0
  46. package/dist/m365/spo/commands/term/term-get.js +68 -48
  47. package/dist/m365/spo/commands/user/user-ensure.js +105 -0
  48. package/dist/m365/spo/commands.js +7 -0
  49. package/dist/m365/todo/commands/task/task-add.js +35 -3
  50. package/dist/utils/aadGroup.js +18 -0
  51. package/dist/utils/aadUser.js +37 -0
  52. package/dist/utils/md.js +7 -0
  53. package/dist/utils/spo.js +32 -0
  54. package/docs/docs/cmd/aad/app/app-add.md +3 -3
  55. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
  56. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +3 -3
  57. package/docs/docs/cmd/aad/user/user-remove.md +1 -1
  58. package/docs/docs/cmd/cli/completion/completion-clink-update.md +4 -4
  59. package/docs/docs/cmd/flow/owner/owner-ensure.md +61 -0
  60. package/docs/docs/cmd/flow/owner/owner-list.md +90 -0
  61. package/docs/docs/cmd/flow/owner/owner-remove.md +67 -0
  62. package/docs/docs/cmd/flow/run/run-list.md +28 -0
  63. package/docs/docs/cmd/onenote/page/page-list.md +1 -1
  64. package/docs/docs/cmd/outlook/mail/mail-send.md +7 -3
  65. package/docs/docs/cmd/outlook/message/message-get.md +143 -0
  66. package/docs/docs/cmd/outlook/message/message-list.md +119 -0
  67. package/docs/docs/cmd/outlook/message/message-move.md +4 -0
  68. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.md +40 -0
  69. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.md +40 -0
  70. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.md +45 -0
  71. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.md +43 -0
  72. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.md +44 -0
  73. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.md +48 -0
  74. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.md +41 -0
  75. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.md +49 -0
  76. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.md +37 -0
  77. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.md +40 -0
  78. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.md +36 -0
  79. package/docs/docs/cmd/outlook/room/room-list.md +81 -0
  80. package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +58 -0
  81. package/docs/docs/cmd/planner/plan/plan-add.md +3 -3
  82. package/docs/docs/cmd/planner/plan/plan-set.md +73 -7
  83. package/docs/docs/cmd/planner/roster/roster-add.md +16 -1
  84. package/docs/docs/cmd/planner/roster/roster-member-get.md +87 -0
  85. package/docs/docs/cmd/planner/task/task-add.md +230 -0
  86. package/docs/docs/cmd/planner/task/task-checklistitem-add.md +55 -0
  87. package/docs/docs/cmd/planner/task/task-checklistitem-list.md +55 -0
  88. package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +4 -0
  89. package/docs/docs/cmd/planner/task/task-get.md +131 -0
  90. package/docs/docs/cmd/planner/task/task-list.md +92 -0
  91. package/docs/docs/cmd/planner/task/task-reference-add.md +46 -0
  92. package/docs/docs/cmd/planner/task/task-reference-list.md +46 -0
  93. package/docs/docs/cmd/planner/task/task-reference-remove.md +4 -0
  94. package/docs/docs/cmd/planner/task/task-remove.md +4 -0
  95. package/docs/docs/cmd/planner/task/task-set.md +230 -0
  96. package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +55 -0
  97. package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +55 -0
  98. package/docs/docs/cmd/pp/card/card-get.md +2 -2
  99. package/docs/docs/cmd/pp/card/card-list.md +2 -2
  100. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +149 -0
  101. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +7 -7
  102. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -0
  103. package/docs/docs/cmd/skype/report/report-activitycounts.md +38 -0
  104. package/docs/docs/cmd/skype/report/report-activityusercounts.md +38 -0
  105. package/docs/docs/cmd/skype/report/report-activityuserdetail.md +67 -0
  106. package/docs/docs/cmd/spfx/project/project-doctor.md +3 -3
  107. package/docs/docs/cmd/spfx/project/project-externalize.md +3 -3
  108. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +21 -0
  109. package/docs/docs/cmd/spfx/project/project-upgrade.md +3 -3
  110. package/docs/docs/cmd/spfx/spfx-doctor.md +3 -3
  111. package/docs/docs/cmd/spo/cdn/cdn-get.md +6 -6
  112. package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +3 -3
  113. package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +3 -3
  114. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.md +3 -3
  115. package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
  116. package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
  117. package/docs/docs/cmd/spo/cdn/cdn-set.md +3 -3
  118. package/docs/docs/cmd/spo/commandset/commandset-add.md +159 -0
  119. package/docs/docs/cmd/spo/commandset/commandset-get.md +149 -0
  120. package/docs/docs/cmd/spo/commandset/commandset-list.md +109 -0
  121. package/docs/docs/cmd/spo/commandset/commandset-remove.md +55 -0
  122. package/docs/docs/cmd/spo/commandset/commandset-set.md +71 -0
  123. package/docs/docs/cmd/spo/customaction/customaction-get.md +113 -11
  124. package/docs/docs/cmd/spo/externaluser/externaluser-list.md +2 -0
  125. package/docs/docs/cmd/spo/group/group-member-add.md +26 -4
  126. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +2 -0
  127. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +2 -0
  128. package/docs/docs/cmd/spo/homesite/homesite-remove.md +2 -0
  129. package/docs/docs/cmd/spo/homesite/homesite-set.md +2 -0
  130. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +2 -0
  131. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +2 -0
  132. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +3 -3
  133. package/docs/docs/cmd/spo/list/list-add.md +2 -2
  134. package/docs/docs/cmd/spo/list/list-set.md +2 -2
  135. package/docs/docs/cmd/spo/listitem/listitem-add.md +1 -1
  136. package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +1 -1
  137. package/docs/docs/cmd/spo/listitem/listitem-set.md +1 -1
  138. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +3 -3
  139. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +2 -2
  140. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +2 -0
  141. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +2 -0
  142. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +2 -0
  143. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +2 -0
  144. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +2 -0
  145. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +3 -3
  146. package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -0
  147. package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +3 -3
  148. package/docs/docs/cmd/spo/site/site-commsite-enable.md +2 -0
  149. package/docs/docs/cmd/spo/site/site-list.md +3 -3
  150. package/docs/docs/cmd/spo/site/site-remove.md +3 -3
  151. package/docs/docs/cmd/spo/site/site-rename.md +3 -3
  152. package/docs/docs/cmd/spo/site/site-set.md +5 -5
  153. package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +3 -3
  154. package/docs/docs/cmd/spo/storageentity/storageentity-set.md +3 -3
  155. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.md +3 -3
  156. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +2 -0
  157. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +3 -3
  158. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.md +142 -0
  159. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.md +2 -0
  160. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
  161. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +3 -3
  162. package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +2 -0
  163. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +28 -26
  164. package/docs/docs/cmd/spo/term/term-add.md +3 -3
  165. package/docs/docs/cmd/spo/term/term-get.md +3 -3
  166. package/docs/docs/cmd/spo/term/term-group-add.md +2 -0
  167. package/docs/docs/cmd/spo/term/term-group-get.md +2 -0
  168. package/docs/docs/cmd/spo/term/term-group-list.md +2 -0
  169. package/docs/docs/cmd/spo/term/term-list.md +3 -1
  170. package/docs/docs/cmd/spo/term/term-set-add.md +3 -3
  171. package/docs/docs/cmd/spo/term/term-set-get.md +2 -0
  172. package/docs/docs/cmd/spo/term/term-set-list.md +2 -0
  173. package/docs/docs/cmd/spo/theme/theme-apply.md +3 -3
  174. package/docs/docs/cmd/spo/theme/theme-get.md +2 -0
  175. package/docs/docs/cmd/spo/theme/theme-list.md +2 -0
  176. package/docs/docs/cmd/spo/theme/theme-remove.md +2 -0
  177. package/docs/docs/cmd/spo/theme/theme-set.md +3 -3
  178. package/docs/docs/cmd/spo/user/user-ensure.md +109 -0
  179. package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
  180. package/docs/docs/cmd/teams/channel/channel-member-add.md +2 -2
  181. package/docs/docs/cmd/teams/message/message-get.md +39 -4
  182. package/docs/docs/cmd/teams/message/message-list.md +41 -6
  183. package/docs/docs/cmd/teams/message/message-reply-list.md +39 -4
  184. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +20 -2
  185. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +8 -8
  186. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +12 -5
  187. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +13 -6
  188. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +14 -7
  189. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +13 -6
  190. package/docs/docs/cmd/teams/report/report-pstncalls.md +13 -6
  191. package/docs/docs/cmd/teams/report/report-useractivitycounts.md +13 -6
  192. package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +13 -6
  193. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +13 -6
  194. package/docs/docs/cmd/teams/tab/tab-add.md +16 -0
  195. package/docs/docs/cmd/teams/tab/tab-get.md +17 -0
  196. package/docs/docs/cmd/teams/tab/tab-list.md +19 -0
  197. package/docs/docs/cmd/teams/team/team-add.md +77 -8
  198. package/docs/docs/cmd/teams/team/team-app-list.md +18 -2
  199. package/docs/docs/cmd/teams/team/team-archive.md +2 -2
  200. package/docs/docs/cmd/teams/team/team-clone.md +8 -8
  201. package/docs/docs/cmd/teams/team/team-get.md +34 -4
  202. package/docs/docs/cmd/teams/team/team-list.md +34 -3
  203. package/docs/docs/cmd/teams/team/team-remove.md +3 -3
  204. package/docs/docs/cmd/teams/team/team-set.md +8 -8
  205. package/docs/docs/cmd/teams/team/team-unarchive.md +3 -2
  206. package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
  207. package/docs/docs/cmd/teams/user/user-app-list.md +18 -2
  208. package/docs/docs/cmd/teams/user/user-app-remove.md +4 -4
  209. package/docs/docs/cmd/teams/user/user-list.md +21 -4
  210. package/docs/docs/cmd/todo/task/task-add.md +47 -2
  211. package/npm-shrinkwrap.json +279 -194
  212. package/package.json +15 -14
@@ -37,3 +37,52 @@ Gets details about mailbox usage for the last week and exports the report data i
37
37
  ```sh
38
38
  m365 outlook report mailboxusagedetail --period D7 --output json > "mailboxusagedetail.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-01-24",
49
+ "User Principal Name": "john.doe@contoso.com",
50
+ "Display Name": "John Doe",
51
+ "Is Deleted": "False",
52
+ "Deleted Date": "",
53
+ "Created Date": "2023-01-18",
54
+ "Last Activity Date": "2023-01-24",
55
+ "Item Count": "191",
56
+ "Storage Used (Byte)": "5719031",
57
+ "Issue Warning Quota (Byte)": "105226698752",
58
+ "Prohibit Send Quota (Byte)": "106300440576",
59
+ "Prohibit Send/Receive Quota (Byte)": "107374182400",
60
+ "Deleted Item Count": "25",
61
+ "Deleted Item Size (Byte)": "582157",
62
+ "Deleted Item Quota (Byte)": "32212254720",
63
+ "Has Archive": "False",
64
+ "Report Period": "7"
65
+ }
66
+ ]
67
+ ```
68
+
69
+ === "Text"
70
+
71
+ ```txt
72
+ Report Refresh Date,User Principal Name,Display Name,Is Deleted,Deleted Date,Created Date,Last Activity Date,Item Count,Storage Used (Byte),Issue Warning Quota (Byte),Prohibit Send Quota (Byte),Prohibit Send/Receive Quota (Byte),Deleted Item Count,Deleted Item Size (Byte),Deleted Item Quota (Byte),Has Archive,Report Period
73
+ 2023-01-24,john.doe@contoso.com,John Doe,False,,2023-01-18,2023-01-24,191,5719031,105226698752,106300440576,107374182400,25,582157,32212254720,False,7
74
+ ```
75
+
76
+ === "CSV"
77
+
78
+ ```csv
79
+ Report Refresh Date,User Principal Name,Display Name,Is Deleted,Deleted Date,Created Date,Last Activity Date,Item Count,Storage Used (Byte),Issue Warning Quota (Byte),Prohibit Send Quota (Byte),Prohibit Send/Receive Quota (Byte),Deleted Item Count,Deleted Item Size (Byte),Deleted Item Quota (Byte),Has Archive,Report Period
80
+ 2023-01-24,john.doe@contoso.com,John Doe,False,,2023-01-18,2023-01-24,191,5719031,105226698752,106300440576,107374182400,25,582157,32212254720,False,7
81
+ ```
82
+
83
+ === "Markdown"
84
+
85
+ ```md
86
+ Report Refresh Date,User Principal Name,Display Name,Is Deleted,Deleted Date,Created Date,Last Activity Date,Item Count,Storage Used (Byte),Issue Warning Quota (Byte),Prohibit Send Quota (Byte),Prohibit Send/Receive Quota (Byte),Deleted Item Count,Deleted Item Size (Byte),Deleted Item Quota (Byte),Has Archive,Report Period
87
+ 2023-01-24,john.doe@contoso.com,John Doe,False,,2023-01-18,2023-01-24,191,5719031,105226698752,106300440576,107374182400,25,582157,32212254720,False,7
88
+ ```
@@ -41,3 +41,40 @@ Gets the total number of user mailboxes in your organization and how many are ac
41
41
  ```sh
42
42
  m365 outlook report mailboxusagemailboxcount --period D7 --output json > "mailboxusagemailboxcount.json"
43
43
  ```
44
+
45
+ ## Response
46
+
47
+ === "JSON"
48
+
49
+ ```json
50
+ [
51
+ {
52
+ "Report Refresh Date": "2023-01-24",
53
+ "Total": "146",
54
+ "Active": "131",
55
+ "Report Date": "2023-01-18",
56
+ "Report Period": "7"
57
+ }
58
+ ]
59
+ ```
60
+
61
+ === "Text"
62
+
63
+ ```txt
64
+ Report Refresh Date,Total,Active,Report Date,Report Period
65
+ 2023-01-24,146,131,2023-01-18,7
66
+ ```
67
+
68
+ === "CSV"
69
+
70
+ ```csv
71
+ Report Refresh Date,Total,Active,Report Date,Report Period
72
+ 2023-01-24,146,131,2023-01-18,7
73
+ ```
74
+
75
+ === "Markdown"
76
+
77
+ ```md
78
+ Report Refresh Date,Total,Active,Report Date,Report Period
79
+ 2023-01-24,146,131,2023-01-18,7
80
+ ```
@@ -37,3 +37,43 @@ Gets the count of user mailboxes in each quota category for the last week and ex
37
37
  ```sh
38
38
  m365 outlook report mailboxusagequotastatusmailboxcounts --period D7 --output json > "mailboxusagequotastatusmailboxcounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-01-24",
49
+ "Under Limit": "146",
50
+ "Warning Issued": "0",
51
+ "Send Prohibited": "0",
52
+ "Send/Receive Prohibited": "0",
53
+ "Indeterminate": "0",
54
+ "Report Date": "2023-01-18",
55
+ "Report Period": "7"
56
+ }
57
+ ]
58
+ ```
59
+
60
+ === "Text"
61
+
62
+ ```txt
63
+ Report Refresh Date,Under Limit,Warning Issued,Send Prohibited,Send/Receive Prohibited,Indeterminate,Report Date,Report Period
64
+ 2023-01-24,146,0,0,0,0,2023-01-18,7
65
+ ```
66
+
67
+ === "CSV"
68
+
69
+ ```csv
70
+ Report Refresh Date,Under Limit,Warning Issued,Send Prohibited,Send/Receive Prohibited,Indeterminate,Report Date,Report Period
71
+ 2023-01-24,146,0,0,0,0,2023-01-18,7
72
+ ```
73
+
74
+ === "Markdown"
75
+
76
+ ```md
77
+ Report Refresh Date,Under Limit,Warning Issued,Send Prohibited,Send/Receive Prohibited,Indeterminate,Report Date,Report Period
78
+ 2023-01-24,146,0,0,0,0,2023-01-18,7
79
+ ```
@@ -37,3 +37,39 @@ Gets the amount of mailbox storage used in your organization for the last week a
37
37
  ```sh
38
38
  m365 outlook report mailboxusagestorage --period D7 --output json > "mailboxusagestorage.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-01-24",
49
+ "Storage Used (Byte)": "791481624264",
50
+ "Report Date": "2023-01-18",
51
+ "Report Period": "7"
52
+ }
53
+ ]
54
+ ```
55
+
56
+ === "Text"
57
+
58
+ ```txt
59
+ Report Refresh Date,Storage Used (Byte),Report Date,Report Period
60
+ 2023-01-24,791481624264,2023-01-18,7
61
+ ```
62
+
63
+ === "CSV"
64
+
65
+ ```csv
66
+ Report Refresh Date,Storage Used (Byte),Report Date,Report Period
67
+ 2023-01-24,791481624264,2023-01-18,7
68
+ ```
69
+
70
+ === "Markdown"
71
+
72
+ ```md
73
+ Report Refresh Date,Storage Used (Byte),Report Date,Report Period
74
+ 2023-01-24,791481624264,2023-01-18,7
75
+ ```
@@ -28,3 +28,84 @@ Get all the rooms of specified roomlist e-mail address
28
28
  ```sh
29
29
  m365 outlook room list --roomlistEmail "bldg2@contoso.com"
30
30
  ```
31
+
32
+ ## Response
33
+
34
+ === "JSON"
35
+
36
+ ```json
37
+ [
38
+ {
39
+ "id": "98c40767-158a-44f0-9dda-c95b86f079ca",
40
+ "emailAddress": "Largeroom@contoso.com",
41
+ "displayName": "Large room",
42
+ "geoCoordinates": null,
43
+ "phone": "",
44
+ "nickname": "Large room",
45
+ "building": null,
46
+ "floorNumber": null,
47
+ "floorLabel": null,
48
+ "label": null,
49
+ "capacity": 25,
50
+ "bookingType": "standard",
51
+ "audioDeviceName": null,
52
+ "videoDeviceName": null,
53
+ "displayDeviceName": null,
54
+ "isWheelChairAccessible": false,
55
+ "tags": [],
56
+ "address": {
57
+ "street": "Microsoft Way 1",
58
+ "city": "Redmond",
59
+ "state": "Washington",
60
+ "countryOrRegion": "US",
61
+ "postalCode": "98053"
62
+ }
63
+ }
64
+ ]
65
+ ```
66
+
67
+ === "Text"
68
+
69
+ ```txt
70
+ id displayName phone emailAddress
71
+ ------------------------------------ ----------- ----- ---------------------
72
+ 98c40767-158a-44f0-9dda-c95b86f079ca Large room Largeroom@contoso.com
73
+ ```
74
+
75
+ === "CSV"
76
+
77
+ ```csv
78
+ id,displayName,phone,emailAddress
79
+ 98c40767-158a-44f0-9dda-c95b86f079ca,Large room,,Largeroom@contoso.com
80
+ ```
81
+
82
+ === "Markdown"
83
+
84
+ ```md
85
+ # outlook room list
86
+
87
+ Date: 27/1/2023
88
+
89
+ ## Large room (98c40767-158a-44f0-9dda-c95b86f079ca)
90
+
91
+ Property | Value
92
+ ---------|-------
93
+ id | 98c40767-158a-44f0-9dda-c95b86f079ca
94
+ emailAddress | Largeroom@VanRoeyBeSPDev.onmicrosoft.com
95
+ displayName | Large room
96
+ geoCoordinates | null
97
+ phone |
98
+ nickname | Large room
99
+ building | null
100
+ floorNumber | null
101
+ floorLabel | null
102
+ label | null
103
+ capacity | 25
104
+ bookingType | standard
105
+ audioDeviceName | null
106
+ videoDeviceName | null
107
+ displayDeviceName | null
108
+ isWheelChairAccessible | false
109
+ tags | []
110
+ address | {"street":"Microsoft Way 1","city":"Redmond","state":"Washington","countryOrRegion":"US","postalCode":"98053"}
111
+ ```
@@ -19,3 +19,61 @@ Get all roomlists in your tenant
19
19
  ```sh
20
20
  m365 outlook roomlist list
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "id": "5502bfbd-83f0-4b31-aa8c-5aebeda06091",
31
+ "emailAddress": "RoomsBuilding1@contoso.com",
32
+ "displayName": "Rooms building 1",
33
+ "geoCoordinates": null,
34
+ "phone": "",
35
+ "address": {
36
+ "street": "Microsoft Way 1",
37
+ "city": "Redmond",
38
+ "state": "Washington",
39
+ "countryOrRegion": "US",
40
+ "postalCode": "98053"
41
+ }
42
+ }
43
+ ]
44
+ ```
45
+
46
+ === "Text"
47
+
48
+ ```txt
49
+ displayName : Rooms building 1
50
+ emailAddress: RoomsBuilding1@contoso.com
51
+ id : 5502bfbd-83f0-4b31-aa8c-5aebeda06091
52
+ phone :
53
+ ```
54
+
55
+ === "CSV"
56
+
57
+ ```csv
58
+ id,displayName,phone,emailAddress
59
+ 5502bfbd-83f0-4b31-aa8c-5aebeda06091,Rooms building 1,,RoomsBuilding1@contoso.com
60
+ ```
61
+
62
+ === "Markdown"
63
+
64
+ ```md
65
+ # outlook roomlist list
66
+
67
+ Date: 27/1/2023
68
+
69
+ ## Rooms building 1 (5502bfbd-83f0-4b31-aa8c-5aebeda06091)
70
+
71
+ Property | Value
72
+ ---------|-------
73
+ id | 5502bfbd-83f0-4b31-aa8c-5aebeda06091
74
+ emailAddress | RoomsBuilding1@contoso.com
75
+ displayName | Rooms building 1
76
+ geoCoordinates | null
77
+ phone |
78
+ address | {"street":"Microsoft Way 1","city":"Redmond","state":"Washington","countryOrRegion":"US","postalCode":"98053"}
79
+ ```
@@ -68,7 +68,7 @@ m365 planner plan add --title 'My Planner Plan' --ownerGroupName 'My Planner Gro
68
68
 
69
69
  === "JSON"
70
70
 
71
- ``` json
71
+ ```json
72
72
  {
73
73
  "createdDateTime": "2015-03-30T18:36:49.2407981Z",
74
74
  "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
@@ -94,7 +94,7 @@ m365 planner plan add --title 'My Planner Plan' --ownerGroupName 'My Planner Gro
94
94
 
95
95
  === "Text"
96
96
 
97
- ``` text
97
+ ```text
98
98
  createdDateTime: 2015-03-30T18:36:49.2407981Z
99
99
  id : xqQg5FS2LkCp935s-FIFm2QAFkHM
100
100
  owner : ebf3b108-5234-4e22-b93d-656d7dae5874
@@ -103,7 +103,7 @@ m365 planner plan add --title 'My Planner Plan' --ownerGroupName 'My Planner Gro
103
103
 
104
104
  === "CSV"
105
105
 
106
- ``` text
106
+ ```csv
107
107
  id,title,createdDateTime,owner
108
108
  xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
109
109
  ```
@@ -66,14 +66,74 @@ Updates a Microsoft Planner plan category labels
66
66
  m365 planner plan set --id 'gndWOTSK60GfPQfiDDj43JgACDCb' --category21 'ToDo' --category25 'Urgent'
67
67
  ```
68
68
 
69
- ## More information
69
+ ## Response
70
70
 
71
- - Update plannerPlan: [https://learn.microsoft.com/en-us/graph/api/plannerplan-update?view=graph-rest-1.0&tabs=http](https://learn.microsoft.com/en-us/graph/api/plannerplan-update?view=graph-rest-1.0&tabs=http)
72
- - plannerPlanDetails resource type: [https://learn.microsoft.com/en-us/graph/api/resources/plannerplandetails?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/resources/plannerplandetails?view=graph-rest-1.0)
73
- - plannerCategoryDescriptions resource type: [https://learn.microsoft.com/en-us/graph/api/resources/plannercategorydescriptions?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/resources/plannercategorydescriptions?view=graph-rest-1.0)
71
+ ### Standard response
74
72
 
73
+ === "JSON"
75
74
 
76
- ## Response
75
+ ```json
76
+ {
77
+ "createdDateTime": "2015-03-30T18:36:49.2407981Z",
78
+ "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
79
+ "title": "My Planner Plan",
80
+ "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
81
+ "createdBy": {
82
+ "user": {
83
+ "displayName": null,
84
+ "id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
85
+ },
86
+ "application": {
87
+ "displayName": null,
88
+ "id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
89
+ }
90
+ },
91
+ "container": {
92
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
93
+ "type": "group",
94
+ "url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
95
+ }
96
+ }
97
+ ```
98
+
99
+ === "Text"
100
+
101
+ ```text
102
+ createdDateTime: 2015-03-30T18:36:49.2407981Z
103
+ id : xqQg5FS2LkCp935s-FIFm2QAFkHM
104
+ owner : ebf3b108-5234-4e22-b93d-656d7dae5874
105
+ title : My Planner Plan
106
+ ```
107
+
108
+ === "CSV"
109
+
110
+ ```csv
111
+ id,title,createdDateTime,owner
112
+ xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
113
+ ```
114
+
115
+ === "Markdown"
116
+
117
+ ```md
118
+ # planner plan add --title "My Planner Plan" --ownerGroupId "ebf3b108-5234-4e22-b93d-656d7dae5874"
119
+
120
+ Date: 30/03/2015
121
+
122
+ ## My Planner Plan (xqQg5FS2LkCp935s-FIFm2QAFkHM)
123
+
124
+ Property | Value
125
+ ---------|-------
126
+ createdDateTime | 2015-03-30T18:36:49.2407981Z
127
+ owner | ebf3b108-5234-4e22-b93d-656d7dae5874
128
+ title | My Planner Plan
129
+ id | xqQg5FS2LkCp935s-FIFm2QAFkHM
130
+ createdBy | {"user":{"displayName":null,"id":"95e27074-6c4a-447a-aa24-9d718a0b86fa"},"application":{"displayName":null,"id":"ebf3b108-5234-4e22-b93d-656d7dae5874"}}
131
+ container | {"containerId":"ebf3b108-5234-4e22-b93d-656d7dae5874","type":"group","url":"https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"}
132
+ ```
133
+
134
+ ### `shareWithUserIds`, `shareWithUserNames` response
135
+
136
+ When we make use of the option `shareWithUserIds` or `shareWithUserNames` the response will differ.
77
137
 
78
138
  === "JSON"
79
139
 
@@ -151,9 +211,9 @@ m365 planner plan set --id 'gndWOTSK60GfPQfiDDj43JgACDCb' --category21 'ToDo' --
151
211
  === "Markdown"
152
212
 
153
213
  ```md
154
- # planner plan set --id "xqQg5FS2LkCp935s-FIFm2QAFkHM" --newTitle "My Planner Plan"
214
+ # planner plan add --title "My Planner Plan" --ownerGroupId "ebf3b108-5234-4e22-b93d-656d7dae5874" --shareWithUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com"
155
215
 
156
- Date: 27/12/2022
216
+ Date: 30/03/2015
157
217
 
158
218
  ## My Planner Plan (xqQg5FS2LkCp935s-FIFm2QAFkHM)
159
219
 
@@ -168,3 +228,9 @@ m365 planner plan set --id 'gndWOTSK60GfPQfiDDj43JgACDCb' --category21 'ToDo' --
168
228
  sharedWith | {"ebf3b108-5234-4e22-b93d-656d7dae5874":true,"6463a5ce-2119-4198-9f2a-628761df4a62":true}
169
229
  categoryDescriptions | {"category1":null,"category2":null,"category3":null,"category4":null,"category5":null,"category6":null,"category7":null,"category8":null,"category9":null,"category10":null,"category11":null,"category12":null,"category13":null,"category14":null,"category15":null,"category16":null,"category17":null,"category18":null,"category19":null,"category20":null,"category21":null,"category22":null,"category23":null,"category24":null,"category25":null}
170
230
  ```
231
+
232
+ ## More information
233
+
234
+ - Update plannerPlan: [https://learn.microsoft.com/en-us/graph/api/plannerplan-update?view=graph-rest-1.0&tabs=http](https://learn.microsoft.com/en-us/graph/api/plannerplan-update?view=graph-rest-1.0&tabs=http)
235
+ - plannerPlanDetails resource type: [https://learn.microsoft.com/en-us/graph/api/resources/plannerplandetails?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/resources/plannerplandetails?view=graph-rest-1.0)
236
+ - plannerCategoryDescriptions resource type: [https://learn.microsoft.com/en-us/graph/api/resources/plannercategorydescriptions?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/resources/plannercategorydescriptions?view=graph-rest-1.0)
@@ -55,6 +55,21 @@ m365 planner roster add
55
55
  id,assignedSensitivityLabel
56
56
  e6fmvM_yi0OJgvmepE5uj5cAE6qX,
57
57
  ```
58
-
58
+
59
+ === "Markdown"
60
+
61
+ ```md
62
+ # planner roster add
63
+
64
+ Date: 7/2/2023
65
+
66
+ ## e6fmvM_yi0OJgvmepE5uj5cAE6qX
67
+
68
+ Property | Value
69
+ ---------|-------
70
+ id | e6fmvM_yi0OJgvmepE5uj5cAE6qX
71
+ assignedSensitivityLabel | null
72
+ ```
73
+
59
74
  ## Additional information
60
75
  Rosters are a new type of container for Microsoft Planner plans. This enables users to create a Planner plan without the need to create a new Microsoft 365 group (with a mailbox, SharePoint site, ...). Access to Roster-contained plans is controlled by the members on the Roster. A Planner Roster can contain only 1 plan.
@@ -0,0 +1,87 @@
1
+ # planner roster member get
2
+
3
+ Gets a member of the specified Microsoft Planner Roster
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner roster member get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--rosterId <rosterId>`
14
+ : ID of the Planner Roster.
15
+
16
+ `--userId [userId]`
17
+ : User's Azure AD ID. Specify either `userId` or `userName` but not both.
18
+
19
+ `--userName [userName]`
20
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId` or `userName` but not both.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ !!! attention
27
+ This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
28
+
29
+ ## Examples
30
+
31
+ Gets a specific user by user name as member of the Planner Roster
32
+
33
+ ```sh
34
+ m365 planner roster member get --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userName john.doe@contoso.com
35
+ ```
36
+
37
+ Gets a specific user by ID as member of the Planner Roster
38
+
39
+ ```sh
40
+ m365 planner roster member get --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userId d049a857-f1c3-4fb3-a629-d8cfb3bd7275
41
+ ```
42
+
43
+ ## Response
44
+
45
+ === "JSON"
46
+
47
+ ```json
48
+ {
49
+ "id": "b3a1be03-54a5-43d2-b4fb-6562fe9bec0b",
50
+ "userId": "2056d2f6-3257-4253-8cfc-b73393e414e5",
51
+ "tenantId": "5b7b813c-2339-48cd-8c51-bd4fcb269420",
52
+ "roles": []
53
+ }
54
+ ```
55
+
56
+ === "Text"
57
+
58
+ ```text
59
+ id : b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
60
+ roles : []
61
+ tenantId: 5b7b813c-2339-48cd-8c51-bd4fcb269420
62
+ userId : 2056d2f6-3257-4253-8cfc-b73393e414e5
63
+ ```
64
+
65
+ === "CSV"
66
+
67
+ ```csv
68
+ id,userId,tenantId,roles
69
+ b3a1be03-54a5-43d2-b4fb-6562fe9bec0b,2056d2f6-3257-4253-8cfc-b73393e414e5,5b7b813c-2339-48cd-8c51-bd4fcb269420,[]
70
+ ```
71
+
72
+ === "Markdown"
73
+
74
+ ```md
75
+ # planner roster member get --rosterId "tYqYlNd6eECmsNhN_fcq85cAGAnd" --userId "2056d2f6-3257-4253-8cfc-b73393e414e5"
76
+
77
+ Date: 18/2/2023
78
+
79
+ ## b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
80
+
81
+ Property | Value
82
+ ---------|-------
83
+ id | b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
84
+ userId | 2056d2f6-3257-4253-8cfc-b73393e414e5
85
+ tenantId | 5b7b813c-2339-48cd-8c51-bd4fcb269420
86
+ roles | []
87
+ ```