@pnp/cli-microsoft365 7.6.0-beta.c74fe4b → 7.6.0-beta.fc0eacc

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 (268) hide show
  1. package/.eslintrc.cjs +3 -0
  2. package/README.md +1 -1
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/Auth.js +12 -10
  6. package/dist/AuthServer.js +1 -1
  7. package/dist/config.js +2 -2
  8. package/dist/m365/app/commands/app-get.js +1 -1
  9. package/dist/m365/app/commands/app-open.js +1 -1
  10. package/dist/m365/app/commands/permission/permission-add.js +2 -2
  11. package/dist/m365/app/commands/permission/permission-list.js +2 -2
  12. package/dist/m365/base/PeriodBasedReport.js +3 -0
  13. package/dist/m365/cli/commands/cli-consent.js +2 -2
  14. package/dist/m365/cli/commands/cli-reconsent.js +3 -3
  15. package/dist/m365/commands/login.js +1 -1
  16. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +1 -0
  17. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +1 -0
  18. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +1 -0
  19. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +1 -0
  20. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +1 -0
  21. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +1 -0
  22. package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +1 -0
  23. package/dist/m365/entra/commands/app/app-add.js +7 -6
  24. package/dist/m365/entra/commands/app/app-get.js +4 -3
  25. package/dist/m365/entra/commands/app/app-list.js +1 -0
  26. package/dist/m365/entra/commands/app/app-permission-add.js +3 -2
  27. package/dist/m365/entra/commands/app/app-permission-list.js +1 -1
  28. package/dist/m365/entra/commands/app/app-remove.js +5 -4
  29. package/dist/m365/entra/commands/app/app-role-add.js +6 -5
  30. package/dist/m365/entra/commands/app/app-role-list.js +4 -3
  31. package/dist/m365/entra/commands/app/app-role-remove.js +6 -5
  32. package/dist/m365/entra/commands/app/app-set.js +8 -7
  33. package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -1
  34. package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +1 -0
  35. package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +1 -0
  36. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +1 -0
  37. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +1 -0
  38. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -0
  39. package/dist/m365/entra/commands/group/group-get.js +1 -0
  40. package/dist/m365/entra/commands/group/group-list.js +1 -0
  41. package/dist/m365/entra/commands/group/group-remove.js +1 -0
  42. package/dist/m365/entra/commands/group/group-user-list.js +1 -0
  43. package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +1 -0
  44. package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +1 -0
  45. package/dist/m365/entra/commands/groupsetting/groupsetting-list.js +1 -0
  46. package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +1 -0
  47. package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +1 -0
  48. package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -0
  49. package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-list.js +1 -0
  50. package/dist/m365/entra/commands/license/license-list.js +1 -0
  51. package/dist/m365/entra/commands/m365group/m365group-add.js +1 -0
  52. package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +1 -0
  53. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +1 -0
  54. package/dist/m365/entra/commands/m365group/m365group-get.js +1 -0
  55. package/dist/m365/entra/commands/m365group/m365group-list.js +1 -0
  56. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-clear.js +1 -0
  57. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +1 -0
  58. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +1 -0
  59. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +1 -0
  60. package/dist/m365/entra/commands/m365group/m365group-remove.js +1 -0
  61. package/dist/m365/entra/commands/m365group/m365group-renew.js +1 -0
  62. package/dist/m365/entra/commands/m365group/m365group-set.js +1 -0
  63. package/dist/m365/entra/commands/m365group/m365group-teamify.js +1 -0
  64. package/dist/m365/entra/commands/m365group/m365group-user-add.js +1 -0
  65. package/dist/m365/entra/commands/m365group/m365group-user-list.js +1 -0
  66. package/dist/m365/entra/commands/m365group/m365group-user-remove.js +1 -0
  67. package/dist/m365/entra/commands/m365group/m365group-user-set.js +1 -0
  68. package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +1 -0
  69. package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +1 -0
  70. package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +1 -0
  71. package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +1 -0
  72. package/dist/m365/entra/commands/policy/policy-list.js +1 -0
  73. package/dist/m365/entra/commands/siteclassification/siteclassification-disable.js +1 -0
  74. package/dist/m365/entra/commands/siteclassification/siteclassification-enable.js +1 -0
  75. package/dist/m365/entra/commands/siteclassification/siteclassification-get.js +1 -0
  76. package/dist/m365/entra/commands/siteclassification/siteclassification-set.js +1 -0
  77. package/dist/m365/entra/commands/user/user-add.js +1 -0
  78. package/dist/m365/entra/commands/user/user-get.js +1 -0
  79. package/dist/m365/entra/commands/user/user-guest-add.js +1 -0
  80. package/dist/m365/entra/commands/user/user-hibp.js +1 -0
  81. package/dist/m365/entra/commands/user/user-license-add.js +1 -0
  82. package/dist/m365/entra/commands/user/user-license-list.js +1 -0
  83. package/dist/m365/entra/commands/user/user-license-remove.js +1 -0
  84. package/dist/m365/entra/commands/user/user-list.js +1 -0
  85. package/dist/m365/entra/commands/user/user-password-validate.js +1 -0
  86. package/dist/m365/entra/commands/user/user-recyclebinitem-clear.js +1 -0
  87. package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +1 -0
  88. package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +2 -1
  89. package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +1 -0
  90. package/dist/m365/entra/commands/user/user-remove.js +1 -0
  91. package/dist/m365/entra/commands/user/user-set.js +1 -0
  92. package/dist/m365/entra/commands/user/user-signin-list.js +1 -0
  93. package/dist/m365/outlook/commands/message/message-remove.js +113 -0
  94. package/dist/m365/outlook/commands.js +1 -0
  95. package/dist/m365/pp/commands/managementapp/managementapp-add.js +7 -7
  96. package/dist/m365/spfx/commands/project/DeployWorkflow.js +111 -0
  97. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +183 -0
  98. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-model.js +2 -0
  99. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +6 -4
  100. package/dist/m365/spfx/commands.js +1 -0
  101. package/dist/m365/spo/commands/folder/FolderColor.js +19 -0
  102. package/dist/m365/spo/commands/folder/folder-add.js +46 -17
  103. package/dist/m365/spo/commands/folder/folder-set.js +118 -0
  104. package/dist/m365/spo/commands/group/group-member-add.js +2 -2
  105. package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
  106. package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -2
  107. package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +66 -27
  108. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +1 -1
  109. package/dist/m365/spo/commands/user/user-remove.js +93 -16
  110. package/dist/m365/spo/commands.js +1 -0
  111. package/dist/m365/teams/commands/report/report-directroutingcalls.js +3 -0
  112. package/dist/m365/teams/commands/report/report-pstncalls.js +3 -0
  113. package/dist/m365/teams/commands/tab/tab-get.js +1 -1
  114. package/dist/m365/teams/commands/team/team-add.js +132 -3
  115. package/dist/m365/tenant/commands/report/report-office365activationcounts.js +3 -0
  116. package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +3 -0
  117. package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +3 -0
  118. package/dist/utils/entraUser.js +36 -0
  119. package/dist/utils/spo.js +1 -1
  120. package/docs/docs/cmd/app/app-get.mdx +10 -10
  121. package/docs/docs/cmd/app/app-open.mdx +6 -6
  122. package/docs/docs/cmd/app/permission/permission-add.mdx +2 -2
  123. package/docs/docs/cmd/app/permission/permission-list.mdx +5 -5
  124. package/docs/docs/cmd/cli/cli-consent.mdx +2 -2
  125. package/docs/docs/cmd/cli/cli-reconsent.mdx +6 -6
  126. package/docs/docs/cmd/entra/app/app-permission-add.mdx +6 -6
  127. package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +1 -1
  128. package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +4 -4
  129. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +1 -1
  130. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +1 -1
  131. package/docs/docs/cmd/entra/group/group-user-add.mdx +7 -7
  132. package/docs/docs/cmd/entra/m365group/m365group-report-activitycounts.mdx +8 -0
  133. package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +8 -0
  134. package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +8 -0
  135. package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +8 -0
  136. package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +8 -0
  137. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +1 -1
  138. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
  139. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +1 -1
  140. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +1 -1
  141. package/docs/docs/cmd/external/connection/connection-add.mdx +2 -2
  142. package/docs/docs/cmd/file/file-add.mdx +1 -1
  143. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +2 -2
  144. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  145. package/docs/docs/cmd/login.mdx +18 -18
  146. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.mdx +8 -0
  147. package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +8 -0
  148. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +8 -0
  149. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +8 -0
  150. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +8 -0
  151. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +6 -0
  152. package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +8 -0
  153. package/docs/docs/cmd/outlook/message/message-remove.mdx +67 -0
  154. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +8 -0
  155. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +8 -0
  156. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +8 -0
  157. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +7 -0
  158. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +8 -0
  159. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +8 -0
  160. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +8 -0
  161. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +8 -0
  162. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +6 -0
  163. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +8 -0
  164. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +8 -0
  165. package/docs/docs/cmd/pa/app/app-owner-set.mdx +1 -1
  166. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +3 -3
  167. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +3 -3
  168. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  169. package/docs/docs/cmd/planner/roster/roster-add.mdx +5 -5
  170. package/docs/docs/cmd/planner/roster/roster-get.mdx +7 -7
  171. package/docs/docs/cmd/planner/roster/roster-member-add.mdx +4 -4
  172. package/docs/docs/cmd/planner/roster/roster-member-get.mdx +4 -4
  173. package/docs/docs/cmd/planner/roster/roster-member-list.mdx +2 -2
  174. package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +5 -5
  175. package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +1 -1
  176. package/docs/docs/cmd/planner/roster/roster-remove.mdx +2 -2
  177. package/docs/docs/cmd/planner/task/task-add.mdx +1 -1
  178. package/docs/docs/cmd/planner/task/task-get.mdx +1 -1
  179. package/docs/docs/cmd/planner/task/task-list.mdx +1 -1
  180. package/docs/docs/cmd/planner/task/task-remove.mdx +1 -1
  181. package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
  182. package/docs/docs/cmd/pp/environment/environment-get.mdx +1 -1
  183. package/docs/docs/cmd/pp/environment/environment-list.mdx +1 -1
  184. package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +9 -9
  185. package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +1 -1
  186. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +1 -1
  187. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +1 -1
  188. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +1 -1
  189. package/docs/docs/cmd/request.mdx +1 -1
  190. package/docs/docs/cmd/skype/report/report-activitycounts.mdx +8 -0
  191. package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +8 -0
  192. package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +8 -0
  193. package/docs/docs/cmd/spfx/project/project-azuredevops-pipeline-add.mdx +87 -0
  194. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +2 -2
  195. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +3 -3
  196. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +2 -2
  197. package/docs/docs/cmd/spo/folder/folder-add.mdx +38 -0
  198. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +1 -1
  199. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
  200. package/docs/docs/cmd/spo/folder/folder-set.mdx +88 -0
  201. package/docs/docs/cmd/spo/group/group-member-add.mdx +2 -2
  202. package/docs/docs/cmd/spo/group/group-member-remove.mdx +3 -3
  203. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +3 -3
  204. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +2 -2
  205. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +8 -8
  206. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +2 -2
  207. package/docs/docs/cmd/spo/report/report-activityfilecounts.mdx +8 -0
  208. package/docs/docs/cmd/spo/report/report-activitypages.mdx +8 -0
  209. package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +6 -0
  210. package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +6 -0
  211. package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +6 -0
  212. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +6 -0
  213. package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +8 -0
  214. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +6 -0
  215. package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +8 -0
  216. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +2 -2
  217. package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +2 -2
  218. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +29 -5
  219. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +89 -89
  220. package/docs/docs/cmd/spo/user/user-ensure.mdx +1 -1
  221. package/docs/docs/cmd/spo/user/user-remove.mdx +40 -9
  222. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +3 -3
  223. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +2 -2
  224. package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
  225. package/docs/docs/cmd/teams/channel/channel-member-set.mdx +1 -1
  226. package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +3 -3
  227. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.mdx +8 -0
  228. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +8 -0
  229. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +6 -0
  230. package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +7 -1
  231. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +7 -1
  232. package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +8 -0
  233. package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +8 -0
  234. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +8 -0
  235. package/docs/docs/cmd/teams/tab/tab-get.mdx +19 -12
  236. package/docs/docs/cmd/teams/team/team-add.mdx +28 -4
  237. package/docs/docs/cmd/tenant/report/report-activeusercounts.mdx +8 -0
  238. package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +6 -0
  239. package/docs/docs/cmd/tenant/report/report-office365activationcounts.mdx +8 -0
  240. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.mdx +8 -0
  241. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.mdx +8 -0
  242. package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +8 -0
  243. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
  244. package/docs/docs/cmd/viva/engage/engage-group-list.mdx +1 -1
  245. package/docs/docs/cmd/viva/engage/engage-group-user-add.mdx +1 -1
  246. package/docs/docs/cmd/viva/engage/engage-group-user-remove.mdx +1 -1
  247. package/docs/docs/cmd/viva/engage/engage-message-add.mdx +1 -1
  248. package/docs/docs/cmd/viva/engage/engage-message-get.mdx +1 -1
  249. package/docs/docs/cmd/viva/engage/engage-message-like-set.mdx +1 -1
  250. package/docs/docs/cmd/viva/engage/engage-message-list.mdx +1 -1
  251. package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +1 -1
  252. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +1 -1
  253. package/docs/docs/cmd/viva/engage/engage-report-activitycounts.mdx +8 -0
  254. package/docs/docs/cmd/viva/engage/engage-report-activityusercounts.mdx +8 -0
  255. package/docs/docs/cmd/viva/engage/engage-report-activityuserdetail.mdx +6 -0
  256. package/docs/docs/cmd/viva/engage/engage-report-deviceusagedistributionusercounts.mdx +8 -0
  257. package/docs/docs/cmd/viva/engage/engage-report-deviceusageusercounts.mdx +8 -0
  258. package/docs/docs/cmd/viva/engage/engage-report-deviceusageuserdetail.mdx +6 -0
  259. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitycounts.mdx +8 -0
  260. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitydetail.mdx +6 -0
  261. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitygroupcounts.mdx +8 -0
  262. package/docs/docs/cmd/viva/engage/engage-search.mdx +1 -1
  263. package/docs/docs/cmd/viva/engage/engage-user-get.mdx +1 -1
  264. package/docs/docs/cmd/viva/engage/engage-user-list.mdx +1 -1
  265. package/npm-shrinkwrap.json +62 -58
  266. package/package.json +11 -11
  267. package/dist/m365/spo/commands/folder/folder-rename.js +0 -72
  268. package/docs/docs/cmd/spo/folder/folder-rename.mdx +0 -44
