@pnp/cli-microsoft365 6.0.0-beta.845d3c1 → 6.0.0-beta.9dde439

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 (134) hide show
  1. package/dist/Command.js +16 -2
  2. package/dist/m365/aad/commands/app/app-list.js +38 -0
  3. package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
  4. package/dist/m365/aad/commands.js +2 -0
  5. package/dist/m365/commands/status.js +6 -1
  6. package/dist/m365/outlook/commands/message/message-get.js +97 -0
  7. package/dist/m365/outlook/commands.js +1 -0
  8. package/dist/m365/pp/commands/card/card-remove.js +130 -0
  9. package/dist/m365/pp/commands.js +1 -0
  10. package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
  11. package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
  12. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
  13. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
  14. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
  15. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
  16. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
  17. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
  18. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
  19. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
  20. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
  21. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
  22. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
  23. package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
  24. package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
  25. package/dist/m365/spo/commands/field/field-add.js +26 -1
  26. package/dist/m365/spo/commands/field/field-set.js +23 -13
  27. package/dist/m365/spo/commands/folder/folder-list.js +35 -12
  28. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
  29. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
  30. package/dist/m365/spo/commands/list/list-roleassignment-add.js +1 -1
  31. package/dist/m365/spo/commands/list/list-view-field-add.js +19 -5
  32. package/dist/m365/spo/commands/list/list-view-field-remove.js +18 -4
  33. package/dist/m365/spo/commands/list/list-view-field-set.js +18 -4
  34. package/dist/m365/spo/commands/list/list-view-list.js +14 -10
  35. package/dist/m365/spo/commands/list/list-view-remove.js +17 -8
  36. package/dist/m365/spo/commands/list/list-view-set.js +19 -7
  37. package/dist/m365/spo/commands/list/list-webhook-get.js +2 -3
  38. package/dist/m365/spo/commands/list/list-webhook-set.js +11 -12
  39. package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
  40. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
  41. package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
  42. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
  43. package/dist/m365/spo/commands/listitem/listitem-list.js +21 -11
  44. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
  45. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
  46. package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
  47. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
  48. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
  49. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +13 -5
  50. package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
  51. package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
  52. package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
  53. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
  54. package/dist/m365/spo/commands.js +4 -2
  55. package/dist/m365/teams/commands/channel/channel-get.js +2 -2
  56. package/dist/m365/teams/commands/channel/channel-remove.js +56 -39
  57. package/dist/m365/teams/commands/channel/channel-set.js +57 -19
  58. package/dist/m365/todo/commands/list/list-get.js +89 -0
  59. package/dist/m365/todo/commands/task/task-get.js +108 -0
  60. package/dist/m365/todo/commands.js +2 -0
  61. package/dist/utils/md.js +8 -1
  62. package/docs/docs/cmd/aad/app/app-list.md +149 -0
  63. package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
  64. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +3 -0
  65. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
  66. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
  67. package/docs/docs/cmd/outlook/message/message-get.md +48 -0
  68. package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
  69. package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
  70. package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
  71. package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
  72. package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
  73. package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
  74. package/docs/docs/cmd/planner/plan/plan-get.md +75 -0
  75. package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
  76. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  77. package/docs/docs/cmd/pp/card/card-remove.md +82 -0
  78. package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
  79. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  80. package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
  81. package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
  82. package/docs/docs/cmd/spo/field/field-add.md +20 -2
  83. package/docs/docs/cmd/spo/field/field-set.md +15 -3
  84. package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
  85. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
  86. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
  87. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
  88. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +2 -2
  89. package/docs/docs/cmd/spo/list/list-view-field-add.md +14 -4
  90. package/docs/docs/cmd/spo/list/list-view-field-remove.md +11 -2
  91. package/docs/docs/cmd/spo/list/list-view-field-set.md +18 -2
  92. package/docs/docs/cmd/spo/list/list-view-list.md +16 -7
  93. package/docs/docs/cmd/spo/list/list-view-remove.md +12 -3
  94. package/docs/docs/cmd/spo/list/list-view-set.md +20 -6
  95. package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
  96. package/docs/docs/cmd/spo/list/list-webhook-set.md +11 -4
  97. package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
  98. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
  99. package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
  100. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
  101. package/docs/docs/cmd/spo/listitem/listitem-list.md +10 -1
  102. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
  103. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
  104. package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
  105. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
  106. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
  107. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +8 -5
  108. package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
  109. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +5 -10
  110. package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
  111. package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
  112. package/docs/docs/cmd/spo/term/term-add.md +5 -0
  113. package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
  114. package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
  115. package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
  116. package/docs/docs/cmd/teams/channel/channel-remove.md +12 -9
  117. package/docs/docs/cmd/teams/channel/channel-set.md +13 -6
  118. package/docs/docs/cmd/tenant/id/id-get.md +20 -0
  119. package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
  120. package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
  121. package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
  122. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
  123. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
  124. package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
  125. package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
  126. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
  127. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
  128. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
  129. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
  130. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
  131. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
  132. package/docs/docs/cmd/todo/list/list-get.md +61 -0
  133. package/docs/docs/cmd/todo/task/task-get.md +75 -0
  134. package/package.json +10 -6
