@pnp/cli-microsoft365 6.1.0-beta.f4d612f → 6.1.0-beta.f818fbb
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/m365/pp/commands/dataverse/dataverse-table-row-remove.js +133 -0
- package/dist/m365/pp/commands.js +1 -0
- package/dist/m365/spo/commands/list/{list-label-get.js → list-retentionlabel-get.js} +19 -15
- package/dist/m365/spo/commands/list/{list-label-set.js → list-retentionlabel-set.js} +19 -15
- package/dist/m365/spo/commands/page/clientsidepages.js +3 -3
- package/dist/m365/spo/commands/web/web-retentionlabel-list.js +63 -0
- package/dist/m365/spo/commands.js +3 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.md +61 -0
- package/docs/docs/cmd/spo/list/{list-label-get.md → list-retentionlabel-get.md} +17 -11
- package/docs/docs/cmd/spo/list/list-retentionlabel-set.md +65 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +9 -5
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +42 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +25 -3
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +22 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +6 -2
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +5 -1
- package/docs/docs/cmd/spo/page/page-add.md +13 -9
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +6 -2
- package/docs/docs/cmd/spo/page/page-column-get.md +68 -5
- package/docs/docs/cmd/spo/page/page-column-list.md +36 -4
- package/docs/docs/cmd/spo/page/page-control-get.md +70 -3
- package/docs/docs/cmd/spo/page/page-control-list.md +69 -3
- package/docs/docs/cmd/spo/page/page-control-set.md +11 -7
- package/docs/docs/cmd/spo/page/page-copy.md +65 -4
- package/docs/docs/cmd/spo/page/page-get.md +100 -4
- package/docs/docs/cmd/spo/page/page-header-set.md +17 -13
- package/docs/docs/cmd/spo/page/page-list.md +122 -1
- package/docs/docs/cmd/spo/page/page-remove.md +9 -5
- package/docs/docs/cmd/spo/page/page-section-add.md +10 -6
- package/docs/docs/cmd/spo/page/page-section-get.md +36 -4
- package/docs/docs/cmd/spo/page/page-section-list.md +38 -3
- package/docs/docs/cmd/spo/page/page-set.md +10 -10
- package/docs/docs/cmd/spo/page/page-template-list.md +58 -1
- package/docs/docs/cmd/spo/page/page-text-add.md +9 -5
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +28 -8
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +35 -7
- package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +13 -9
- package/docs/docs/cmd/spo/propertybag/propertybag-set.md +13 -5
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +34 -2
- package/docs/docs/cmd/spo/report/report-activitypages.md +31 -2
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +35 -2
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +40 -3
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +43 -3
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +33 -2
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +32 -2
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +33 -2
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +32 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +10 -6
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +80 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +76 -2
- package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +9 -5
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +39 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +32 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +6 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +14 -74
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +6 -2
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +30 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +36 -2
- package/docs/docs/cmd/spo/web/web-retentionlabel-list.md +74 -0
- package/package.json +1 -1
- package/docs/docs/cmd/spo/list/list-label-set.md +0 -55
|
@@ -11,7 +11,7 @@ m365 spo page template list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site from which to retrieve available pages
|
|
14
|
+
: URL of the site from which to retrieve available pages.
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
@@ -22,3 +22,60 @@ Lists all page templates in the given site
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 spo page template list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
24
24
|
```
|
|
25
|
+
|
|
26
|
+
## Response
|
|
27
|
+
|
|
28
|
+
=== "JSON"
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
"AbsoluteUrl": "https://contoso.sharepoint.com/sites/SPDemo/SitePages/Templates/Company-Policy.aspx",
|
|
34
|
+
"AuthorByline": [
|
|
35
|
+
"i:0#.f|membership|user@contoso.com"
|
|
36
|
+
],
|
|
37
|
+
"BannerImageUrl": "https://cdn.hubblecontent.osi.office.net/m365content/publish/d22d83c8-3fb2-4168-8902-a29dc31e95b1/thumbnails/large.jpg?file=1131975775.jpg",
|
|
38
|
+
"BannerThumbnailUrl": "https://cdn.hubblecontent.osi.office.net/m365content/publish/d22d83c8-3fb2-4168-8902-a29dc31e95b1/thumbnails/large.jpg?file=1131975775.jpg",
|
|
39
|
+
"CallToAction": "",
|
|
40
|
+
"Categories": null,
|
|
41
|
+
"ContentTypeId": "0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5",
|
|
42
|
+
"Description": "Company policy are set in place to establish the rules of conduct within an organization, outlining the responsibilities of both employees and employers. The management of company policy and procedures aim to protect the rights of workers as well as…",
|
|
43
|
+
"DoesUserHaveEditPermission": true,
|
|
44
|
+
"FileName": "Company-Policy.aspx",
|
|
45
|
+
"FirstPublished": "0001-01-01T08:00:00Z",
|
|
46
|
+
"Id": 27,
|
|
47
|
+
"IsPageCheckedOutToCurrentUser": false,
|
|
48
|
+
"IsWebWelcomePage": false,
|
|
49
|
+
"Modified": "2022-11-26T10:51:12Z",
|
|
50
|
+
"PageLayoutType": "Article",
|
|
51
|
+
"Path": {
|
|
52
|
+
"DecodedUrl": "SitePages/Templates/Company-Policy.aspx"
|
|
53
|
+
},
|
|
54
|
+
"PromotedState": 0,
|
|
55
|
+
"Title": "Company Policy",
|
|
56
|
+
"TopicHeader": null,
|
|
57
|
+
"UniqueId": "06509101-7e2f-4467-afd2-97bad4a53ef2",
|
|
58
|
+
"Url": "SitePages/Templates/Company-Policy.aspx",
|
|
59
|
+
"Version": "0.1",
|
|
60
|
+
"VersionInfo": {
|
|
61
|
+
"LastVersionCreated": "0001-01-01T00:00:00-08:00",
|
|
62
|
+
"LastVersionCreatedBy": ""
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
=== "Text"
|
|
69
|
+
|
|
70
|
+
```text
|
|
71
|
+
FileName Id PageLayoutType Title Url
|
|
72
|
+
------------------- -- -------------- -------------- ----------------------------------------
|
|
73
|
+
Company-Policy.aspx 27 Article Company Policy SitePages/Templates/Company-Policy.aspx
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
=== "CSV"
|
|
77
|
+
|
|
78
|
+
```csv
|
|
79
|
+
Title,FileName,Id,PageLayoutType,Url
|
|
80
|
+
Company Policy,Company-Policy.aspx,27,Article,SitePages/Templates/Company-Policy.aspx
|
|
81
|
+
```
|
|
@@ -11,22 +11,22 @@ m365 spo page text add [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the page to add the text to is located
|
|
14
|
+
: URL of the site where the page to add the text to is located.
|
|
15
15
|
|
|
16
16
|
`-n, --pageName <pageName>`
|
|
17
|
-
: Name of the page to which add the text
|
|
17
|
+
: Name of the page to which add the text.
|
|
18
18
|
|
|
19
19
|
`-t, --text <text>`
|
|
20
20
|
: Text to add to the page
|
|
21
21
|
|
|
22
22
|
`--section [section]`
|
|
23
|
-
: Number of the section to which the text should be added (1 or higher)
|
|
23
|
+
: Number of the section to which the text should be added (1 or higher).
|
|
24
24
|
|
|
25
25
|
`--column [column]`
|
|
26
|
-
: Number of the column in which the text should be added (1 or higher)
|
|
26
|
+
: Number of the column in which the text should be added (1 or higher).
|
|
27
27
|
|
|
28
28
|
`--order [order]`
|
|
29
|
-
: Order of the text in the column
|
|
29
|
+
: Order of the text in the column.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
@@ -53,3 +53,7 @@ Add text at the beginning of the default column on a modern page
|
|
|
53
53
|
```sh
|
|
54
54
|
m365 spo page text add --webUrl https://contoso.sharepoint.com/sites/a-team --pageName page.aspx --text 'Hello world' --order 1
|
|
55
55
|
```
|
|
56
|
+
|
|
57
|
+
## Response
|
|
58
|
+
|
|
59
|
+
The command won't return a response on success.
|
|
@@ -11,44 +11,64 @@ m365 spo propertybag get [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site from which the property bag value should be retrieved
|
|
14
|
+
: The URL of the site from which the property bag value should be retrieved.
|
|
15
15
|
|
|
16
16
|
`-k, --key <key>`
|
|
17
|
-
: Key of the property for which the value should be retrieved. Case-sensitive
|
|
17
|
+
: Key of the property for which the value should be retrieved. Case-sensitive.
|
|
18
18
|
|
|
19
19
|
`-f, --folder [folder]`
|
|
20
|
-
: Site-relative URL of the folder from which to retrieve property bag value. Case-sensitive
|
|
20
|
+
: Site-relative URL of the folder from which to retrieve property bag value. Case-sensitive.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
|
-
Returns the value of the
|
|
26
|
+
Returns the value of the property from the property bag located in the given site
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
29
|
m365 spo propertybag get --webUrl https://contoso.sharepoint.com/sites/test --key key1
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Returns the value of the
|
|
32
|
+
Returns the value of the property from the property bag located in root folder of the given site
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 spo propertybag get --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder /
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Returns the value of the
|
|
38
|
+
Returns the value of the property from the property bag located in document library of the given site
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 spo propertybag get --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder '/Shared Documents'
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Returns the value of the
|
|
44
|
+
Returns the value of the property from the property bag located in folder in a document library located in the given site
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 spo propertybag get --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder '/Shared Documents/MyFolder'
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
Returns the value of the
|
|
50
|
+
Returns the value of the property from the property bag located in a list in the given site
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
m365 spo propertybag get --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder /Lists/MyList
|
|
54
54
|
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
=== "JSON"
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
"Approved Rejected Pending\\ Review"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
=== "Text"
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
Approved Rejected Pending\\ Review
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
=== "CSV"
|
|
71
|
+
|
|
72
|
+
```csv
|
|
73
|
+
Approved Rejected Pending\ Review
|
|
74
|
+
```
|
|
@@ -11,41 +11,69 @@ m365 spo propertybag list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site from which the property bag value should be retrieved
|
|
14
|
+
: The URL of the site from which the property bag value should be retrieved.
|
|
15
15
|
|
|
16
16
|
`-f, --folder [folder]`
|
|
17
|
-
: Site-relative URL of the folder from which to retrieve property bag value. Case-sensitive
|
|
17
|
+
: Site-relative URL of the folder from which to retrieve property bag value. Case-sensitive.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
21
21
|
## Examples
|
|
22
22
|
|
|
23
|
-
Return property bag values located in site
|
|
23
|
+
Return property bag values located in the given site
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Return property bag values located in site root folder
|
|
29
|
+
Return property bag values located in the given site root folder
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder /
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Return property bag values located in site document library
|
|
35
|
+
Return property bag values located in the given site document library
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder '/Shared Documents'
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Return property bag values located in folder in site document library
|
|
41
|
+
Return property bag values located in folder in the given site document library
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder '/Shared Documents/MyFolder'
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Return property bag values located in site list
|
|
47
|
+
Return property bag values located in the given site list
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --folder /Lists/MyList
|
|
51
51
|
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
=== "JSON"
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
[
|
|
59
|
+
{
|
|
60
|
+
"key": "vti_approvallevels",
|
|
61
|
+
"value": "Approved Rejected Pending\\ Review"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "Text"
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
key value
|
|
70
|
+
-------------------- -----------------------------------
|
|
71
|
+
vti_approvallevels Approved Rejected Pending\ Review
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
=== "CSV"
|
|
75
|
+
|
|
76
|
+
```csv
|
|
77
|
+
key,value
|
|
78
|
+
vti_approvallevels,Approved Rejected Pending\ Review
|
|
79
|
+
```
|
|
@@ -11,47 +11,51 @@ m365 spo propertybag remove [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site from which the property should be removed
|
|
14
|
+
: The URL of the site from which the property should be removed.
|
|
15
15
|
|
|
16
16
|
`-k, --key <key>`
|
|
17
|
-
: Key of the property to be removed. Case-sensitive
|
|
17
|
+
: Key of the property to be removed. Case-sensitive.
|
|
18
18
|
|
|
19
19
|
`-f, --folder [folder]`
|
|
20
|
-
: Site-relative URL of the folder from which to remove the property bag value
|
|
20
|
+
: Site-relative URL of the folder from which to remove the property bag value.
|
|
21
21
|
|
|
22
22
|
`--confirm`
|
|
23
|
-
: Don't prompt for confirming removal of property bag value
|
|
23
|
+
: Don't prompt for confirming removal of property bag value.
|
|
24
24
|
|
|
25
25
|
--8<-- "docs/cmd/_global.md"
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
Removes the value of the
|
|
29
|
+
Removes the value of the property from the property bag located the given site
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 spo propertybag remove --webUrl https://contoso.sharepoint.com/sites/test --key key1
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Removes the value of the
|
|
35
|
+
Removes the value of the property from the property bag located in the given site root folder
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo propertybag remove --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder / --confirm
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Removes the value of the
|
|
41
|
+
Removes the value of the property from the property bag located in the given site document library
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 spo propertybag remove --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder '/Shared Documents'
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Removes the value of the
|
|
47
|
+
Removes the value of the property from the property bag located in folder in the given site document library
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 spo propertybag remove --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder '/Shared Documents/MyFolder'
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Removes the value of the
|
|
53
|
+
Removes the value of the property from the property bag located in the given site list
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 spo propertybag remove --webUrl https://contoso.sharepoint.com/sites/test --key key1 --folder /Lists/MyList
|
|
57
57
|
```
|
|
58
|
+
|
|
59
|
+
## Response
|
|
60
|
+
|
|
61
|
+
The command won't return a response on success.
|
|
@@ -24,34 +24,42 @@ m365 spo propertybag set [options]
|
|
|
24
24
|
|
|
25
25
|
--8<-- "docs/cmd/_global.md"
|
|
26
26
|
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
SharePoint Online supports setting property bag values only in classic sites. On modern sites you will get a _Site has NoScript enabled, and setting property bag values is not supported_ error.
|
|
30
|
+
|
|
27
31
|
## Examples
|
|
28
32
|
|
|
29
|
-
Sets the value of the
|
|
33
|
+
Sets the value of the property in the property bag of the given site
|
|
30
34
|
|
|
31
35
|
```sh
|
|
32
36
|
m365 spo propertybag set --webUrl https://contoso.sharepoint.com/sites/test --key key1 --value value1
|
|
33
37
|
```
|
|
34
38
|
|
|
35
|
-
Sets the value of the
|
|
39
|
+
Sets the value of the property in the property bag of the root folder of the given site
|
|
36
40
|
|
|
37
41
|
```sh
|
|
38
42
|
m365 spo propertybag set --webUrl https://contoso.sharepoint.com/sites/test --key key1 --value value1 --folder /
|
|
39
43
|
```
|
|
40
44
|
|
|
41
|
-
Sets the value of the
|
|
45
|
+
Sets the value of the property in the property bag of a document library located in the given site
|
|
42
46
|
|
|
43
47
|
```sh
|
|
44
48
|
m365 spo propertybag set --webUrl https://contoso.sharepoint.com/sites/test --key key1 --value value1 --folder '/Shared Documents'
|
|
45
49
|
```
|
|
46
50
|
|
|
47
|
-
Sets the value of the
|
|
51
|
+
Sets the value of the property in the property bag of a folder in a document library located in the given site
|
|
48
52
|
|
|
49
53
|
```sh
|
|
50
54
|
m365 spo propertybag set --webUrl https://contoso.sharepoint.com/sites/test --key key1 --value value1 --folder '/Shared Documents/MyFolder'
|
|
51
55
|
```
|
|
52
56
|
|
|
53
|
-
Sets the value of the
|
|
57
|
+
Sets the value of the property in the property bag of a list in the given site
|
|
54
58
|
|
|
55
59
|
```sh
|
|
56
60
|
m365 spo propertybag set --webUrl https://contoso.sharepoint.com/sites/test --key key1 --value value1 --folder /Lists/MyList
|
|
57
61
|
```
|
|
62
|
+
|
|
63
|
+
## Response
|
|
64
|
+
|
|
65
|
+
The command won't return a response on success.
|
|
@@ -11,10 +11,10 @@ m365 spo report activityfilecounts [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-p, --period <period>`
|
|
14
|
-
: The length of time over which the report is aggregated. Supported values `D7
|
|
14
|
+
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
15
15
|
|
|
16
16
|
`-f, --outputFile [outputFile]`
|
|
17
|
-
: Path to the file where the report should be stored in
|
|
17
|
+
: Path to the file where the report should be stored in.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -37,3 +37,35 @@ Gets the number of unique, licensed users who interacted with files stored on Sh
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo report activityfilecounts --period D7 --output json > "activityfilecounts.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2022-11-26",
|
|
49
|
+
"Viewed Or Edited": "3",
|
|
50
|
+
"Synced": "",
|
|
51
|
+
"Shared Internally": "",
|
|
52
|
+
"Shared Externally": "",
|
|
53
|
+
"Report Date": "2022-11-26",
|
|
54
|
+
"Report Period": "7"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
=== "Text"
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
63
|
+
2022-11-26,3,,,,2022-11-26,7
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "CSV"
|
|
67
|
+
|
|
68
|
+
```csv
|
|
69
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
70
|
+
2022-11-26,3,,,,2022-11-26,7
|
|
71
|
+
```
|
|
@@ -11,10 +11,10 @@ m365 spo report activitypages [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-p, --period <period>`
|
|
14
|
-
: The length of time over which the report is aggregated. Supported values `D7
|
|
14
|
+
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
15
15
|
|
|
16
16
|
`-f, --outputFile [outputFile]`
|
|
17
|
-
: Path to the file where the report should be stored in
|
|
17
|
+
: Path to the file where the report should be stored in.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -37,3 +37,32 @@ Gets the number of unique pages visited by users for the last week and exports t
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo report activitypages --period D7 --output json > "activitypages.json"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"Report Refresh Date": "2022-11-26",
|
|
49
|
+
"Visited Page Count": "10",
|
|
50
|
+
"Report Date": "2022-11-26",
|
|
51
|
+
"Report Period": "7"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
=== "Text"
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
Report Refresh Date,Visited Page Count,Report Date,Report Period
|
|
60
|
+
2022-11-26,10,2022-11-26,7
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
=== "CSV"
|
|
64
|
+
|
|
65
|
+
```csv
|
|
66
|
+
Report Refresh Date,Visited Page Count,Report Date,Report Period
|
|
67
|
+
2022-11-26,10,2022-11-26,7
|
|
68
|
+
```
|
|
@@ -11,10 +11,10 @@ m365 spo report activityusercounts [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-p, --period <period>`
|
|
14
|
-
: The length of time over which the report is aggregated. Supported values `D7
|
|
14
|
+
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
15
15
|
|
|
16
16
|
`-f, --outputFile [outputFile]`
|
|
17
|
-
: Path to the file where the report should be stored in
|
|
17
|
+
: Path to the file where the report should be stored in.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
@@ -41,3 +41,36 @@ Gets the trend in the number of active users for the last week and exports the r
|
|
|
41
41
|
```sh
|
|
42
42
|
m365 spo report activityusercounts --period D7 --output json > "activityusercounts.json"
|
|
43
43
|
```
|
|
44
|
+
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
=== "JSON"
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
[
|
|
51
|
+
{
|
|
52
|
+
"Report Refresh Date": "2022-11-26",
|
|
53
|
+
"Visited Page": "1",
|
|
54
|
+
"Viewed Or Edited": "1",
|
|
55
|
+
"Synced": "",
|
|
56
|
+
"Shared Internally": "",
|
|
57
|
+
"Shared Externally": "",
|
|
58
|
+
"Report Date": "2022-11-26",
|
|
59
|
+
"Report Period": "7"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
=== "Text"
|
|
65
|
+
|
|
66
|
+
```text
|
|
67
|
+
Report Refresh Date,Visited Page,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
68
|
+
2022-11-26,1,1,,,,2022-11-26,7
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
=== "CSV"
|
|
72
|
+
|
|
73
|
+
```csv
|
|
74
|
+
Report Refresh Date,Visited Page,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
75
|
+
2022-11-26,1,1,,,,2022-11-26,7
|
|
76
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 spo report activityuserdetail [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-d, --date [date]`
|
|
14
|
-
: The date for which you would like to view the users who performed any activity. Supported date format is `YYYY-MM-DD`. Specify
|
|
14
|
+
: The date for which you would like to view the users who performed any activity. Supported date format is `YYYY-MM-DD`. Specify either `date` or `period`, but not both.
|
|
15
15
|
|
|
16
16
|
`-p, --period [period]`
|
|
17
|
-
: The length of time over which the report is aggregated. Supported values `D7
|
|
17
|
+
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`. Specify either `date` or `period`, but not both.
|
|
18
18
|
|
|
19
19
|
`-f, --outputFile [outputFile]`
|
|
20
|
-
: Path to the file where the Microsoft Teams device usage by user report should be stored in
|
|
20
|
+
: Path to the file where the Microsoft Teams device usage by user report should be stored in.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -50,3 +50,40 @@ Gets details about SharePoint activity by user for the last week and exports the
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 spo report activityuserdetail --period D7 --output json > "activityuserdetail.json"
|
|
52
52
|
```
|
|
53
|
+
|
|
54
|
+
## Response
|
|
55
|
+
|
|
56
|
+
=== "JSON"
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
[
|
|
60
|
+
{
|
|
61
|
+
"Report Refresh Date": "2022-11-26",
|
|
62
|
+
"User Principal Name": "Amanda.Powell@contoso.onmicrosoft.com",
|
|
63
|
+
"Is Deleted": "False",
|
|
64
|
+
"Deleted Date": "",
|
|
65
|
+
"Last Activity Date": "2022-09-08",
|
|
66
|
+
"Viewed Or Edited File Count": "0",
|
|
67
|
+
"Synced File Count": "0",
|
|
68
|
+
"Shared Internally File Count": "0",
|
|
69
|
+
"Shared Externally File Count": "0",
|
|
70
|
+
"Visited Page Count": "0",
|
|
71
|
+
"Assigned Products": "MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE",
|
|
72
|
+
"Report Period": "7"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
=== "Text"
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Visited Page Count,Assigned Products,Report Period
|
|
81
|
+
2022-11-26,Amanda.Powell@contoso.onmicrosoft.com,False,,2022-09-08,0,0,0,0,0,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,7
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
=== "CSV"
|
|
85
|
+
|
|
86
|
+
```csv
|
|
87
|
+
Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Visited Page Count,Assigned Products,Report Period
|
|
88
|
+
2022-11-26,Amanda.Powell@contoso.onmicrosoft.com,False,,2022-09-08,0,0,0,0,0,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,7
|
|
89
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 spo report siteusagedetail [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-d, --date [date]`
|
|
14
|
-
: The date for which you would like to view the users who performed any activity. Supported date format is `YYYY-MM-DD`. Specify
|
|
14
|
+
: The date for which you would like to view the users who performed any activity. Supported date format is `YYYY-MM-DD`. Specify either `date` or `period`, but not both.
|
|
15
15
|
|
|
16
16
|
`-p, --period [period]`
|
|
17
|
-
: The length of time over which the report is aggregated. Supported values `D7
|
|
17
|
+
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`. Specify either `date` or `period`, but not both.
|
|
18
18
|
|
|
19
19
|
`-f, --outputFile [outputFile]`
|
|
20
|
-
: Path to the file where the report should be stored in
|
|
20
|
+
: Path to the file where the report should be stored in.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
@@ -50,3 +50,43 @@ Gets details about SharePoint site usage for the last week and exports the repor
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 spo report siteusagedetail --period D7 --output json > "siteusagedetail.json"
|
|
52
52
|
```
|
|
53
|
+
|
|
54
|
+
## Response
|
|
55
|
+
|
|
56
|
+
=== "JSON"
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
[
|
|
60
|
+
{
|
|
61
|
+
"Report Refresh Date": "2022-11-26",
|
|
62
|
+
"Site Id": "002caf24-2672-4bc4-bc41-2811d5dba62c",
|
|
63
|
+
"Site URL": "https://contoso.sharepoint.com/sites/ElMontePythons",
|
|
64
|
+
"Owner Display Name": "El Monte Pythons Owners",
|
|
65
|
+
"Is Deleted": "False",
|
|
66
|
+
"Last Activity Date": "",
|
|
67
|
+
"File Count": "2",
|
|
68
|
+
"Active File Count": "0",
|
|
69
|
+
"Page View Count": "0",
|
|
70
|
+
"Visited Page Count": "0",
|
|
71
|
+
"Storage Used (Byte)": "1475974",
|
|
72
|
+
"Storage Allocated (Byte)": "27487790694400",
|
|
73
|
+
"Root Web Template": "Group",
|
|
74
|
+
"Owner Principal Name": "ElMontePythons@contoso.onmicrosoft.com",
|
|
75
|
+
"Report Period": "7"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
=== "Text"
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
Report Refresh Date,Site Id,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Page View Count,Visited Page Count,Storage Used (Byte),Storage Allocated (Byte),Root Web Template,Owner Principal Name,Report Period
|
|
84
|
+
2022-11-26,002caf24-2672-4bc4-bc41-2811d5dba62c,https://contoso.sharepoint.com/sites/ElMontePythons,El Monte Pythons Owners,False,,2,0,0,0,1475974,27487790694400,Group,ElMontePythons@contoso.onmicrosoft.com,7
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
=== "CSV"
|
|
88
|
+
|
|
89
|
+
```csv
|
|
90
|
+
Report Refresh Date,Site Id,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Page View Count,Visited Page Count,Storage Used (Byte),Storage Allocated (Byte),Root Web Template,Owner Principal Name,Report Period
|
|
91
|
+
2022-11-26,002caf24-2672-4bc4-bc41-2811d5dba62c,https://contoso.sharepoint.com/sites/ElMontePythons,El Monte Pythons Owners,False,,2,0,0,0,1475974,27487790694400,Group,ElMontePythons@contoso.onmicrosoft.com,7
|
|
92
|
+
```
|