@pnp/cli-microsoft365 6.0.0-beta.cd80a69 → 6.0.0-beta.d557a48

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 (261) hide show
  1. package/.eslintrc.js +4 -2
  2. package/dist/Command.js +16 -2
  3. package/dist/m365/aad/commands/app/app-add.js +40 -17
  4. package/dist/m365/aad/commands/app/app-list.js +38 -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/mail/mail-send.js +54 -30
  11. package/dist/m365/outlook/commands/message/message-get.js +97 -0
  12. package/dist/m365/outlook/commands.js +1 -0
  13. package/dist/m365/planner/commands/bucket/bucket-get.js +5 -8
  14. package/dist/m365/planner/commands/plan/plan-get.js +11 -31
  15. package/dist/m365/pp/commands/card/card-clone.js +122 -0
  16. package/dist/m365/pp/commands/card/card-get.js +110 -0
  17. package/dist/m365/pp/commands/card/card-remove.js +130 -0
  18. package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
  19. package/dist/m365/pp/commands/solution/solution-get.js +117 -0
  20. package/dist/m365/pp/commands.js +5 -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/folder/folder-list.js +35 -12
  44. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
  45. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
  46. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +93 -18
  47. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +69 -13
  48. package/dist/m365/spo/commands/list/list-roleassignment-add.js +5 -23
  49. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +4 -15
  50. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
  51. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +14 -6
  52. package/dist/m365/spo/commands/list/list-set.js +31 -8
  53. package/dist/m365/spo/commands/list/list-view-field-add.js +19 -5
  54. package/dist/m365/spo/commands/list/list-view-field-remove.js +18 -4
  55. package/dist/m365/spo/commands/list/list-view-field-set.js +18 -4
  56. package/dist/m365/spo/commands/list/list-view-list.js +14 -10
  57. package/dist/m365/spo/commands/list/list-view-remove.js +17 -8
  58. package/dist/m365/spo/commands/list/list-view-set.js +19 -7
  59. package/dist/m365/spo/commands/list/list-webhook-get.js +2 -3
  60. package/dist/m365/spo/commands/list/list-webhook-list.js +4 -28
  61. package/dist/m365/spo/commands/list/list-webhook-set.js +11 -12
  62. package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
  63. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
  64. package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
  65. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
  66. package/dist/m365/spo/commands/listitem/listitem-list.js +21 -14
  67. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
  68. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
  69. package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
  70. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
  71. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +4 -15
  72. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
  73. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +13 -5
  74. package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
  75. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +4 -7
  76. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
  77. package/dist/m365/spo/commands/site/site-add.js +4 -11
  78. package/dist/m365/spo/commands/site/site-hubsite-connect.js +75 -0
  79. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +93 -0
  80. package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
  81. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +4 -7
  82. package/dist/m365/spo/commands/web/web-roleassignment-add.js +4 -15
  83. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +4 -8
  84. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
  85. package/dist/m365/spo/commands.js +5 -1
  86. package/dist/m365/teams/commands/channel/channel-get.js +2 -2
  87. package/dist/m365/teams/commands/channel/channel-remove.js +56 -39
  88. package/dist/m365/teams/commands/channel/channel-set.js +57 -19
  89. package/dist/m365/teams/commands/team/team-archive.js +4 -7
  90. package/dist/m365/teams/commands/team/team-remove.js +3 -3
  91. package/dist/m365/teams/commands/team/team-set.js +0 -7
  92. package/dist/m365/teams/commands/team/team-unarchive.js +3 -3
  93. package/dist/m365/todo/commands/list/list-get.js +89 -0
  94. package/dist/m365/todo/commands/task/task-add.js +55 -3
  95. package/dist/m365/todo/commands/task/task-get.js +108 -0
  96. package/dist/m365/todo/commands.js +2 -0
  97. package/dist/utils/md.js +8 -1
  98. package/docs/docs/_clisettings.md +18 -0
  99. package/docs/docs/cmd/aad/app/app-add.md +19 -19
  100. package/docs/docs/cmd/aad/app/app-list.md +149 -0
  101. package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
  102. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +12 -5
  103. package/docs/docs/cmd/app/app-get.md +156 -0
  104. package/docs/docs/cmd/app/app-open.md +20 -0
  105. package/docs/docs/cmd/app/permission/permission-list.md +43 -0
  106. package/docs/docs/cmd/booking/business/business-get.md +107 -0
  107. package/docs/docs/cmd/booking/business/business-list.md +34 -0
  108. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
  109. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
  110. package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
  111. package/docs/docs/cmd/outlook/message/message-get.md +48 -0
  112. package/docs/docs/cmd/pa/app/app-get.md +184 -0
  113. package/docs/docs/cmd/pa/app/app-list.md +181 -0
  114. package/docs/docs/cmd/pa/app/app-remove.md +4 -0
  115. package/docs/docs/cmd/pa/connector/connector-export.md +4 -0
  116. package/docs/docs/cmd/pa/connector/connector-list.md +89 -0
  117. package/docs/docs/cmd/pa/environment/environment-get.md +113 -0
  118. package/docs/docs/cmd/pa/environment/environment-list.md +109 -0
  119. package/docs/docs/cmd/pa/pcf/pcf-init.md +4 -0
  120. package/docs/docs/cmd/pa/solution/solution-init.md +5 -0
  121. package/docs/docs/cmd/pa/solution/solution-reference-add.md +4 -0
  122. package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
  123. package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
  124. package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
  125. package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
  126. package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
  127. package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
  128. package/docs/docs/cmd/planner/plan/plan-get.md +77 -8
  129. package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
  130. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  131. package/docs/docs/cmd/planner/task/task-get.md +0 -3
  132. package/docs/docs/cmd/pp/card/card-clone.md +77 -0
  133. package/docs/docs/cmd/pp/card/card-get.md +122 -0
  134. package/docs/docs/cmd/pp/card/card-list.md +71 -0
  135. package/docs/docs/cmd/pp/card/card-remove.md +82 -0
  136. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +85 -0
  137. package/docs/docs/cmd/pp/environment/environment-get.md +308 -0
  138. package/docs/docs/cmd/pp/environment/environment-list.md +312 -0
  139. package/docs/docs/cmd/pp/gateway/gateway-get.md +56 -0
  140. package/docs/docs/cmd/pp/gateway/gateway-list.md +35 -0
  141. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +23 -0
  142. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +27 -0
  143. package/docs/docs/cmd/pp/solution/solution-get.md +86 -0
  144. package/docs/docs/cmd/pp/solution/solution-list.md +37 -0
  145. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +62 -0
  146. package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
  147. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  148. package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
  149. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
  150. package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
  151. package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
  152. package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
  153. package/docs/docs/cmd/spo/field/field-add.md +20 -2
  154. package/docs/docs/cmd/spo/field/field-set.md +15 -3
  155. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +9 -9
  156. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +3 -3
  157. package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
  158. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
  159. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
  160. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +36 -14
  161. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +28 -12
  162. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
  163. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +2 -2
  164. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +9 -9
  165. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +8 -8
  166. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
  167. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +16 -7
  168. package/docs/docs/cmd/spo/list/list-set.md +18 -6
  169. package/docs/docs/cmd/spo/list/list-view-field-add.md +14 -4
  170. package/docs/docs/cmd/spo/list/list-view-field-remove.md +11 -2
  171. package/docs/docs/cmd/spo/list/list-view-field-set.md +18 -2
  172. package/docs/docs/cmd/spo/list/list-view-list.md +16 -7
  173. package/docs/docs/cmd/spo/list/list-view-remove.md +12 -3
  174. package/docs/docs/cmd/spo/list/list-view-set.md +20 -6
  175. package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
  176. package/docs/docs/cmd/spo/list/list-webhook-list.md +3 -9
  177. package/docs/docs/cmd/spo/list/list-webhook-set.md +11 -4
  178. package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
  179. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
  180. package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
  181. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
  182. package/docs/docs/cmd/spo/listitem/listitem-list.md +17 -8
  183. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
  184. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
  185. package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
  186. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
  187. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +8 -8
  188. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
  189. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +8 -5
  190. package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
  191. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +14 -19
  192. package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
  193. package/docs/docs/cmd/spo/site/site-add.md +0 -3
  194. package/docs/docs/cmd/spo/site/site-hubsite-connect.md +40 -0
  195. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.md +42 -0
  196. package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
  197. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +2 -2
  198. package/docs/docs/cmd/spo/term/term-add.md +5 -0
  199. package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
  200. package/docs/docs/cmd/spo/web/web-roleassignment-add.md +6 -6
  201. package/docs/docs/cmd/spo/web/web-roleassignment-remove.md +4 -4
  202. package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
  203. package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
  204. package/docs/docs/cmd/teams/channel/channel-remove.md +12 -9
  205. package/docs/docs/cmd/teams/channel/channel-set.md +13 -6
  206. package/docs/docs/cmd/teams/message/message-get.md +80 -0
  207. package/docs/docs/cmd/teams/message/message-list.md +63 -0
  208. package/docs/docs/cmd/teams/message/message-reply-list.md +63 -0
  209. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +31 -0
  210. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +4 -0
  211. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +35 -0
  212. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +36 -0
  213. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +41 -0
  214. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +49 -0
  215. package/docs/docs/cmd/teams/report/report-pstncalls.md +49 -0
  216. package/docs/docs/cmd/teams/report/report-useractivitycounts.md +39 -0
  217. package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +33 -0
  218. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +58 -0
  219. package/docs/docs/cmd/teams/tab/tab-add.md +35 -0
  220. package/docs/docs/cmd/teams/tab/tab-get.md +35 -0
  221. package/docs/docs/cmd/teams/tab/tab-list.md +43 -0
  222. package/docs/docs/cmd/teams/tab/tab-remove.md +4 -0
  223. package/docs/docs/cmd/teams/team/team-add.md +145 -0
  224. package/docs/docs/cmd/teams/team/team-archive.md +7 -3
  225. package/docs/docs/cmd/teams/team/team-clone.md +4 -3
  226. package/docs/docs/cmd/teams/team/team-get.md +78 -0
  227. package/docs/docs/cmd/teams/team/team-list.md +30 -0
  228. package/docs/docs/cmd/teams/team/team-remove.md +7 -3
  229. package/docs/docs/cmd/teams/team/team-set.md +4 -3
  230. package/docs/docs/cmd/teams/team/team-unarchive.md +5 -2
  231. package/docs/docs/cmd/teams/user/user-app-add.md +4 -0
  232. package/docs/docs/cmd/teams/user/user-app-list.md +40 -0
  233. package/docs/docs/cmd/teams/user/user-app-remove.md +4 -0
  234. package/docs/docs/cmd/teams/user/user-list.md +31 -0
  235. package/docs/docs/cmd/tenant/id/id-get.md +20 -0
  236. package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
  237. package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
  238. package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
  239. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
  240. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
  241. package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
  242. package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
  243. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
  244. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
  245. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
  246. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
  247. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
  248. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
  249. package/docs/docs/cmd/todo/list/list-add.md +32 -1
  250. package/docs/docs/cmd/todo/list/list-get.md +61 -0
  251. package/docs/docs/cmd/todo/list/list-list.md +31 -0
  252. package/docs/docs/cmd/todo/list/list-remove.md +10 -6
  253. package/docs/docs/cmd/todo/list/list-set.md +9 -5
  254. package/docs/docs/cmd/todo/task/task-add.md +88 -5
  255. package/docs/docs/cmd/todo/task/task-get.md +75 -0
  256. package/docs/docs/cmd/todo/task/task-list.md +47 -0
  257. package/docs/docs/cmd/todo/task/task-remove.md +9 -4
  258. package/docs/docs/cmd/todo/task/task-set.md +59 -5
  259. package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +20 -0
  260. package/docs/docs/cmd/viva/connections/connections-app-create.md +4 -0
  261. package/package.json +13 -4