@@ -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,23 @@ Get Microsoft 365 tenant ID of the the tenant to which you are currently logged
32
32
  ```sh
33
33
  m365 tenant id get
34
34
  ```
35
+
36
+ ## Response
37
+
38
+ === "JSON"
39
+
40
+ ```json
41
+ "e65b162c-6f87-4eb1-a24e-1b37d3504663"
42
+ ```
43
+
44
+ === "Text"
45
+
46
+ ```text
47
+ e65b162c-6f87-4eb1-a24e-1b37d3504663
48
+ ```
49
+
50
+ === "CSV"
51
+
52
+ ```csv
53
+ e65b162c-6f87-4eb1-a24e-1b37d3504663
54
+ ```
@@ -37,3 +37,38 @@ Gets the count of daily active users in the reporting period by product for the
37
37
  ```sh
38
38
  m365 tenant report activeusercounts --period D7 --output json > "activeusercounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2022-10-25",
49
+ "Office 365": "1",
50
+ "Exchange": "5",
51
+ "OneDrive": "4",
52
+ "SharePoint": "3",
53
+ "Skype For Business": "2",
54
+ "Yammer": "3",
55
+ "Teams": "1",
56
+ "Report Date": "2022-10-19",
57
+ "Report Period": "7"
58
+ }
59
+ ]
60
+ ```
61
+
62
+ === "Text"
63
+
64
+ ```text
65
+ Report Refresh Date,Office 365,Exchange,OneDrive,SharePoint,Skype For Business,Yammer,Teams,Report Date,Report Period
66
+ 2022-10-25,1,5,4,3,2,3,1,2022-10-19,7
67
+ ```
68
+
69
+ === "CSV"
70
+
71
+ ```csv
72
+ Report Refresh Date,Office 365,Exchange,OneDrive,SharePoint,Skype For Business,Yammer,Teams,Report Date,Report Period
73
+ 2022-10-25,1,5,4,3,2,3,1,2022-10-19,7
74
+ ```
@@ -50,3 +50,52 @@ Gets details about Microsoft 365 active users for the last week and exports the
50
50
  ```sh
51
51
  m365 tenant report activeuserdetail --period D7 --output json > "activeuserdetail.json"
52
52
  ```