@@ -224,5 +224,5 @@ m365 entra enterpriseapp get --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
224
224
 
225
225
  ## More information
226
226
 
227
- - Application and enterprise application objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
227
+ - Application and service principal objects in Microsoft Entra ID: [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
228
228
  - Get servicePrincipal: [https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0)
@@ -14,13 +14,13 @@ m365 entra group user add [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-i, --groupId [groupId]`
17
- : The ID of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
17
+ : The ID of the Microsoft Entra group. Specify `groupId` or `groupDisplayName` but not both.
18
18
 
19
19
  `-n, --groupDisplayName [groupDisplayName]`
20
- : The display name of the Entra ID group. Specify `groupId` or `groupDisplayName` but not both.
20
+ : The display name of the Microsoft Entra group. Specify `groupId` or `groupDisplayName` but not both.
21
21
 
22
22
  `--ids [ids]`
23
- : Entra ID IDs of users. You can also pass a comma-separated list of IDs. Specify either `ids` or `userNames` but not both.
23
+ : Microsoft Entra IDs of users. You can also pass a comma-separated list of IDs. Specify either `ids` or `userNames` but not both.
24
24
 
25
25
  `--userNames [userNames]`
26
26
  : The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
@@ -33,25 +33,25 @@ m365 entra group user add [options]
33
33
 
34
34
  ## Examples
35
35
 
36
- Add a single user specified by ID as a member to a group specified by display name
36
+ Add a single user specified by ID as a member to a group specified by display name.
37
37
 
38
38
  ```sh
39
39
  m365 entra group user add --groupDisplayName Developers --ids 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
40
40
  ```
41
41
 
42
- Add multiple users specified by ID as members to a group specified by ID
42
+ Add multiple users specified by ID as members to a group specified by ID.
43
43
 
44
44
  ```sh
45
45
  m365 entra group user add --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --ids "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
46
46
  ```
47
47
 
48
- Add a single user specified by UPN as an owner to a group specified by display name
48
+ Add a single user specified by UPN as an owner to a group specified by display name.
49
49
 
50
50
  ```sh
51
51
  m365 entra group user add --groupDisplayName Developers --userNames john.doe@contoso.com --role Owner
52
52
  ```
53
53
 
54
- Adds multiple users specified by UPN as owners to a group specified by ID
54
+ Adds multiple users specified by UPN as owners to a group specified by ID.
55
55
 
56
56
  ```sh
57
57
  m365 entra group user add --groupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userNames "john.doe@contoso.com,adele.vance@contoso.com" --role Owner
@@ -30,6 +30,14 @@ m365 aad m365group report activitycounts [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Remarks
34
+
35
+ :::info
36
+
37
+ This command supports only csv and json output.
38
+
39
+ :::
40
+
33
41
  ## Examples
34
42
 
35
43
  Get the number of group activities across group workloads for the last week
@@ -33,6 +33,14 @@ m365 aad m365group report activitydetail [options]
33
33
 
34
34
  <Global />
35
35
 
36
+ ## Remarks
37
+
38
+ :::info
39
+
40
+ This command supports only csv and json output.
41
+
42
+ :::
43
+
36
44
  ## Examples
37
45
 
38
46
  Get details about Microsoft 365 Groups activity by group for the last week
@@ -30,6 +30,14 @@ m365 aad m365group report activityfilecounts [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Remarks
34
+
35
+ :::info
36
+
37
+ This command supports only csv and json output.
38
+
39
+ :::
40
+
33
41
  ## Examples
34
42
 
35
43
  Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week
@@ -30,6 +30,14 @@ m365 aad m365group report activitygroupcounts [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Remarks
34
+
35
+ :::info
36
+
37
+ This command supports only csv and json output.
38
+
39
+ :::
40
+
33
41
  ## Examples
34
42
 
35
43
  Get the daily total number of groups and how many of them were active based on activities for the last week
@@ -30,6 +30,14 @@ m365 aad m365group report activitystorage [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Remarks
34
+
35
+ :::info
36
+
37
+ This command supports only csv and json output.
38
+
39
+ :::
40
+
33
41
  ## Examples
34
42
 
35
43
  Get the total storage used across all group mailboxes and group sites for the last week
@@ -61,4 +61,4 @@ The command won't return a response on success.
61
61
 
62
62
  ## More information
63
63
 
64
- - Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
64
+ - Application and service principal objects in Microsoft Entra ID: [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
@@ -100,5 +100,5 @@ m365 entra oauth2grant list --spObjectId b2307a39-e878-458b-bc90-03bc578531d6
100
100
 
101
101
  ## More information
102
102
 
103
- - Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
103
+ - Application and service principal objects in Microsoft Entra ID: [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
104
104
  - List oauth2PermissionGrants: [https://learn.microsoft.com/graph/api/oauth2permissiongrant-list?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/oauth2permissiongrant-list?view=graph-rest-1.0)
@@ -58,5 +58,5 @@ The command won't return a response on success.
58
58
 
59
59
  ## More information
60
60
 
61
- - Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
61
+ - Application and service principal objects in Microsoft Entra ID: [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
62
62
  - Delete a delegated permission grant (oAuth2PermissionGrant): [https://learn.microsoft.com/graph/api/oauth2permissiongrant-delete?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/oauth2permissiongrant-delete?view=graph-rest-1.0)
@@ -52,5 +52,5 @@ The command won't return a response on success.
52
52
 
53
53
  ## More information
54
54
 
55
- - Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
55
+ - Application and service principal objects in Microsoft Entra ID: [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
56
56
  - Update a delegated permission grant (oAuth2PermissionGrant): [https://learn.microsoft.com/graph/api/oauth2permissiongrant-update?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/oauth2permissiongrant-update?view=graph-rest-1.0)
@@ -20,7 +20,7 @@ m365 search externalconnection add
20
20
 
21
21
  ```md definition-list
22
22
  `-i, --id <id>`
23
- : Developer-provided unique ID of the connection within the Azure Active Directory tenant.
23
+ : Developer-provided unique ID of the connection within the Microsoft Entra tenant.
24
24
 
25
25
  `-n, --name <name>`
26
26
  : The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters.
@@ -29,7 +29,7 @@ m365 search externalconnection add
29
29
  : Description of the connection displayed in the Microsoft 365 admin center.
30
30
 
31
31
  `--authorizedAppIds [authorizedAppIds]`
32
- : Comma-separated collection of application IDs for registered Azure Active Directory apps that are allowed to manage the external connection and to index content in the external connection.
32
+ : Comma-separated collection of application IDs for registered Microsoft Entra apps that are allowed to manage the external connection and to index content in the external connection.
33
33
  ```
34
34
 
35
35
  <Global />
@@ -29,7 +29,7 @@ m365 file add [options]
29
29
 
30
30
  The `folderUrl` must be an absolute URL to the document library where the file should be uploaded. The document library can be located in any site collection in your tenant, including OneDrive for Business. The `folderUrl` can also point to a (sub)folder in the document library.
31
31
 
32
- By default, the `file add` command will automatically lookup the ID of the site where you want to upload the file based on the specified `folderUrl`. It will do this, by breaking the URL into chunks and incrementally calling Microsoft Graph to retrieve site information. This is necessary, because there is no other way looking at the URL to distinguish where the site URL ends and the document library URL starts. If you want to speed up uploading files, or you use resource-specific consent and your Azure AD app only has access to the specific site, you can use the `siteUrl` option to specify the URL of the site yourself.
32
+ By default, the `file add` command will automatically lookup the ID of the site where you want to upload the file based on the specified `folderUrl`. It will do this, by breaking the URL into chunks and incrementally calling Microsoft Graph to retrieve site information. This is necessary, because there is no other way looking at the URL to distinguish where the site URL ends and the document library URL starts. If you want to speed up uploading files, or you use resource-specific consent and your Microsoft Entra app only has access to the specific site, you can use the `siteUrl` option to specify the URL of the site yourself.
33
33
 
34
34
  ## Examples
35
35
 
@@ -22,7 +22,7 @@ m365 graph schemaextension add [options]
22
22
  : Description of the schema extension
23
23
 
24
24
  `--owner <owner>`
25
- : The Id ID the Azure AD application that is the owner of the schema extension
25
+ : The Id of the Microsoft Entra application that is the owner of the schema extension
26
26
 
27
27
  `-t, --targetTypes <targetTypes>`
28
28
  : Comma-separated list of Microsoft Graph resource types the schema extension targets
@@ -45,7 +45,7 @@ To create a schema extension, you have to specify a unique ID for the schema ext
45
45
 
46
46
  The schema extension ID cannot be changed after creation.
47
47
 
48
- The schema extension owner is the ID of the Azure AD application that is the owner of the schema extension. Once set, this property is read-only and cannot be changed.
48
+ The schema extension owner is the ID of the Microsoft Entra application that is the owner of the schema extension. Once set, this property is read-only and cannot be changed.
49
49
 
50
50
  The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list
51
51
 
@@ -17,7 +17,7 @@ m365 graph schemaextension set [options]
17
17
  : The unique identifier for the schema extension definition
18
18
 
19
19
  `--owner <owner>`
20
- : The ID of the Azure AD application that is the owner of the schema extension
20
+ : The ID of the Microsoft Entra application that is the owner of the schema extension
21
21
 
22
22
  `-d, --description [description]`
23
23
  : Description of the schema extension
@@ -34,10 +34,10 @@ m365 login [options]
34
34
  : Certificate thumbprint. If not specified, and `authType` is set to `certificate`, it will be automatically calculated based on the specified certificate
35
35
 
36
36
  `-s, --secret [secret]`
37
- : Client Secret of the Azure AD application to use for authentication. Required when `authType` is set to `secret`.
37
+ : Client Secret of the Microsoft Entra application to use for authentication. Required when `authType` is set to `secret`.
38
38
 
39
39
  `--appId [appId]`
40
- : App ID of the Azure AD application to use for authentication. If not specified, use the app specified in the `CLIMICROSOFT365_AADAPPID` environment variable. If the environment variable is not defined, use the multitenant PnP Management Shell app
40
+ : App ID of the Microsoft Entra application to use for authentication. If not specified, use the app specified in the `CLIMICROSOFT365_ENTRAAPPID` environment variable. If the environment variable is not defined, use the multitenant PnP Management Shell app
41
41
 
42
42
  `--tenant [tenant]`
43
43
  : ID of the tenant from which accounts should be able to authenticate. Use `common` or `organization` if the app is multitenant. If not specified, use the tenant specified in the `CLIMICROSOFT365_TENANT` environment variable. If the environment variable is not defined, use `common` as the tenant identifier
@@ -61,11 +61,11 @@ When logging in to Microsoft 365 using the user name and password, next to the a
61
61
 
62
62
  When logging in to Microsoft 365 using a certificate, the CLI for Microsoft 365 will store the contents of the certificate so that it can automatically re-authenticate if necessary. The contents of the certificate are removed by re-authenticating using the device code or by calling the [logout](logout.mdx) command.
63
63
 
64
- To log in to Microsoft 365 using a certificate or secret, you will typically [create a custom Azure AD application](../user-guide/using-own-identity.mdx). To use this application with the CLI for Microsoft 365, you will set the `CLIMICROSOFT365_AADAPPID` environment variable to the application's ID and the `CLIMICROSOFT365_TENANT` environment variable to the ID of the Azure AD tenant, where you created the Azure AD application. Also, please make sure to read about [the caveats when using the certificate login option](../user-guide/cli-certificate-caveats.mdx).
64
+ To log in to Microsoft 365 using a certificate or secret, you will typically [create a custom Microsoft Entra application](../user-guide/using-own-identity.mdx). To use this application with the CLI for Microsoft 365, you will set the `CLIMICROSOFT365_ENTRAAPPID` environment variable to the application's ID and the `CLIMICROSOFT365_TENANT` environment variable to the ID of the Microsoft Entra tenant, where you created the Microsoft Entra application. Also, please make sure to read about [the caveats when using the certificate login option](../user-guide/cli-certificate-caveats.mdx).
65
65
 
66
66
  Managed identity in Azure Cloud Shell is the identity of the user. It is neither system- nor user-assigned and it can't be configured. To log in to Microsoft 365 using managed identity in Azure Cloud Shell, set `authType` to `identity` and don't specify the `userName` option.
67
67
 
68
- When connecting to clouds other than `Public`, you'll need to use an Azure AD application registered in a directory provisioned in that cloud. If you try to login using the default Azure AD application, login will fail.
68
+ When connecting to clouds other than `Public`, you'll need to use a Microsoft Entra application registered in a directory provisioned in that cloud. If you try to login using the default Microsoft Entra application, login will fail.
69
69
 
70
70
  :::tip
71
71
 
@@ -160,19 +160,19 @@ Log in to Microsoft 365 using a user-assigned managed identity. Client id or pri
160
160
  m365 login --authType identity --userName ac9fbed5-804c-4362-a369-21a4ec51109e
161
161
  ```
162
162
 
163
- Log in to Microsoft 365 using your own multitenant Azure AD application
163
+ Log in to Microsoft 365 using your own multitenant Microsoft Entra application
164
164
 
165
165
  ```sh
166
166
  m365 login --appId 31359c7f-bd7e-475c-86db-fdb8c937548c
167
167
  ```
168
168
 
169
- Log in to Microsoft 365 using your own Azure AD application that's restricted only to allow accounts from the specific tenant
169
+ Log in to Microsoft 365 using your own Microsoft Entra application that's restricted only to allow accounts from the specific tenant
170
170
 
171
171
  ```sh
172
172
  m365 login --appId 31359c7f-bd7e-475c-86db-fdb8c937548c --tenant 31359c7f-bd7e-475c-86db-fdb8c937548a
173
173
  ```
174
174
 
175
- Log in to Microsoft 365 using your own Azure AD application and a personal information exchange (.pfx) file
175
+ Log in to Microsoft 365 using your own Microsoft Entra application and a personal information exchange (.pfx) file
176
176
 
177
177
  ```sh
178
178
  m365 login --authType certificate --appId 31359c7f-bd7e-475c-86db-fdb8c937548c --tenant 31359c7f-bd7e-475c-86db-fdb8c937548a --certificateFile /Users/user/dev/localhost.pfx --password 'pass@word1'
@@ -201,6 +201,7 @@ m365 login --authType secret --secret topSeCr3t@007
201
201
  Upon successful login:
202
202
  ```json
203
203
  {
204
+ "connectionName": "dd8b99a7-77c6-4238-a609-396d27844921",
204
205
  "connectedAs": "john.doe@contoso.onmicrosoft.com",
205
206
  "authType": "DeviceCode",
206
207
  "appId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
@@ -217,11 +218,12 @@ m365 login --authType secret --secret topSeCr3t@007
217
218
  ```
218
219
  Upon successful login:
219
220
  ```text
220
- appId : 31359c7f-bd7e-475c-86db-fdb8c937548e
221
- appTenant : common
222
- authType : DeviceCode
223
- connectedAs: john.doe@contoso.onmicrosoft.com,
224
- cloudType : Public
221
+ appId : 31359c7f-bd7e-475c-86db-fdb8c937548e
222
+ appTenant : common
223
+ authType : DeviceCode
224
+ cloudType : Public
225
+ connectedAs : john.doe@contoso.onmicrosoft.com
226
+ connectionName: dd8b99a7-77c6-4238-a609-396d27844921
225
227
  ```
226
228
 
227
229
  </TabItem>
@@ -232,8 +234,8 @@ m365 login --authType secret --secret topSeCr3t@007
232
234
  ```
233
235
  Upon successful login:
234
236
  ```csv
235
- connectedAs,authType,appId,appTenant,cloudType
236
- john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common,Public
237
+ connectionName,connectedAs,authType,appId,appTenant,cloudType
238
+ dd8b99a7-77c6-4238-a609-396d27844921,john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common,Public
237
239
  ```
238
240
 
239
241
  </TabItem>
@@ -244,14 +246,13 @@ m365 login --authType secret --secret topSeCr3t@007
244
246
  ```
245
247
  Upon successful login:
246
248
  ```md
247
- # status
249
+ # login
248
250
 
249
251
  Date: 7/2/2023
250
252
 
251
-
252
-
253
253
  Property | Value
254
254
  ---------|-------
255
+ connectionName | dd8b99a7-77c6-4238-a609-396d27844921
255
256
  connectedAs | john.doe@contoso.onmicrosoft.com
256
257
  authType | DeviceCode
257
258
  appId | 31359c7f-bd7e-475c-86db-fdb8c937548e
@@ -261,4 +262,3 @@ m365 login --authType secret --secret topSeCr3t@007
261
262
 
262
263
  </TabItem>
263
264
  </Tabs>
264
-
@@ -21,6 +21,14 @@ m365 onedrive report activityfilecounts [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Remarks
25
+
26
+ :::info
27
+
28
+ This command supports only csv and json output.
29
+
30
+ :::
31
+
24
32
  ## Examples
25
33
 
26
34
  Gets the number of unique, licensed users that performed file interactions against any OneDrive account for the last week
@@ -21,6 +21,14 @@ m365 onedrive report activityusercounts [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Remarks
25
+
26
+ :::info
27
+
28
+ This command supports only csv and json output.
29
+
30
+ :::
31
+
24
32
  ## Examples
25
33
 
26
34
  Gets the trend in the number of active OneDrive users for the last week
@@ -24,6 +24,14 @@ m365 onedrive report activityuserdetail [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Remarks
28
+
29
+ :::info
30
+
31
+ This command supports only csv and json output.
32
+
33
+ :::
34
+
27
35
  ## Examples
28
36
 
29
37
  Gets details about OneDrive activity by user for the last week
@@ -23,6 +23,14 @@ m365 onedrive report usageaccountcounts [options]
23
23
 
24
24
  ## Remarks
25
25
 
26
+ :::info
27
+
28
+ This command supports only csv and json output.
29
+
30
+ :::
31
+
32
+ ## Remarks
33
+
26
34
  Any site on which users viewed, modified, uploaded, downloaded, shared, or synced files is considered an active site
27
35
 
28
36
  ## Examples
@@ -24,6 +24,14 @@ m365 onedrive report usageaccountdetail [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Remarks
28
+
29
+ :::info
30
+
31
+ This command supports only csv and json output.
32
+
33
+ :::
34
+
27
35
  ## Examples
28
36
 
29
37
  Gets details about OneDrive usage by account for the last week
@@ -25,6 +25,12 @@ m365 onedrive report usagefilecounts [options]
25
25
 
26
26
  A file is considered active if it has been saved, synced, modified, or shared within the specified time period.
27
27
 
28
+ :::info
29
+
30
+ This command supports only csv and json output.
31
+
32
+ :::
33
+
28
34
  ## Examples
29
35
 
30
36
  Gets the total number of files across all sites and how many are active files for the last week
@@ -21,6 +21,14 @@ m365 onedrive report usagestorage [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Remarks
25
+
26
+ :::info
27
+
28
+ This command supports only csv and json output.
29
+
30
+ :::
31
+
24
32
  ## Examples
25
33
 
26
34
  Gets the trend on the amount of storage you are using in OneDrive for Business for the last week
@@ -0,0 +1,67 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # outlook message remove
4
+
5
+ Permanently removes a specific message from a mailbox
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 outlook message remove [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-i, --id <id>`
17
+ : ID of the message.
18
+
19
+ `--userId [userId]`
20
+ : ID of the user that owns the mailbox. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
21
+
22
+ `--userName [userName]`
23
+ : User principal name of the user that owns the mailbox. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
24
+
25
+ `-f, --force`
26
+ : Don't prompt for confirmation.
27
+ ```
28
+
29
+ <Global />
30
+
31
+ ## Remarks
32
+
33
+ :::warning
34
+
35
+ This command will permanently delete the Outlook message. To move a message to the trash bin, use [outlook message move](./message-move.mdx) instead.
36
+
37
+ :::
38
+
39
+ ## Examples
40
+
41
+ Remove a specific message for the currently signed-in user
42
+
43
+ ```
44
+ m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA=
45
+ ```
46
+
47
+ Remove a specific message in a shared mailbox
48
+
49
+ ```
50
+ m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName sharedmailbox@contoso.com
51
+ ```
52
+
53
+ Remove a specific message from a specific mailbox specified by user ID using application permissions
54
+
55
+ ```
56
+ m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca
57
+ ```
58
+
59
+ Remove a specific message from a specific mailbox specified by user UPN using application permissions
60
+
61
+ ```
62
+ m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName john.doe@contoso.com
63
+ ```
64
+
65
+ ## Response
66
+
67
+ The command won't return a response on success.
@@ -12,6 +12,14 @@ Enables you to understand the trends of email activity (like how many were sent,
12
12
  m365 outlook report mailactivitycounts [options]
13
13
  ```
14
14
 
15
+ ## Remarks
16
+
17
+ :::info
18
+
19
+ This command supports only csv and json output.
20
+
21
+ :::
22
+
15
23
  ## Options
16
24
 
17
25
  ```md definition-list
@@ -12,6 +12,14 @@ Enables you to understand trends on the number of unique users who are performin
12
12
  m365 outlook report mailactivityusercounts [options]
13
13
  ```
14
14
 
15
+ ## Remarks
16
+
17
+ :::info
18
+
19
+ This command supports only csv and json output.
20
+
21
+ :::
22
+
15
23
  ## Options
16
24
 
17
25
  ```md definition-list
@@ -12,6 +12,14 @@ Gets details about email activity users have performed
12
12
  m365 outlook report mailactivityuserdetail [options]
13
13
  ```
14
14
 
15
+ ## Remarks
16
+
17
+ :::info
18
+
19
+ This command supports only csv and json output.
20
+
21
+ :::
22
+
15
23
  ## Options
16
24
 
17
25
  ```md definition-list
@@ -11,6 +11,13 @@ Gets the count of unique users per email app
11
11
  ```sh
12
12
  m365 outlook report mailappusageappsusercounts [options]
13
13
  ```
14
+ ## Remarks
15
+
16
+ :::info
17
+
18
+ This command supports only csv and json output.
19
+
20
+ :::
14
21
 
15
22
  ## Options
16
23
 
@@ -12,6 +12,14 @@ Gets the count of unique users that connected to Exchange Online using any email
12
12
  m365 outlook report mailappusageusercounts [options]
13
13
  ```
14
14
 
15
+ ## Remarks
16
+
17
+ :::info
18
+
19
+ This command supports only csv and json output.
20
+
21
+ :::
22
+
15
23
  ## Options
16
24
 
17
25
  ```md definition-list
@@ -12,6 +12,14 @@ Gets details about which activities users performed on the various email apps
12
12
  m365 outlook report mailappusageuserdetail [options]
13
13
  ```
14
14
 
15
+ ## Remarks
16
+
17
+ :::info
18
+
19
+ This command supports only csv and json output.
20
+
21
+ :::
22
+
15
23
  ## Options
16
24
 
17
25
  ```md definition-list
@@ -12,6 +12,14 @@ Gets the count of unique users by Outlook desktop version.
12
12
  m365 outlook report mailappusageversionsusercounts [options]
13
13
  ```
14
14
 
15
+ ## Remarks
16
+
17
+ :::info
18
+
19
+ This command supports only csv and json output.
20
+
21
+ :::
22
+
15
23
  ## Options
16
24
 
17
25
  ```md definition-list
@@ -21,6 +21,14 @@ m365 outlook report mailboxusagedetail [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Remarks
25
+
26
+ :::info
27
+
28
+ This command supports only csv and json output.
29
+
30
+ :::
31
+
24
32
  ## Examples
25
33
 
26
34
  Gets details about mailbox usage for the last week
@@ -25,6 +25,12 @@ m365 outlook report mailboxusagemailboxcount [options]
25
25
 
26
26
  A mailbox is considered active if the user sent or read any email.
27
27
 
28
+ :::info
29
+
30
+ This command supports only csv and json output.
31
+
32
+ :::
33
+
28
34
  ## Examples
29
35
 
30
36
  Gets the total number of user mailboxes in your organization and how many are active each day for the last week.