@@ -0,0 +1,44 @@
1
+ # spo web roleinheritance break
2
+
3
+ Break role inheritance of subsite
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo web roleinheritance break [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site.
15
+
16
+ `-c, --clearExistingPermissions`
17
+ : Clears all existing permissions from the web.
18
+
19
+ `--confirm`
20
+ : Don't prompt for confirmation.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ By default, when breaking permissions inheritance, the web will retain existing permissions. To remove existing permissions, use the `--clearExistingPermissions` option.
27
+
28
+ ## Examples
29
+
30
+ Break role inheritance of a web and keep the existing permissions
31
+
32
+ ```sh
33
+ m365 spo web roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x
34
+ ```
35
+
36
+ Break role inheritance of a web and clear the existing permissions
37
+
38
+ ```sh
39
+ m365 spo web roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --clearExistingPermissions
40
+ ```
41
+
42
+ ## Response
43
+
44
+ The command won't return a response on success.
@@ -10,20 +10,20 @@ m365 teams channel get [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-i, --teamId [teamId]`
14
- : The ID of the team to which the channel belongs to. Specify either teamId or teamName but not both
13
+ `--teamId [teamId]`
14
+ : The ID of the team to which the channel belongs to. Specify either `teamId` or `teamName` but not both.
15
15
 
16
16
  `--teamName [teamName]`
17
- : The display name of the team to which the channel belongs to. Specify either teamId or teamName but not both
17
+ : The display name of the team to which the channel belongs to. Specify either `teamId` or `teamName` but not both.
18
18
 
19
- `-c, --id [id]`
20
- : The ID of the channel for which to retrieve more information. Specify either id or name but not both
19
+ `-i, --id [id]`
20
+ : The ID of the channel for which to retrieve more information. Specify either `id` or `name` but not both.
21
21
 
22
22
  `--name [name]`
23
- : The display name of the channel for which to retrieve more information. Specify either id or name but not both
23
+ : The display name of the channel for which to retrieve more information. Specify either `id` or `name` but not both.
24
24
 
25
25
  `--primary`
26
- : Gets the default channel, General, of a team. If specified, id or name are not needed
26
+ : Gets the default channel, General, of a team. If specified, id or name are not needed.
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
@@ -10,17 +10,20 @@ m365 teams channel remove [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-c, --id [id]`
14
- : The ID of the channel to remove
13
+ `--teamId [teamId]`
14
+ : The ID of the team to which the channel to remove belongs. Specify either `teamId` or `teamName` but not both.
15
15
 
16
- `-n, --name [name]`
17
- : The name of the channel to remove. Specify id or name but not both
16
+ `--teamName [teamName]`
17
+ : The display name of the team to which the channel to remove belongs. Specify either `teamId` or `teamName` but not both.
18
+
19
+ `-i, --id [id]`
20
+ : The ID of the channel to remove. Specify `id` or `name` but not both.
18
21
 
19
- `-i, --teamId <teamId>`
20
- : The ID of the team to which the channel to remove belongs
22
+ `-n, --name [name]`
23
+ : The name of the channel to remove. Specify `id` or `name` but not both.
21
24
 
22
25
  `--confirm`
23
- : Don't prompt for confirmation
26
+ : Don't prompt for confirmation.
24
27
 
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
@@ -45,13 +48,13 @@ m365 teams channel remove --id 19:f3dcbb1674574677abcae89cb626f1e6@thread.skype
45
48
  Remove the specified Microsoft Teams channel by Name
46
49
 
47
50
  ```sh
48
- m365 teams channel remove --name 'name' --teamId d66b8110-fcad-49e8-8159-0d488ddb7656
51
+ m365 teams channel remove --name 'name' --teamName "Team Name"
49
52
  ```
50
53
 
51
54
  Remove the specified Microsoft Teams channel by Name without confirmation
52
55
 
53
56
  ```sh
54
- m365 teams channel remove --name 'name' --teamId d66b8110-fcad-49e8-8159-0d488ddb7656 --confirm
57
+ m365 teams channel remove --name 'name' --teamName "Team Name" --confirm
55
58
  ```
56
59
 
57
60
  ## More information
@@ -10,17 +10,23 @@ m365 teams channel set [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-i, --teamId <teamId>`
14
- : The ID of the team where the channel to update is located
13
+ `--teamId [teamId]`
14
+ : The ID of the team where the channel to update is located. Specify either `teamId` or `teamName` but not both.
15
15
 
16
- `--name <name>`
17
- : The name of the channel to update
16
+ `--teamName [teamName]`
17
+ : The display name of the team where the channel to update is located. Specify either `teamId` or `teamName` but not both.
18
+
19
+ `-i, --id [id]`
20
+ : The ID of the channel to update. Specify either `id` or `name` but not both.
21
+
22
+ `--name [name]`
23
+ : The name of the channel to update. Specify either `id` or `name` but not both.
18
24
 
19
25
  `--newName [newName]`
20
- : The new name of the channel
26
+ : The new name of the channel.
21
27
 
22
28
  `--description [description]`
23
- : The description of the channel
29
+ : The description of the channel.
24
30
 
25
31
  --8<-- "docs/cmd/_global.md"
26
32
 
@@ -37,3 +43,4 @@ Set new display name for the specified channel in the given Microsoft Teams team
37
43
  ```sh
38
44
  m365 teams channel set --teamId "00000000-0000-0000-0000-000000000000" --name Reviews --newName Projects
39
45
  ```
46
+
@@ -32,3 +32,83 @@ Retrieve the specified message from a channel of the Microsoft Teams team
32
32
  ```sh
33
33
  m365 teams message get --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --id 1540747442203
34
34
  ```
35
+
36
+ ## Response
37
+
38
+ === "JSON"
39
+
40
+ ``` json
41
+ {
42
+ "id": "1540747442203",
43
+ "replyToId": null,
44
+ "etag": "1666799582385",
45
+ "messageType": "message",
46
+ "createdDateTime": "2022-10-26T15:52:00.731Z",
47
+ "lastModifiedDateTime": "2022-10-26T15:53:02.385Z",
48
+ "lastEditedDateTime": "2022-10-26T15:53:02.288Z",
49
+ "deletedDateTime": null,
50
+ "subject": "Second message Title",
51
+ "summary": null,
52
+ "chatId": null,
53
+ "importance": "normal",
54
+ "locale": "en-us",
55
+ "webUrl": "https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1540747442203",
56
+ "policyViolation": null,
57
+ "eventDetail": null,
58
+ "from": {
59
+ "application": null,
60
+ "device": null,
61
+ "user": {
62
+ "id": "78ccf530-bbf0-47e4-aae6-da5f8c6fb142",
63
+ "displayName": "John Doe",
64
+ "userIdentityType": "aadUser",
65
+ "tenantId": "92e59666-257b-49c3-b1fa-1bae8107f6ba"
66
+ }
67
+ },
68
+ "body": {
69
+ "contentType": "text",
70
+ "content": "second message!"
71
+ },
72
+ "channelIdentity": {
73
+ "teamId": "5f5d7b71-1161-44d8-bcc1-3da710eb4171",
74
+ "channelId": "19:e2916df2b11046beba42d22da898383f@thread.tacv2"
75
+ },
76
+ "attachments": [],
77
+ "mentions": [],
78
+ "reactions": []
79
+ }
80
+ ```
81
+
82
+ === "Text"
83
+
84
+ ``` text
85
+ attachments : []
86
+ body : {"contentType":"text","content":"second message!"}
87
+ channelIdentity : {"teamId":"5f5d7b71-1161-44d8-bcc1-3da710eb4171","channelId":"19:e2916df2b11046beba42d22da898383f@thread.tacv2"}
88
+ chatId : null
89
+ createdDateTime : 2022-10-26T15:52:00.731Z
90
+ deletedDateTime : null
91
+ etag : 1666799582385
92
+ eventDetail : null
93
+ from : {"application":null,"device":null,"user":{"id":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","displayName":"John Doe","userIdentityType":"aadUser","tenantId":"92e59666-257b-49c3-b1fa-1bae8107f6ba"}}
94
+ id : 1540747442203
95
+ importance : normal
96
+ lastEditedDateTime : 2022-10-26T15:53:02.288Z
97
+ lastModifiedDateTime: 2022-10-26T15:53:02.385Z
98
+ locale : en-us
99
+ mentions : []
100
+ messageType : message
101
+ policyViolation : null
102
+ reactions : []
103
+ replyToId : null
104
+ subject : Second message Title
105
+ summary : null
106
+ webUrl : https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1540747442203
107
+ ```
108
+
109
+ === "CSV"
110
+
111
+ ``` text
112
+ id,replyToId,etag,messageType,createdDateTime,lastModifiedDateTime,lastEditedDateTime,deletedDateTime,subject,summary,chatId,importance,locale,webUrl,policyViolation,eventDetail,from,body,channelIdentity,attachments,mentions,reactions
113
+ 1540747442203,,1666799582385,message,2022-10-26T15:52:00.731Z,2022-10-26T15:53:02.385Z,2022-10-26T15:53:02.288Z,,Second message Title,,,normal,en-us,https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1540747442203,,,"{""application"":null,""device"":null,""user"":{""id"":""78ccf530-bbf0-47e4-aae6-da5f8c6fb142"",""displayName"":""John Doe"",""userIdentityType"":""aadUser"",""tenantId"":""92e59666-257b-49c3-b1fa-1bae8107f6ba""}}","{""contentType"":""text"",""content"":""second message!""}","{""teamId"":""5f5d7b71-1161-44d8-bcc1-3da710eb4171"",""channelId"":""19:e2916df2b11046beba42d22da898383f@thread.tacv2""}",[],[],[]
114
+ ```
@@ -38,3 +38,66 @@ List the messages from a channel of the Microsoft Teams team that have been crea
38
38
  ```sh
39
39
  m365 teams message list --teamId fce9e580-8bba-4638-ab5c-ab40016651e3 --channelId 19:eb30973b42a847a2a1df92d91e37c76a@thread.skype --since 2019-12-31T14:00:00Z
40
40
  ```
41
+
42
+ ## Response
43
+
44
+ === "JSON"
45
+
46
+ ``` json
47
+ [
48
+ {
49
+ "id": "1666799217259",
50
+ "replyToId": null,
51
+ "etag": "1666799649208",
52
+ "messageType": "message",
53
+ "createdDateTime": "2022-10-26T15:46:57.259Z",
54
+ "lastModifiedDateTime": "2022-10-26T15:54:09.208Z",
55
+ "lastEditedDateTime": "2022-10-26T15:54:09.108Z",
56
+ "deletedDateTime": null,
57
+ "subject": "",
58
+ "summary": null,
59
+ "chatId": null,
60
+ "importance": "normal",
61
+ "locale": "en-us",
62
+ "webUrl": "https://teams.microsoft.com/l/message/19%3eb30973b42a847a2a1df92d91e37c76a%40thread.tacv2/1666799217259?groupId=fce9e580-8bba-4638-ab5c-ab40016651e3&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1666799217259&parentMessageId=1666799217259",
63
+ "policyViolation": null,
64
+ "eventDetail": null,
65
+ "from": {
66
+ "application": null,
67
+ "device": null,
68
+ "user": {
69
+ "id": "78ccf530-bbf0-47e4-aae6-da5f8c6fb142",
70
+ "displayName": "John Doe",
71
+ "userIdentityType": "aadUser",
72
+ "tenantId": "92e59666-257b-49c3-b1fa-1bae8107f6ba"
73
+ }
74
+ },
75
+ "body": {
76
+ "contentType": "text",
77
+ "content": "First message!"
78
+ },
79
+ "channelIdentity": {
80
+ "teamId": "fce9e580-8bba-4638-ab5c-ab40016651e3",
81
+ "channelId": "19:e2916df2b11046beba42d22da898383f@thread.tacv2"
82
+ },
83
+ "attachments": [],
84
+ "mentions": [],
85
+ "reactions": []
86
+ }
87
+ ]
88
+ ```
89
+
90
+ === "Text"
91
+
92
+ ``` text
93
+ id summary body
94
+ ------------- ------- ---------------
95
+ 1666799217259 null First message!
96
+ ```
97
+
98
+ === "CSV"
99
+
100
+ ``` text
101
+ id,summary,body
102
+ 1666799217259,,First message!
103
+ ```
@@ -32,3 +32,66 @@ Retrieve the replies from a specified message from a channel of the Microsoft Te
32
32
  ```sh
33
33
  m365 teams message reply list --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --messageId 1540747442203
34
34
  ```
35
+
36
+ ## Response
37
+
38
+ === "JSON"
39
+
40
+ ``` json
41
+ [
42
+ {
43
+ "id": "1540747442203",
44
+ "replyToId": "1666799520731",
45
+ "etag": "1540747442203",
46
+ "messageType": "message",
47
+ "createdDateTime": "2022-10-26T15:57:13.162Z",
48
+ "lastModifiedDateTime": "2022-10-26T15:57:13.162Z",
49
+ "lastEditedDateTime": null,
50
+ "deletedDateTime": null,
51
+ "subject": null,
52
+ "summary": null,
53
+ "chatId": null,
54
+ "importance": "normal",
55
+ "locale": "en-us",
56
+ "webUrl": "https://teams.microsoft.com/l/message/19%388f7e66a8dfe42be92db19505ae912a8%40thread.tacv2/1540747442203?groupId=5f5d7b71-1161-44d8-bcc1-3da710eb4171&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba&createdTime=1540747442203&parentMessageId=1666799520731",
57
+ "policyViolation": null,
58
+ "eventDetail": null,
59
+ "from": {
60
+ "application": null,
61
+ "device": null,
62
+ "user": {
63
+ "id": "78ccf530-bbf0-47e4-aae6-da5f8c6fb142",
64
+ "displayName": "John Doe",
65
+ "userIdentityType": "aadUser",
66
+ "tenantId": "92e59666-257b-49c3-b1fa-1bae8107f6ba"
67
+ }
68
+ },
69
+ "body": {
70
+ "contentType": "text",
71
+ "content": "First reply"
72
+ },
73
+ "channelIdentity": {
74
+ "teamId": "5f5d7b71-1161-44d8-bcc1-3da710eb4171",
75
+ "channelId": "19:88f7e66a8dfe42be92db19505ae912a8@thread.tacv2"
76
+ },
77
+ "attachments": [],
78
+ "mentions": [],
79
+ "reactions": []
80
+ }
81
+ ]
82
+ ```
83
+
84
+ === "Text"
85
+
86
+ ``` text
87
+ id body
88
+ ------------- -----------
89
+ 1540747442203 First reply
90
+ ```
91
+
92
+ === "CSV"
93
+
94
+ ``` text
95
+ id,body
96
+ 1540747442203,First reply
97
+ ```
@@ -22,3 +22,34 @@ Get messaging settings for a Microsoft Teams team
22
22
  ```sh
23
23
  m365 teams messagingsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
24
24
  ```
25
+
26
+ ## Response
27
+
28
+ === "JSON"
29
+
30
+ ``` json
31
+ {
32
+ "allowUserEditMessages": true,
33
+ "allowUserDeleteMessages": true,
34
+ "allowOwnerDeleteMessages": true,
35
+ "allowTeamMentions": true,
36
+ "allowChannelMentions": true
37
+ }
38
+ ```
39
+
40
+ === "Text"
41
+
42
+ ``` text
43
+ allowChannelMentions : true
44
+ allowOwnerDeleteMessages: true
45
+ allowTeamMentions : true
46
+ allowUserDeleteMessages : true
47
+ allowUserEditMessages : true
48
+ ```
49
+
50
+ === "CSV"
51
+
52
+ ``` text
53
+ allowUserEditMessages,allowUserDeleteMessages,allowOwnerDeleteMessages,allowTeamMentions,allowChannelMentions
54
+ 1,1,1,1,1
55
+ ```
@@ -43,3 +43,7 @@ Disallow users to delete messages in channels
43
43
  ```sh
44
44
  m365 teams messagingsettings set --teamId '00000000-0000-0000-0000-000000000000' --allowUserDeleteMessages false
45
45
  ```
46
+
47
+ ## Response
48
+
49
+ The command won't return a response on success.
@@ -37,3 +37,38 @@ Gets the number of Microsoft Teams unique users by device type for the last week
37
37
  ```sh
38
38
  m365 teams report deviceusagedistributionusercounts --period D7 --output json > "deviceusagedistributionusercounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ``` json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2022-10-24",
49
+ "Web": "0",
50
+ "Windows Phone": "0",
51
+ "Android Phone": "0",
52
+ "iOS": "0",
53
+ "Mac": "0",
54
+ "Windows": "1",
55
+ "Chrome OS": "0",
56
+ "Linux": "0",
57
+ "Report Period": "7"
58
+ }
59
+ ]
60
+ ```
61
+
62
+ === "Text"
63
+
64
+ ``` text
65
+ Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Period
66
+ 2022-10-24,0,0,0,0,0,1,0,0,7
67
+ ```
68
+
69
+ === "CSV"
70
+
71
+ ``` text
72
+ Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Period
73
+ 2022-10-24,0,0,0,0,0,1,0,0,7
74
+ ```
@@ -37,3 +37,39 @@ Gets the number of Microsoft Teams daily unique users by device type for the las
37
37
  ```sh
38
38
  m365 teams report deviceusageusercounts --period D7 --output json > "deviceusageusercounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ``` json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2022-10-24",
49
+ "Web": "0",
50
+ "Windows Phone": "0",
51
+ "Android Phone": "0",
52
+ "iOS": "0",
53
+ "Mac": "0",
54
+ "Windows": "1",
55
+ "Chrome OS": "0",
56
+ "Linux": "0",
57
+ "Report Date": "2022-10-24",
58
+ "Report Period": "7"
59
+ }
60
+ ]
61
+ ```
62
+
63
+ === "Text"
64
+
65
+ ``` text
66
+ Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Date,Report Period
67
+ 2022-10-24,0,0,0,0,0,1,0,0,2022-10-24,7
68
+ ```
69
+
70
+ === "CSV"
71
+
72
+ ``` text
73
+ Report Refresh Date,Web,Windows Phone,Android Phone,iOS,Mac,Windows,Chrome OS,Linux,Report Date,Report Period
74
+ 2022-10-24,0,0,0,0,0,1,0,0,2022-10-24,7
75
+ ```
@@ -50,3 +50,44 @@ Gets information about Microsoft Teams device usage by user for the last week an
50
50
  ```sh
51
51
  m365 teams report deviceusageuserdetail --period D7 --output json > "deviceusageuserdetail.json"
52
52
  ```
53
+
54
+ ## Response
55
+
56
+ === "JSON"
57
+
58
+ ``` json
59
+ [
60
+ {
61
+ "Report Refresh Date": "2022-10-24",
62
+ "User Id": "00000000-0000-0000-0000-000000000000",
63
+ "User Principal Name": "77E5979DD60BA6EAA53E814DBEEEFA5F",
64
+ "Last Activity Date": "",
65
+ "Is Deleted": "False",
66
+ "Deleted Date": "",
67
+ "Used Web": "No",
68
+ "Used Windows Phone": "No",
69
+ "Used iOS": "No",
70
+ "Used Mac": "No",
71
+ "Used Android Phone": "No",
72
+ "Used Windows": "No",
73
+ "Used Chrome OS": "No",
74
+ "Used Linux": "No",
75
+ "Is Licensed": "Yes",
76
+ "Report Period": "7"
77
+ }
78
+ ]
79
+ ```
80
+
81
+ === "Text"
82
+
83
+ ``` text
84
+ Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Used Chrome OS,Used Linux,Is Licensed,Report Period
85
+ 2022-10-24,00000000-0000-0000-0000-000000000000,77E5979DD60BA6EAA53E814DBEEEFA5F,,False,,No,No,No,No,No,No,No,No,Yes,7
86
+ ```
87
+
88
+ === "CSV"
89
+
90
+ ``` text
91
+ Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Used Chrome OS,Used Linux,Is Licensed,Report Period
92
+ 2022-10-24,00000000-0000-0000-0000-000000000000,77E5979DD60BA6EAA53E814DBEEEFA5F,,False,,No,No,No,No,No,No,No,No,Yes,7
93
+ ```
@@ -43,3 +43,52 @@ Get details about direct routing calls made between 2020-10-31 and 2020-12-31 an
43
43
  ```sh
44
44
  m365 teams report directroutingcalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --output json > "directroutingcalls.json"
45
45
  ```
46
+
47
+ ## Response
48
+
49
+ === "JSON"
50
+
51
+ ``` json
52
+ {
53
+ "@odata.count": 1,
54
+ "value": [
55
+ {
56
+ "id": "9e8bba57-dc14-533a-a7dd-f0da6575eed1",
57
+ "correlationId": "c98e1515-a937-4b81-b8a8-3992afde64e0",
58
+ "userId": "db03c14b-06eb-4189-939b-7cbf3a20ba27",
59
+ "userPrincipalName": "richard.malk@contoso.com",
60
+ "userDisplayName": "Richard Malk",
61
+ "startDateTime": "2019-11-01T00:00:25.105Z",
62
+ "inviteDateTime": "2019-11-01T00:00:21.949Z",
63
+ "failureDateTime": "0001-01-01T00:00:00Z",
64
+ "endDateTime": "2019-11-01T00:00:30.105Z",
65
+ "duration": 5,
66
+ "callType": "ByotIn",
67
+ "successfulCall": true,
68
+ "callerNumber": "+12345678***",
69
+ "calleeNumber": "+01234567***",
70
+ "mediaPathLocation": "USWE",
71
+ "signalingLocation": "EUNO",
72
+ "finalSipCode": 0,
73
+ "callEndSubReason": 540000,
74
+ "finalSipCodePhrase": "BYE",
75
+ "trunkFullyQualifiedDomainName": "tll-audiocodes01.adatum.biz",
76
+ "mediaBypassEnabled": false
77
+ }
78
+ ]
79
+ }
80
+ ```
81
+
82
+ === "Text"
83
+
84
+ ``` text
85
+ id,calleeNumber,callerNumber,startDateTime
86
+ 9e8bba57-dc14-533a-a7dd-f0da6575eed1,+01234567***,+12345678***,2019-11-01T00:00:25.105Z
87
+ ```
88
+
89
+ === "CSV"
90
+
91
+ ``` text
92
+ id,calleeNumber,callerNumber,startDateTime
93
+ 9e8bba57-dc14-533a-a7dd-f0da6575eed1,+01234567***,+12345678***,2019-11-01T00:00:25.105Z
94
+ ```
@@ -47,3 +47,52 @@ m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --
47
47
  ## More information
48
48
 
49
49
  - List PSTN calls: [https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0)
50
+
51
+ ## Response
52
+
53
+ === "JSON"
54
+
55
+ ``` json
56
+ {
57
+ "@odata.count": 1,
58
+ "value": [
59
+ {
60
+ "id": "9c4984c7-6c3c-427d-a30c-bd0b2eacee90",
61
+ "callId": "1835317186_112562680@61.221.3.176",
62
+ "userId": "db03c14b-06eb-4189-939b-7cbf3a20ba27",
63
+ "userPrincipalName": "richard.malk@contoso.com",
64
+ "userDisplayName": "Richard Malk",
65
+ "startDateTime": "2019-11-01T00:00:08.2589935Z",
66
+ "endDateTime": "2019-11-01T00:03:47.2589935Z",
67
+ "duration": 219,
68
+ "charge": 0.00,
69
+ "callType": "user_in",
70
+ "currency": "USD",
71
+ "calleeNumber": "+1234567890",
72
+ "usageCountryCode": "US",
73
+ "tenantCountryCode": "US",
74
+ "connectionCharge": 0.00,
75
+ "callerNumber": "+0123456789",
76
+ "destinationContext": null,
77
+ "destinationName": "United States",
78
+ "conferenceId": null,
79
+ "licenseCapability": "MCOPSTNU",
80
+ "inventoryType": "Subscriber"
81
+ }
82
+ ]
83
+ }
84
+ ```
85
+
86
+ === "Text"
87
+
88
+ ``` text
89
+ id,calleeNumber,callerNumber,startDateTime
90
+ 9c4984c7-6c3c-427d-a30c-bd0b2eacee90,+1234567890,+0123456789,2019-11-01T00:00:08.2589935Z
91
+ ```
92
+
93
+ === "CSV"
94
+
95
+ ``` text
96
+ id,calleeNumber,callerNumber,startDateTime
97
+ 9c4984c7-6c3c-427d-a30c-bd0b2eacee90,+1234567890,+0123456789,2019-11-01T00:00:08.2589935Z
98
+ ```