53
+
54
+ ## Response
55
+
56
+ === "JSON"
57
+
58
+ ```json
59
+ [
60
+ {
61
+ "Report Refresh Date": "2022-10-23",
62
+ "User Principal Name": "0439A166C614C2E8C7B4075DC4752054",
63
+ "Display Name": "2236A6E43D08F619FE695DF3B163A32F",
64
+ "Is Deleted": "False",
65
+ "Deleted Date": "",
66
+ "Has Exchange License": "True",
67
+ "Has OneDrive License": "True",
68
+ "Has SharePoint License": "True",
69
+ "Has Skype For Business License": "True",
70
+ "Has Yammer License": "True",
71
+ "Has Teams License": "True",
72
+ "Exchange Last Activity Date": "2020-03-27",
73
+ "OneDrive Last Activity Date": "2020-03-27",
74
+ "SharePoint Last Activity Date": "2020-04-30",
75
+ "Skype For Business Last Activity Date": "2020-05-10",
76
+ "Yammer Last Activity Date": "2020-05-10",
77
+ "Teams Last Activity Date": "2020-05-10",
78
+ "Exchange License Assign Date": "2020-02-26",
79
+ "OneDrive License Assign Date": "2020-02-26",
80
+ "SharePoint License Assign Date": "2020-02-26",
81
+ "Skype For Business License Assign Date": "2020-02-26",
82
+ "Yammer License Assign Date": "2020-02-26",
83
+ "Teams License Assign Date": "2020-02-26",
84
+ "Assigned Products": "MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)"
85
+ }
86
+ ]
87
+ ```
88
+
89
+ === "Text"
90
+
91
+ ```text
92
+ Report Refresh Date,User Principal Name,Display Name,Is Deleted,Deleted Date,Has Exchange License,Has OneDrive License,Has SharePoint License,Has Skype For Business License,Has Yammer License,Has Teams License,Exchange Last Activity Date,OneDrive Last Activity Date,SharePoint Last Activity Date,Skype For Business Last Activity Date,Yammer Last Activity Date,Teams Last Activity Date,Exchange License Assign Date,OneDrive License Assign Date,SharePoint License Assign Date,Skype For Business License Assign Date,Yammer License Assign Date,Teams License Assign Date,Assigned Products
93
+ 2022-10-23,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,False,,True,True,True,True,True,True,2020-09-12,2022-09-12,2021-10-30,2020-10-30,2019-04-21,2017-09-20,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)
94
+ ```
95
+
96
+ === "CSV"
97
+
98
+ ```csv
99
+ Report Refresh Date,User Principal Name,Display Name,Is Deleted,Deleted Date,Has Exchange License,Has OneDrive License,Has SharePoint License,Has Skype For Business License,Has Yammer License,Has Teams License,Exchange Last Activity Date,OneDrive Last Activity Date,SharePoint Last Activity Date,Skype For Business Last Activity Date,Yammer Last Activity Date,Teams Last Activity Date,Exchange License Assign Date,OneDrive License Assign Date,SharePoint License Assign Date,Skype For Business License Assign Date,Yammer License Assign Date,Teams License Assign Date,Assigned Products
100
+ 2022-10-23,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,False,,True,True,True,True,True,True,,2022-09-12,2020-09-12,2022-09-12,2021-10-30,2020-10-30,2019-04-21,2017-09-20,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,2021-01-10,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)
101
+ ```
@@ -19,3 +19,35 @@ Get the count of Microsoft 365 activations on desktops and devices
19
19
  ```sh
20
20
  m365 tenant report office365activationcounts
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "Report Refresh Date": "2022-10-25",
31
+ "Product Type": "MICROSOFT 365 APPS FOR ENTERPRISE",
32
+ "Windows": 5,
33
+ "Mac": 0,
34
+ "Android": 0,
35
+ "iOS": 0,
36
+ "Windows 10 Mobile": 0
37
+ }
38
+ ]
39
+ ```
40
+
41
+ === "Text"
42
+
43
+ ```text
44
+ Report Refresh Date,Product Type,Windows,Mac,Android,iOS,Windows 10 Mobile
45
+ 2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,5,0,0,0,0
46
+ ```
47
+
48
+ === "CSV"
49
+
50
+ ```csv
51
+ Report Refresh Date,Product Type,Windows,Mac,Android,iOS,Windows 10 Mobile
52
+ 2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,5,0,0,0,0
53
+ ```
@@ -19,3 +19,33 @@ Get the count of users that are enabled and those that have activated the Office
19
19
  ```sh
20
20
  m365 tenant report office365activationsusercounts
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "Report Refresh Date": "2022-10-25",
31
+ "Product Type": "MICROSOFT 365 APPS FOR ENTERPRISE",
32
+ "Assigned": 24,
33
+ "Activated": 5,
34
+ "Shared Computer Activation": 0
35
+ }
36
+ ]
37
+ ```
38
+
39
+ === "Text"
40
+
41
+ ```text
42
+ Report Refresh Date,Product Type,Assigned,Activated,Shared Computer Activation
43
+ 2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,24,5,0
44
+ ```
45
+
46
+ === "CSV"
47
+
48
+ ```csv
49
+ Report Refresh Date,Product Type,Assigned,Activated,Shared Computer Activation
50
+ 2022-10-25,MICROSOFT 365 APPS FOR ENTERPRISE,24,5,0
51
+ ```
@@ -19,3 +19,39 @@ Get details about users who have activated Microsoft 365
19
19
  ```sh
20
20
  m365 tenant report office365activationsuserdetail
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "Report Refresh Date": "2022-10-25",
31
+ "User Principal Name": "554630B7593DDE8E04F27933A965D5B2",
32
+ "Display Name": "2BA57CC6348F53C9EE6347528301E896",
33
+ "Product Type": "MICROSOFT EXCEL ADVANCED ANALYTICS",
34
+ "Last Activated Date": "2021-01-10",
35
+ "Windows": 0,
36
+ "Mac": 0,
37
+ "Windows 10 Mobile": 0,
38
+ "iOS": 0,
39
+ "Android": 0,
40
+ "Activated On Shared Computer": "False"
41
+ }
42
+ ]
43
+ ```
44
+
45
+ === "Text"
46
+
47
+ ```text
48
+ Report Refresh Date,User Principal Name,Display Name,Product Type,Last Activated Date,Windows,Mac,Windows 10 Mobile,iOS,Android,Activated On Shared Computer
49
+ 2022-10-25,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,MICROSOFT 365 APPS FOR ENTERPRISE,2021-01-10,1,0,0,0,0,False
50
+ ```
51
+
52
+ === "CSV"
53
+
54
+ ```csv
55
+ Report Refresh Date,User Principal Name,Display Name,Product Type,Last Activated Date,Windows,Mac,Windows 10 Mobile,iOS,Android,Activated On Shared Computer
56
+ 2022-10-25,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,MICROSOFT 365 APPS FOR ENTERPRISE,2021-01-10,1,0,0,0,0,False
57
+ ```
@@ -37,3 +37,44 @@ Gets the count of users by activity type and service for the last week and expor
37
37
  ```sh
38
38
  m365 tenant report servicesusercounts --period D7 --output json > "servicesusercounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2022-10-23",
49
+ "Exchange Active": "1",
50
+ "Exchange Inactive": "23",
51
+ "OneDrive Active": "1",
52
+ "OneDrive Inactive": "23",
53
+ "SharePoint Active": "1",
54
+ "SharePoint Inactive": "23",
55
+ "Skype For Business Active": "0",
56
+ "Skype For Business Inactive": "24",
57
+ "Yammer Active": "0",
58
+ "Yammer Inactive": "24",
59
+ "Teams Active": "1",
60
+ "Teams Inactive": "23",
61
+ "Office 365 Active": "2",
62
+ "Office 365 Inactive": "22",
63
+ "Report Period": "7"
64
+ }
65
+ ]
66
+ ```
67
+
68
+ === "Text"
69
+
70
+ ```text
71
+ Report Refresh Date,Exchange Active,Exchange Inactive,OneDrive Active,OneDrive Inactive,SharePoint Active,SharePoint Inactive,Skype For Business Active,Skype For Business Inactive,Yammer Active,Yammer Inactive,Teams Active,Teams Inactive,Office 365 Active,Office 365 Inactive,Report Period
72
+ 2022-10-23,1,23,1,23,1,23,0,24,0,24,1,23,2,22,7
73
+ ```
74
+
75
+ === "CSV"
76
+
77
+ ```csv
78
+ Report Refresh Date,Exchange Active,Exchange Inactive,OneDrive Active,OneDrive Inactive,SharePoint Active,SharePoint Inactive,Skype For Business Active,Skype For Business Inactive,Yammer Active,Yammer Inactive,Teams Active,Teams Inactive,Office 365 Active,Office 365 Inactive,Report Period
79
+ 2022-10-23,1,23,1,23,1,23,0,24,0,24,1,23,2,22,7
80
+ ```
@@ -28,3 +28,108 @@ Get security alerts for a vendor with name _Azure Sentinel_
28
28
  ```sh
29
29
  m365 tenant security alerts list --vendor "Azure Sentinel"
30
30
  ```
