@pnp/cli-microsoft365 5.9.0-beta.1e08e6c → 5.9.0-beta.1f313f7
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.
- package/dist/Command.js +16 -2
- package/dist/m365/commands/status.js +6 -1
- package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
- package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
- package/dist/m365/spo/commands/field/field-add.js +26 -1
- package/dist/m365/spo/commands/field/field-set.js +23 -13
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/list/list-webhook-get.js +2 -3
- package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
- package/dist/m365/spo/commands/listitem/listitem-list.js +27 -11
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
- package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +14 -6
- package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- package/dist/m365/spo/commands.js +2 -0
- package/dist/m365/todo/commands/list/list-get.js +89 -0
- package/dist/m365/todo/commands/task/task-get.js +108 -0
- package/dist/m365/todo/commands.js +2 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +75 -0
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- package/docs/docs/cmd/spo/field/field-add.md +20 -2
- package/docs/docs/cmd/spo/field/field-set.md +11 -2
- package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-set.md +2 -2
- package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +12 -3
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
- package/docs/docs/cmd/tenant/id/id-get.md +20 -0
- package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
- package/docs/docs/cmd/todo/list/list-get.md +61 -0
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/package.json +9 -6
|
@@ -17,10 +17,13 @@ m365 spo listitem roleinheritance break [options]
|
|
|
17
17
|
: ID of the item for which to break role inheritance
|
|
18
18
|
|
|
19
19
|
`-l, --listId [listId]`
|
|
20
|
-
: ID of the list. Specify
|
|
20
|
+
: ID of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
21
21
|
|
|
22
22
|
`-t, --listTitle [listTitle]`
|
|
23
|
-
: Title of the list.
|
|
23
|
+
: Title of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
|
+
|
|
25
|
+
`--listUrl [listUrl]`
|
|
26
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
27
|
|
|
25
28
|
`-c, --clearExistingPermissions`
|
|
26
29
|
: Set to clear existing roles from the list item
|
|
@@ -51,8 +54,8 @@ Break inheritance of list item _1_ in list _someList_ located in site _https://c
|
|
|
51
54
|
m365 spo listitem roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "_someList_" --listItemId 1 --clearExistingPermissions
|
|
52
55
|
```
|
|
53
56
|
|
|
54
|
-
Break inheritance of list item
|
|
57
|
+
Break inheritance of a specific list item in a list retrieved by server-relative URL in a specific site and clear the existing permissions
|
|
55
58
|
|
|
56
59
|
```sh
|
|
57
|
-
m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
60
|
+
m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/Documents --listItemId 1 --clearExistingPermissions
|
|
58
61
|
```
|
|
@@ -17,10 +17,13 @@ m365 spo listitem roleinheritance reset [options]
|
|
|
17
17
|
: ID of the item for which to reset role inheritance
|
|
18
18
|
|
|
19
19
|
`--listId [listId]`
|
|
20
|
-
: ID of the list. Specify
|
|
20
|
+
: ID of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
21
21
|
|
|
22
22
|
`--listTitle [listTitle]`
|
|
23
|
-
: Title of the list. Specify
|
|
23
|
+
: Title of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
|
+
|
|
25
|
+
`--listUrl [listUrl]`
|
|
26
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
27
|
|
|
25
28
|
--8<-- "docs/cmd/_global.md"
|
|
26
29
|
|
|
@@ -37,3 +40,9 @@ Restore role inheritance of list item with id 8 from list with title _test_ loca
|
|
|
37
40
|
```sh
|
|
38
41
|
m365 spo listitem roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listItemId 8 --listTitle test
|
|
39
42
|
```
|
|
43
|
+
|
|
44
|
+
Restore role inheritance of a list item with a specific id in a list retrieved by server relative URL located in a specific site
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo listitem roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listItemId 8 --listUrl /sites/project-x/lists/test
|
|
48
|
+
```
|
|
@@ -17,10 +17,13 @@ m365 spo listitem set [options]
|
|
|
17
17
|
: ID of the list item to update.
|
|
18
18
|
|
|
19
19
|
`-l, --listId [listId]`
|
|
20
|
-
: ID of the list where the item should be updated. Specify `listId` or `
|
|
20
|
+
: ID of the list where the item should be updated. Specify either `listTitle`, `listId` or `listUrl`
|
|
21
21
|
|
|
22
22
|
`-t, --listTitle [listTitle]`
|
|
23
|
-
: Title of the list where the item should be updated. Specify `listId` or `
|
|
23
|
+
: Title of the list where the item should be updated. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
|
+
|
|
25
|
+
`--listUrl [listUrl]`
|
|
26
|
+
: Server- or site-relative URL of the list where the item should be updated. Specify either `listTitle`, `listId` or `listUrl`
|
|
24
27
|
|
|
25
28
|
`-c, --contentType [contentType]`
|
|
26
29
|
: The name or the ID of the content type to associate with the updated item
|
|
@@ -62,8 +65,8 @@ Update an item with id _147_ with Title _Demo Multi Person Field_ and a multi-se
|
|
|
62
65
|
m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|adamb@conotoso.com'}]"
|
|
63
66
|
```
|
|
64
67
|
|
|
65
|
-
Update
|
|
68
|
+
Update the field _Title_ and _CustomHyperlink_ of an item with a specific id in a list retrieved by server-relative URL in a specific site
|
|
66
69
|
|
|
67
70
|
```sh
|
|
68
|
-
m365 spo listitem set --
|
|
71
|
+
m365 spo listitem set --listUrl '/sites/project-x/lists/Demo List' --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --CustomHyperlink "https://www.bing.com, Bing"
|
|
69
72
|
```
|
|
@@ -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.
|
|
@@ -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
|
+
```
|