31
+
32
+ ## Response
33
+
34
+ === "JSON"
35
+
36
+ ```json
37
+ [
38
+ {
39
+ "id": "2517536653831539999_658fa695-a5e6-4b60-ac7c-b2c1396df384",
40
+ "azureTenantId": "b8e1599d-b418-4be9-8f39-df03c3abe27a",
41
+ "azureSubscriptionId": "ee390228-e284-4e54-a464-d693a1d55540",
42
+ "riskScore": null,
43
+ "tags": [],
44
+ "activityGroupName": null,
45
+ "assignedTo": null,
46
+ "category": "Storage.Blob_GeoAnomaly",
47
+ "closedDateTime": null,
48
+ "comments": [],
49
+ "confidence": null,
50
+ "createdDateTime": "2022-03-30T13:19:15.8039138Z",
51
+ "description": "Someone has accessed your Azure Storage account 'westeuropegivcekj' from an unusual location.",
52
+ "detectionIds": [],
53
+ "eventDateTime": "2022-03-30T10:16:56.846Z",
54
+ "feedback": null,
55
+ "incidentIds": [],
56
+ "lastEventDateTime": null,
57
+ "lastModifiedDateTime": "2022-03-30T13:19:48.5196488Z",
58
+ "recommendedActions": [
59
+ "• Limit access to your storage account, following the 'least privilege' principle: https://go.microsoft.com/fwlink/?linkid=2187303.• Consider using identity-based authentication: https://go.microsoft.com/fwlink/?linkid=2187202.• Consider rotating the storage account access keys and ensure that your access tokens are only shared with authorized users.• Ensure that storage access tokens are stored in a secured location such as Azure Key Vault. Avoid storing or sharing storage access tokens in source code, documentation, and email."
60
+ ],
61
+ "severity": "low",
62
+ "sourceMaterials": [
63
+ "https://portal.azure.com/#blade/Microsoft_Azure_Security_AzureDefenderForData/AlertBlade/alertId/2517536653831539999_658fa695-a5e6-4b60-ac7c-b2c1396df384/subscriptionId/bbdf91d0-d75b-430e-b738-2c525452144f/resourceGroup/managed-rg-purview-mip-poc/referencedFrom/alertDeepLink/location/westeurope"
64
+ ],
65
+ "status": "newAlert",
66
+ "title": "Access from an unusual location to a storage blob container",
67
+ "CustomProperties": "[\"{\\\"Alert Id\\\":\\\"658fa695-a5e6-4b60-ac7c-b2c1396df384\\\",\\\"Azure AD user\\\":\\\"N/A (Azure AD user authentication was not used)\\\",\\\"User agent\\\":\\\"Azure-Storage/9.3.0 (.NET Core)\\\",\\\"API type\\\":\\\"Blob\\\",\\\"Client location\\\":\\\"Dublin, Ireland\\\",\\\"Authentication type\\\":\\\"Shared access signature (SAS)\\\",\\\"Investigation steps\\\":\\\"{\\\\\\\"displayValue\\\\\\\":\\\\\\\"View related storage activity using Storage Analytics Logging. See how to configure Storage Analytics logging and more information\\\\\\\",\\\\\\\"kind\\\\\\\":\\\\\\\"Link\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"https:\\\\\\\\/\\\\\\\\/go.microsoft.com\\\\\\\\/fwlink\\\\\\\\/?linkid=2075734\\\\\\\"}\\\",\\\"Operations types\\\":\\\"GetBlob\\\",\\\"Service type\\\":\\\"Azure Blobs\\\",\\\"Container\\\":\\\"temporary\\\",\\\"Potential causes\\\":\\\"This alert indicates that this account has been accessed successfully from an IP address that is unfamiliar and unexpected compared to recent access pattern on this account.\\\\\\Potential causes:\\\\\\• An attacker has accessed your storage account.\\\\\\• A legitimate user has accessed your storage account from a new location.\\\",\\\"resourceType\\\":\\\"Storage\\\",\\\"ReportingSystem\\\":\\\"Azure\\\"}\",\"\\\"InitialAccess\\\"\"]",
68
+ "vendorInformation": {
69
+ "provider": "ASC",
70
+ "providerVersion": null,
71
+ "subProvider": "StorageThreatDetection",
72
+ "vendor": "Microsoft"
73
+ },
74
+ "alertDetections": [],
75
+ "cloudAppStates": [],
76
+ "fileStates": [],
77
+ "hostStates": [],
78
+ "historyStates": [],
79
+ "investigationSecurityStates": [],
80
+ "malwareStates": [],
81
+ "messageSecurityStates": [],
82
+ "networkConnections": [
83
+ {
84
+ "applicationName": null,
85
+ "destinationAddress": null,
86
+ "destinationDomain": null,
87
+ "destinationLocation": null,
88
+ "destinationPort": null,
89
+ "destinationUrl": null,
90
+ "direction": null,
91
+ "domainRegisteredDateTime": null,
92
+ "localDnsName": null,
93
+ "natDestinationAddress": null,
94
+ "natDestinationPort": null,
95
+ "natSourceAddress": null,
96
+ "natSourcePort": null,
97
+ "protocol": "tcp",
98
+ "riskScore": null,
99
+ "sourceAddress": "52.214.204.49",
100
+ "sourceLocation": "Dublin, Dublin, IE",
101
+ "sourcePort": null,
102
+ "status": null,
103
+ "urlParameters": null
104
+ }
105
+ ],
106
+ "processes": [],
107
+ "registryKeyStates": [],
108
+ "securityResources": [
109
+ {
110
+ "resource": "/subscriptions/bbdf91d0-d75b-430e-b738-2c525452144f/resourceGroups/managed-rg-purview-mip-poc/providers/Microsoft.Storage/storageAccounts/scanwesteuropegivcebj",
111
+ "resourceType": "attacked"
112
+ }
113
+ ],
114
+ "triggers": [],
115
+ "userStates": [],
116
+ "uriClickSecurityStates": [],
117
+ "vulnerabilityStates": []
118
+ }
119
+ ]
120
+ ```
121
+
122
+ === "Text"
123
+
124
+ ```text
125
+ id title severity
126
+ ------------------------------------ -------------------------- --------
127
+ 4ece2cf8-cbc0-5a42-92c3-e23f96006907 SharePoint Bulk Edit Items medium
128
+ ```
129
+
130
+ === "CSV"
131
+
132
+ ```csv
133
+ id,title,severity
134
+ 4ece2cf8-cbc0-5a42-92c3-e23f96006907,SharePoint Bulk Edit Items,medium
135
+ ```
@@ -31,3 +31,90 @@ Get the health report for the service _Exchange Online_ including the issues of
31
31
  ```sh
32
32
  m365 tenant serviceannouncement health get --serviceName "Exchange Online" --issues
33
33
  ```
34
+
35
+ ## Response
36
+
37
+ ### Standard response
38
+
39
+ === "JSON"
40
+
41
+ ```json
42
+ {
43
+ "service": "Exchange Online",
44
+ "status": "serviceDegradation",
45
+ "id": "Exchange"
46
+ }
47
+ ```
48
+
49
+ === "Text"
50
+
51
+ ```text
52
+ id : Exchange
53
+ service: Exchange Online
54
+ status : serviceDegradation
55
+ ```
56
+
57
+ === "CSV"
58
+
59
+ ```csv
60
+ id,status,service
61
+ Exchange,serviceDegradation,Exchange Online
62
+ ```
63
+
64
+ ### `issues` response
65
+
66
+ When we make use of the option `issues` the response will differ.
67
+
68
+ === "JSON"
69
+
70
+ ```json
71
+ {
72
+ "service": "Exchange Online",
73
+ "status": "serviceDegradation",
74
+ "id": "Exchange",
75
+ "issues": [
76
+ {
77
+ "startDateTime": "2022-08-17T18:27:00Z",
78
+ "endDateTime": "2022-08-18T16:06:18Z",
79
+ "lastModifiedDateTime": "2022-08-18T16:46:04.133Z",
80
+ "title": "AdminsÔÇÖ downloaded CSV mailbox usage reports via Microsoft 365 admin center donÔÇÖt contain data prior to August 1, 2022",
81
+ "id": "EX415080",
82
+ "impactDescription": "AdminsÔÇÖ downloaded CSV mailbox usage reports via Microsoft 365 admin center didn't contain data prior to August 1, 2022.",
83
+ "classification": "advisory",
84
+ "origin": "microsoft",
85
+ "status": "serviceRestored",
86
+ "service": "Exchange Online",
87
+ "feature": "Windows Live sign-in issue",
88
+ "featureGroup": "Sign-in",
89
+ "isResolved": true,
90
+ "highImpact": null,
91
+ "details": [],
92
+ "posts": [
93
+ {
94
+ "createdDateTime": "2022-08-17T18:34:54.95Z",
95
+ "postType": "regular",
96
+ "description": {
97
+ "contentType": "html",
98
+ "content": "Title: AdminsÔÇÖ downloaded CSV mailbox usage reports via Microsoft 365 admin center donÔÇÖt contain data prior to August 1, 2022\\\n\nUser impact: AdminsÔÇÖ downloaded CSV mailbox usage reports via Microsoft 365 admin center donÔÇÖt contain data prior to August 1, 2022.\\\n\nCurrent status: We're investigating a potential issue and checking for impact to your organization. We'll provide an update within 30 minutes."
99
+ }
100
+ }
101
+ ]
102
+ }
103
+ ]
104
+ }
105
+ ```
106
+
107
+ === "Text"
108
+
109
+ ```text
110
+ id status service
111
+ ---------- ------------------ -----------------
112
+ Exchange serviceDegradation Exchange Online
113
+ ```
114
+
115
+ === "CSV"
116
+
117
+ ```csv
118
+ id,status,service
119
+ Exchange,serviceDegradation,Exchange Online
120
+ ```
@@ -28,3 +28,94 @@ Get the health report of all subscribed services for a tenant including the issu
28
28
  ```sh
29
29
  m365 tenant serviceannouncement health list --issues
30
30
  ```
31
+
32
+ ## Response
33
+
34
+ ### Standard response
35
+
36
+ === "JSON"
37
+
38
+ ```json
39
+ [
40
+ {
41
+ "service": "Exchange Online",
42
+ "status": "serviceDegradation",
43
+ "id": "Exchange"
44
+ }
45
+ ]
46
+ ```
47
+
48
+ === "Text"
49
+
50
+ ```text
51
+ id status service
52
+ ---------- ------------------ -----------------
53
+ Exchange serviceDegradation Exchange Online
54
+ ```
55
+
56
+ === "CSV"
57
+
58
+ ```csv
59
+ id,status,service
60
+ Exchange,serviceDegradation,Exchange Online
61
+ ```
62
+
63
+ ### `issues` response
64
+
65
+ When we make use of the option `issues` the response will differ.
66
+
67
+ === "JSON"
68
+
69
+ ```json
70
+ [
71
+ {
72
+ "service": "Microsoft Defender for Cloud Apps",
73
+ "status": "serviceOperational",
74
+ "id": "cloudappsecurity",
75
+ "issues": [
76
+ {
77
+ "startDateTime": "2022-05-13T00:00:00Z",
78
+ "endDateTime": "2022-05-16T13:10:00Z",
79
+ "lastModifiedDateTime": "2022-05-17T11:00:42.2Z",
80
+ "title": "Microsoft Defender for Cloud Apps admin panel changes not propagating to Microsoft Defender for Endpoint",
81
+ "id": "CS381143",
82
+ "impactDescription": "Admins may notice that Microsoft Defender for Cloud Apps admin panel changes did not propagate to Microsoft Defender for",
83
+ "classification": "advisory",
84
+ "origin": "microsoft",
85
+ "status": "serviceRestored",
86
+ "service": "Microsoft Defender for Cloud Apps",
87
+ "feature": "Cloud App Security",
88
+ "featureGroup": "Cloud App Security",
89
+ "isResolved": true,
90
+ "highImpact": null,
91
+ "details": [],
92
+ "posts": [
93
+ {
94
+ "createdDateTime": "2022-05-17T08:31:31.113Z",
95
+ "postType": "regular",
96
+ "description": {
97
+ "contentType": "html",
98
+ "content": "Title: Microsoft Defender for Cloud Apps admin panel changes not propagating to Microsoft Defender for Endpoint\\\n\nUser Impact: Admins may notice that Microsoft Defender for Cloud Apps admin panel changes do not propagate to Microsoft Defender for Endpoint.\\\n\nCurrent status: We're analyzing system logs to determine the source of the issue.\\\n\nScope of impact: Impact is specific to users who are served through the affected infrastructure.\\\n\nNext update by: Tuesday, May 17, 2022, at 10:30 AM UTC"
99
+ }
100
+ }
101
+ ]
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ ```
107
+
108
+ === "Text"
109
+
110
+ ```text
111
+ id status service
112
+ ---------- ------------------ -----------------
113
+ Exchange serviceDegradation Exchange Online
114
+ ```
115
+
116
+ === "CSV"
117
+
118
+ ```csv
119
+ id,status,service
120
+ Exchange,serviceDegradation,Exchange Online
121
+ ```