@pnp/cli-microsoft365 6.8.0-beta.62006d7 → 6.8.0-beta.9f8a015
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/.mocharc.json +1 -0
- package/README.md +6 -1
- package/dist/m365/spo/commands/file/file-checkin.js +8 -3
- package/dist/m365/spo/commands/file/file-checkout.js +8 -3
- package/dist/m365/spo/commands/file/file-copy.js +4 -4
- package/dist/m365/spo/commands/file/file-get.js +3 -1
- package/dist/m365/spo/commands/file/file-list.js +2 -2
- package/dist/m365/spo/commands/file/file-move.js +6 -7
- package/dist/m365/spo/commands/file/file-remove.js +3 -12
- package/dist/m365/spo/commands/file/file-rename.js +3 -3
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +2 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -3
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +2 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +2 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +4 -2
- package/dist/m365/spo/commands/file/file-version-clear.js +3 -1
- package/dist/m365/spo/commands/file/file-version-get.js +3 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +3 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +3 -1
- package/dist/m365/spo/commands/folder/folder-copy.js +4 -4
- package/dist/m365/spo/commands/folder/folder-get.js +5 -2
- package/dist/m365/spo/commands/folder/folder-move.js +3 -2
- package/dist/m365/spo/commands/folder/folder-rename.js +5 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +46 -1
- package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
- package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
- package/dist/m365/spo/commands.js +2 -0
- package/dist/utils/spo.js +1 -1
- package/docs/docs/cmd/cli/cli-consent.md +6 -0
- package/docs/docs/cmd/cli/cli-doctor.md +17 -0
- package/docs/docs/cmd/cli/cli-issue.md +6 -0
- package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
- package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
- package/docs/docs/cmd/cli/config/config-get.md +6 -0
- package/docs/docs/cmd/login.md +1 -1
- package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
- package/docs/docs/cmd/spo/file/file-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.md +1 -1
- package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
- package/docs/docs/cmd/spo/file/file-copy.md +1 -1
- package/docs/docs/cmd/spo/file/file-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-move.md +3 -3
- package/docs/docs/cmd/spo/file/file-rename.md +1 -1
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.md +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.md +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.md +2 -2
- package/docs/docs/cmd/spo/file/file-version-get.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.md +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-add.md +9 -3
- package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-list.md +11 -11
- package/docs/docs/cmd/spo/folder/folder-move.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-remove.md +7 -7
- package/docs/docs/cmd/spo/folder/folder-rename.md +11 -5
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +4 -4
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
- package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
- package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
- package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
- package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
- package/docs/docs/cmd/spo/page/page-copy.md +35 -0
- package/docs/docs/cmd/spo/page/page-get.md +39 -0
- package/docs/docs/cmd/spo/page/page-list.md +53 -0
- package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
- package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
- package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ m365 spo file version get [options]
|
|
|
17
17
|
: Label of version which will be retrieved
|
|
18
18
|
|
|
19
19
|
`-u, --fileUrl [fileUrl]`
|
|
20
|
-
: The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
20
|
+
: The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
21
21
|
|
|
22
22
|
`-i, --fileId [fileId]`
|
|
23
23
|
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
@@ -14,7 +14,7 @@ m365 spo file version list [options]
|
|
|
14
14
|
: The URL of the site where the file is located
|
|
15
15
|
|
|
16
16
|
`-u, --fileUrl [fileUrl]`
|
|
17
|
-
: The
|
|
17
|
+
: The server- or site-relative URL of the file. Specify either `fileUrl` or `fileId` but not both
|
|
18
18
|
|
|
19
19
|
`-i, --fileId [fileId]`
|
|
20
20
|
: The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both
|
|
@@ -17,7 +17,7 @@ m365 spo file version remove [options]
|
|
|
17
17
|
: Label of version which will be removed
|
|
18
18
|
|
|
19
19
|
`-u, --fileUrl [fileUrl]`
|
|
20
|
-
: The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
20
|
+
: The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
21
21
|
|
|
22
22
|
`-i, --fileId [fileId]`
|
|
23
23
|
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
@@ -17,7 +17,7 @@ m365 spo file version restore [options]
|
|
|
17
17
|
: Label of version which will be restored
|
|
18
18
|
|
|
19
19
|
`-u, --fileUrl [fileUrl]`
|
|
20
|
-
: The server-relative URL of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
|
|
20
|
+
: The server- or site-relative URL of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
|
|
21
21
|
|
|
22
22
|
`-i, --fileId [fileId]`
|
|
23
23
|
: The UniqueId (GUID) of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
|
|
@@ -11,10 +11,10 @@ m365 spo folder add [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site where the folder will be created
|
|
14
|
+
: The URL of the site where the folder will be created.
|
|
15
15
|
|
|
16
16
|
`-p, --parentFolderUrl <parentFolderUrl>`
|
|
17
|
-
:
|
|
17
|
+
: The server- or site-relative URL of the parent folder.
|
|
18
18
|
|
|
19
19
|
`-n, --name <name>`
|
|
20
20
|
: Name of the new folder to be created
|
|
@@ -23,8 +23,14 @@ m365 spo folder add [options]
|
|
|
23
23
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
|
-
Creates folder in a
|
|
26
|
+
Creates folder in a specific library within the site
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
29
|
m365 spo folder add --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/Shared Documents' --name 'My Folder Name'
|
|
30
30
|
```
|
|
31
|
+
|
|
32
|
+
Creates folder in a specific folder within the site
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo folder add --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/sites/project-x/Shared Documents/Reports' --name 'Financial reports'
|
|
36
|
+
```
|
|
@@ -14,7 +14,7 @@ m365 spo folder copy [options]
|
|
|
14
14
|
: The URL of the site where the folder is located
|
|
15
15
|
|
|
16
16
|
`-s, --sourceUrl <sourceUrl>`
|
|
17
|
-
:
|
|
17
|
+
: The server- or site-relative URL of the folder to copy
|
|
18
18
|
|
|
19
19
|
`-t, --targetUrl <targetUrl>`
|
|
20
20
|
: Server-relative URL where to copy the folder
|
|
@@ -11,13 +11,13 @@ m365 spo folder get [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site where the folder is located
|
|
14
|
+
: The URL of the site where the folder is located.
|
|
15
15
|
|
|
16
16
|
`-f, --url [url]`
|
|
17
|
-
: The server-relative URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both
|
|
17
|
+
: The server- or site-relative URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both.
|
|
18
18
|
|
|
19
19
|
`-i, --id [id]`
|
|
20
|
-
: The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both
|
|
20
|
+
: The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both.
|
|
21
21
|
|
|
22
22
|
`--withPermissions`
|
|
23
23
|
: Set if you want to return associated roles and permissions of the folder.
|
|
@@ -32,20 +32,20 @@ If root level folder is passed, you will get a `Please ensure the specified fold
|
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
Get folder properties for folder with
|
|
35
|
+
Get folder properties for a folder with a specific site-relative URL
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --url "/Shared Documents"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Get folder properties for folder with id (UniqueId)
|
|
41
|
+
Get folder properties for a folder with a specific id (UniqueId)
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --id "b2307a39-e878-458b-bc90-03bc578531d6"
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Get folder properties for folder with server-relative
|
|
47
|
+
Get folder properties with permissions for a folder with server-relative URL
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
|
-
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/test --url "Shared Documents/Test1" --withPermissions
|
|
50
|
+
m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/test --url "/sites/test/Shared Documents/Test1" --withPermissions
|
|
51
51
|
```
|
|
@@ -11,10 +11,10 @@ m365 spo folder list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site where the folders to list are located
|
|
14
|
+
: The URL of the site where the folders to list are located.
|
|
15
15
|
|
|
16
16
|
`-p, --parentFolderUrl <parentFolderUrl>`
|
|
17
|
-
:
|
|
17
|
+
: The server- or site-relative URL of the parent folder.
|
|
18
18
|
|
|
19
19
|
`-f, --fields [fields]`
|
|
20
20
|
: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified and json output is requested.
|
|
@@ -23,13 +23,13 @@ m365 spo folder list [options]
|
|
|
23
23
|
: OData filter to use to query the list of folders with.
|
|
24
24
|
|
|
25
25
|
`-r, --recursive`
|
|
26
|
-
: Set to retrieve nested folders
|
|
26
|
+
: Set to retrieve nested folders.
|
|
27
27
|
|
|
28
28
|
--8<-- "docs/cmd/_global.md"
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Gets list of folders under a parent folder
|
|
32
|
+
Gets list of folders under a parent folder with site-relative URL
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/Shared Documents'
|
|
@@ -38,7 +38,7 @@ m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --p
|
|
|
38
38
|
Gets recursive list of folders under a specific folder on a specific site
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/Shared Documents' --recursive
|
|
41
|
+
m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/sites/project-x/Shared Documents' --recursive
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Return a filtered list of folders and only return the list item ID
|
|
@@ -59,7 +59,7 @@ m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --p
|
|
|
59
59
|
"ItemCount": 9,
|
|
60
60
|
"Name": "Folder A",
|
|
61
61
|
"ProgID": null,
|
|
62
|
-
"ServerRelativeUrl": "/Shared Documents/Folder A",
|
|
62
|
+
"ServerRelativeUrl": "/sites/project-x/Shared Documents/Folder A",
|
|
63
63
|
"TimeCreated": "2022-04-26T12:30:56Z",
|
|
64
64
|
"TimeLastModified": "2022-04-26T12:50:14Z",
|
|
65
65
|
"UniqueId": "20523746-971b-4488-aa6d-b45d645f61c5",
|
|
@@ -71,16 +71,16 @@ m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --p
|
|
|
71
71
|
=== "Text"
|
|
72
72
|
|
|
73
73
|
```text
|
|
74
|
-
Name
|
|
75
|
-
|
|
76
|
-
Folder A
|
|
74
|
+
Name ServerRelativeUrl
|
|
75
|
+
-------- ------------------------------------------
|
|
76
|
+
Folder A /sites/project-x/Shared Documents/Folder A
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
=== "CSV"
|
|
80
80
|
|
|
81
81
|
```csv
|
|
82
82
|
Name,ServerRelativeUrl
|
|
83
|
-
Folder A,/Shared Documents/Folder A
|
|
83
|
+
Folder A,/sites/project-x/Shared Documents/Folder A
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
=== "Markdown"
|
|
@@ -99,7 +99,7 @@ m365 spo folder list --webUrl https://contoso.sharepoint.com/sites/project-x --p
|
|
|
99
99
|
ItemCount | 9
|
|
100
100
|
Name | Folder A
|
|
101
101
|
ProgID | null
|
|
102
|
-
ServerRelativeUrl | /Shared Documents/Folder A
|
|
102
|
+
ServerRelativeUrl | /sites/project-x/Shared Documents/Folder A
|
|
103
103
|
TimeCreated | 2022-04-26T12:30:56Z
|
|
104
104
|
TimeLastModified | 2022-04-26T12:50:14Z
|
|
105
105
|
UniqueId | 20523746-971b-4488-aa6d-b45d645f61c5
|
|
@@ -14,7 +14,7 @@ m365 spo folder move [options]
|
|
|
14
14
|
: The URL of the site where the folder is located
|
|
15
15
|
|
|
16
16
|
`-s, --sourceUrl <sourceUrl>`
|
|
17
|
-
:
|
|
17
|
+
: The server- or site-relative URL of the folder to move
|
|
18
18
|
|
|
19
19
|
`-t, --targetUrl <targetUrl>`
|
|
20
20
|
: Server-relative URL where to move the folder
|
|
@@ -11,16 +11,16 @@ m365 spo folder remove [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site where the folder to be deleted is located
|
|
14
|
+
: The URL of the site where the folder to be deleted is located.
|
|
15
15
|
|
|
16
16
|
`-f, --url <url>`
|
|
17
|
-
:
|
|
17
|
+
: The server- or site-relative URL of the folder to delete.
|
|
18
18
|
|
|
19
19
|
`--recycle`
|
|
20
|
-
: Recycles the folder instead of actually deleting it
|
|
20
|
+
: Recycles the folder instead of actually deleting it.
|
|
21
21
|
|
|
22
22
|
`--confirm`
|
|
23
|
-
: Don't prompt for confirming deleting the folder
|
|
23
|
+
: Don't prompt for confirming deleting the folder.
|
|
24
24
|
|
|
25
25
|
--8<-- "docs/cmd/_global.md"
|
|
26
26
|
|
|
@@ -30,14 +30,14 @@ The `spo folder remove` command will remove folder only if it is empty. If the f
|
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Remove a folder with a specific site-relative URL
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
36
|
m365 spo folder remove --webUrl https://contoso.sharepoint.com/sites/project-x --url '/Shared Documents/My Folder'
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Remove a folder with a specific server relative URL to the site recycle bin
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
m365 spo folder remove --webUrl https://contoso.sharepoint.com/sites/project-x --url '/Shared Documents/My Folder' --recycle
|
|
42
|
+
m365 spo folder remove --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/Shared Documents/My Folder' --recycle
|
|
43
43
|
```
|
|
@@ -11,20 +11,26 @@ m365 spo folder rename [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: The URL of the site where the folder to be renamed is located
|
|
14
|
+
: The URL of the site where the folder to be renamed is located.
|
|
15
15
|
|
|
16
16
|
`-f, --url <url>`
|
|
17
|
-
:
|
|
17
|
+
: The server- or site-relative URL of the folder (including the folder).
|
|
18
18
|
|
|
19
|
-
`-n, --name
|
|
20
|
-
: New name for the target folder
|
|
19
|
+
`-n, --name <name>`
|
|
20
|
+
: New name for the target folder.
|
|
21
21
|
|
|
22
22
|
--8<-- "docs/cmd/_global.md"
|
|
23
23
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
|
-
Renames a folder with site-relative URL
|
|
26
|
+
Renames a folder with a specific site-relative URL
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
29
|
m365 spo folder rename --webUrl https://contoso.sharepoint.com/sites/project-x --url '/Shared Documents/My Folder 1' --name 'My Folder 2'
|
|
30
30
|
```
|
|
31
|
+
|
|
32
|
+
Renames a folder with a specific server-relative URL
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo folder rename --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/Shared Documents/My Folder 1' --name 'My Folder 2'
|
|
36
|
+
```
|
|
@@ -11,10 +11,10 @@ m365 spo folder retentionlabel ensure [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the
|
|
14
|
+
: URL of the site where the retention label from a file to apply is located
|
|
15
15
|
|
|
16
16
|
`--folderUrl [folderUrl]`
|
|
17
|
-
: The
|
|
17
|
+
: The server- or site-relative URL of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
|
|
18
18
|
|
|
19
19
|
`i, --folderId [folderId]`
|
|
20
20
|
: The UniqueId (GUID) of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
|
|
@@ -26,7 +26,7 @@ m365 spo folder retentionlabel ensure [options]
|
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
You can also use [spo listitem retentionlabel remove](./../../../cmd/spo//listitem/listitem-retentionlabel-remove.md) for removing the
|
|
29
|
+
You can also use [spo listitem retentionlabel remove](./../../../cmd/spo//listitem/listitem-retentionlabel-remove.md) for removing the retention label from a listitem.
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
32
32
|
|
|
@@ -14,7 +14,7 @@ m365 spo folder retentionlabel remove [options]
|
|
|
14
14
|
: The url of the web.
|
|
15
15
|
|
|
16
16
|
`--folderUrl [folderUrl]`
|
|
17
|
-
: The
|
|
17
|
+
: The server- or site-relative URL of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
|
|
18
18
|
|
|
19
19
|
`-i, --folderId [folderId]`
|
|
20
20
|
: The UniqueId (GUID) of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
|
|
@@ -14,7 +14,7 @@ m365 spo folder roleinheritance break [options]
|
|
|
14
14
|
: URL of the site where the folder is located.
|
|
15
15
|
|
|
16
16
|
`-f, --folderUrl <folderUrl>`
|
|
17
|
-
: The
|
|
17
|
+
: The server- or site-relative URL of the folder.
|
|
18
18
|
|
|
19
19
|
`-c, --clearExistingPermissions`
|
|
20
20
|
: Clear all existing permissions from the folder.
|
|
@@ -14,7 +14,7 @@ m365 spo folder roleinheritance reset [options]
|
|
|
14
14
|
: URL of the site where the folder is located.
|
|
15
15
|
|
|
16
16
|
`-f, --folderUrl <folderUrl>`
|
|
17
|
-
: The site-relative URL of the folder.
|
|
17
|
+
: The server- or site-relative URL of the folder.
|
|
18
18
|
|
|
19
19
|
`--confirm`
|
|
20
20
|
: Don't prompt for confirmation to reset role inheritance of the folder.
|
|
@@ -23,19 +23,19 @@ m365 spo folder roleinheritance reset [options]
|
|
|
23
23
|
|
|
24
24
|
## Examples
|
|
25
25
|
|
|
26
|
-
Reset inheritance of folder with site-relative
|
|
26
|
+
Reset inheritance of folder with a specific site-relative URL
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
29
|
m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "Shared Documents/TestFolder"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Reset inheritance of folder with server-relative
|
|
32
|
+
Reset inheritance of folder with a specific server-relative URL. It will **not** prompt for confirmation before resetting.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents/TestFolder" --confirm
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Reset inheritance of the specified root folder for the library with
|
|
38
|
+
Reset inheritance of the specified root folder for the library with a specific server-relative URL. It will **not** prompt for confirmation before resetting.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents" --confirm
|
|
@@ -59,6 +59,19 @@ m365 spo orgassetslibrary list
|
|
|
59
59
|
/,"[{""DisplayName"":""Site Assets"",""LibraryUrl"":""SiteAssets"",""ListId"":""/Guid(0a327c3f-ba82-4b19-bfa1-628405539420)/"",""ThumbnailUrl"":null}]"
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
=== "Markdown"
|
|
63
|
+
|
|
64
|
+
```md
|
|
65
|
+
# spo orgassetslibrary list
|
|
66
|
+
|
|
67
|
+
Date: 5/1/2023
|
|
68
|
+
|
|
69
|
+
## /
|
|
70
|
+
|
|
71
|
+
Property | Value
|
|
72
|
+
---------|-------
|
|
73
|
+
Url | /
|
|
74
|
+
```
|
|
62
75
|
### Response when no library is assigned as asset library
|
|
63
76
|
|
|
64
77
|
=== "Text"
|
|
@@ -66,3 +79,9 @@ m365 spo orgassetslibrary list
|
|
|
66
79
|
```text
|
|
67
80
|
No libraries in Organization Assets
|
|
68
81
|
```
|
|
82
|
+
|
|
83
|
+
=== "Markdown"
|
|
84
|
+
|
|
85
|
+
```md
|
|
86
|
+
No libraries in Organization Assets
|
|
87
|
+
```
|
|
@@ -52,3 +52,15 @@ m365 spo orgassetslibrary remove --libraryUrl "/sites/branding/assets" --confirm
|
|
|
52
52
|
```csv
|
|
53
53
|
IsNull
|
|
54
54
|
```
|
|
55
|
+
|
|
56
|
+
=== "Markdown"
|
|
57
|
+
|
|
58
|
+
```md
|
|
59
|
+
# spo orgassetslibrary remove --libraryUrl "https://contoso.sharepoint.com/sites/branding/SiteAssets" --confirm "true"
|
|
60
|
+
|
|
61
|
+
Date: 5/1/2023
|
|
62
|
+
|
|
63
|
+
Property | Value
|
|
64
|
+
---------|-------
|
|
65
|
+
IsNull | false
|
|
66
|
+
```
|
|
@@ -98,3 +98,18 @@ m365 spo page column get --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
|
98
98
|
factor,order,controls
|
|
99
99
|
12,1,7558d804-0334-49ca-b14a-53870cf6caae (Bing Maps)
|
|
100
100
|
```
|
|
101
|
+
|
|
102
|
+
=== "Markdown"
|
|
103
|
+
|
|
104
|
+
```md
|
|
105
|
+
# spo page column get --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx" --section "1" --column "1"
|
|
106
|
+
|
|
107
|
+
Date: 5/1/2023
|
|
108
|
+
|
|
109
|
+
Property | Value
|
|
110
|
+
---------|-------
|
|
111
|
+
factor | 6
|
|
112
|
+
order | 1
|
|
113
|
+
dataVersion | 1.0
|
|
114
|
+
jsonData | {"displayMode":2,"position":{"sectionFactor":6,"sectionIndex":1,"zoneIndex":1}}
|
|
115
|
+
```
|
|
@@ -64,3 +64,19 @@ m365 spo page column list --webUrl https://contoso.sharepoint.com/sites/team-a -
|
|
|
64
64
|
factor,order,controls
|
|
65
65
|
12,1,1
|
|
66
66
|
```
|
|
67
|
+
|
|
68
|
+
=== "Markdown"
|
|
69
|
+
|
|
70
|
+
```md
|
|
71
|
+
# spo page column list --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx" --section "1"
|
|
72
|
+
|
|
73
|
+
Date: 5/1/2023
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
factor | 6
|
|
78
|
+
order | 1
|
|
79
|
+
dataVersion | 1.0
|
|
80
|
+
jsonData | {"displayMode":2,"position":{"sectionFactor":6,"sectionIndex":1,"zoneIndex":1}}
|
|
81
|
+
controls | 1
|
|
82
|
+
```
|
|
@@ -99,3 +99,21 @@ m365 spo page control get --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl htt
|
|
|
99
99
|
id,type,title,controlType,order,controlData
|
|
100
100
|
7558d804-0334-49ca-b14a-53870cf6caae,Client-side web part,Bing Maps,3,1,"{""controlType"":3,""displayMode"":2,""id"":""7558d804-0334-49ca-b14a-53870cf6caae"",""position"":{""controlIndex"":1,""sectionIndex"":1,""zoneIndex"":1,""sectionFactor"":12,""layoutIndex"":1},""webPartId"":""e377ea37-9047-43b9-8cdb-a761be2f8e09"",""emphasis"":{},""webPartData"":{""dataVersion"":""1.0"",""description"":""Display a location on a map using Bing Maps."",""id"":""e377ea37-9047-43b9-8cdb-a761be2f8e09"",""instanceId"":""7558d804-0334-49ca-b14a-53870cf6caae"",""properties"":{""pushPins"":[],""maxNumberOfPushPins"":1,""shouldShowPushPinTitle"":true,""zoomLevel"":12,""mapType"":""road""},""title"":""Bing Maps"",""serverProcessedContent"":{""htmlStrings"":{},""searchablePlainTexts"":{},""imageSources"":{},""links"":{}}}}"
|
|
101
101
|
```
|
|
102
|
+
|
|
103
|
+
=== "Markdown"
|
|
104
|
+
|
|
105
|
+
```md
|
|
106
|
+
# spo page control get --id "f85f8dfa-9052-4be8-8954-8cdafe811b97" --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx"
|
|
107
|
+
|
|
108
|
+
Date: 5/1/2023
|
|
109
|
+
|
|
110
|
+
## Bing Maps (f85f8dfa-9052-4be8-8954-8cdafe811b97)
|
|
111
|
+
|
|
112
|
+
Property | Value
|
|
113
|
+
---------|-------
|
|
114
|
+
id | f85f8dfa-9052-4be8-8954-8cdafe811b97
|
|
115
|
+
type | Client-side web part
|
|
116
|
+
title | Bing Maps
|
|
117
|
+
controlType | 3
|
|
118
|
+
order | 1
|
|
119
|
+
```
|
|
@@ -95,3 +95,21 @@ m365 spo page control list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
95
95
|
id,type,title
|
|
96
96
|
7558d804-0334-49ca-b14a-53870cf6caae,Client-side web part,Bing Maps
|
|
97
97
|
```
|
|
98
|
+
|
|
99
|
+
=== "Markdown"
|
|
100
|
+
|
|
101
|
+
```md
|
|
102
|
+
# spo page control list --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx"
|
|
103
|
+
|
|
104
|
+
Date: 5/1/2023
|
|
105
|
+
|
|
106
|
+
## Bing Maps (f85f8dfa-9052-4be8-8954-8cdafe811b97)
|
|
107
|
+
|
|
108
|
+
Property | Value
|
|
109
|
+
---------|-------
|
|
110
|
+
id | f85f8dfa-9052-4be8-8954-8cdafe811b97
|
|
111
|
+
type | Client-side web part
|
|
112
|
+
title | Bing Maps
|
|
113
|
+
controlType | 3
|
|
114
|
+
order | 1
|
|
115
|
+
```
|
|
@@ -114,3 +114,38 @@ m365 spo page copy --webUrl https://contoso.sharepoint.com/sites/team-a --source
|
|
|
114
114
|
Id,PageLayoutType,Title,Url
|
|
115
115
|
25,Article,new-page,SitePages/home-copy.aspx
|
|
116
116
|
```
|
|
117
|
+
|
|
118
|
+
=== "Markdown"
|
|
119
|
+
|
|
120
|
+
```md
|
|
121
|
+
# spo page copy --webUrl "https://contoso.sharepoint.com/sites/team-a" --sourceName "home.aspx" --targetUrl "home-copy.aspx" --overwrite "true"
|
|
122
|
+
|
|
123
|
+
Date: 5/1/2023
|
|
124
|
+
|
|
125
|
+
## Home (9)
|
|
126
|
+
|
|
127
|
+
Property | Value
|
|
128
|
+
---------|-------
|
|
129
|
+
AbsoluteUrl | https://contoso.sharepoint.com/sites/team-a/SitePages/home-copy.aspx
|
|
130
|
+
BannerImageUrl | https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/51.39929962158204,-0.256799995899204/12?mapSize=512,512&key=AobmrKIjQInHa8zf5IjtCu3zVgIZFewRhY9M8NUzpYfvMdO2RKDO2eKI6uRFrP6b
|
|
131
|
+
BannerThumbnailUrl | https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/51.39929962158204,-0.256799995899204/12?mapSize=512,512&key=AobmrKIjQInHa8zf5IjtCu3zVgIZFewRhY9M8NUzpYfvMdO2RKDO2eKI6uRFrP6b
|
|
132
|
+
CallToAction |
|
|
133
|
+
ContentTypeId | 0x0101009D1CB255DA76424F860D91F20E6C41180015C00F3A91848C479243E57A8317E76E
|
|
134
|
+
DoesUserHaveEditPermission | true
|
|
135
|
+
FileName | home-copy.aspx
|
|
136
|
+
FirstPublished | 0001-01-01T08:00:00Z
|
|
137
|
+
Id | 9
|
|
138
|
+
IsPageCheckedOutToCurrentUser | false
|
|
139
|
+
IsWebWelcomePage | false
|
|
140
|
+
Modified | 2023-05-01T21:34:27Z
|
|
141
|
+
PageLayoutType | Home
|
|
142
|
+
PromotedState | 0
|
|
143
|
+
Title | Home
|
|
144
|
+
UniqueId | 75df1712-dfb4-497c-8fd7-8a5d4476df66
|
|
145
|
+
Url | SitePages/home-copy.aspx
|
|
146
|
+
Version | 0.1
|
|
147
|
+
AlternativeUrlMap | {"UserPhotoAspx":"https://contoso.sharepoint.com/\_vti\_bin/afdcache.ashx/\_userprofile/userphoto.jpg?\_oat\_=1683047510\_65dfacc308ae7abe460ae6e6ce6943d0d218fd9232a69a03fee352b2dbaead4e&P1=1682980536&P2=-64532418&P3=1&P4=itPWLPx8ka8ZYUpPbQSywAH8cSvgj2M7otD6geZ26NUbROmU99rFYzmdBccd7PCiYfzz53QfSTzDpPE0iaxF0OMY0oAYpHVrz5pDUU3k8Se9vXh%2bzaUnJtIJPlp3boTlzcbs6D%2fjown%2bPT%2bTMgEyRGqVjwt8QieNK3z1UNrTmkz8VYD3fmPyVpQMKtZ33o8K8cTsGl11qw6DghlKTP2odBEBSCdBfiJd00z%2fbxvJXi7on0x6RyzYMJbAUXgdBCfDS2QnU8bVWE83aBYHm%2bKo6YZllCM%2bAGQ%2bEfrMDBJDsQEKWryy4gQdkF2JVIaq%2fx0BbRSmVnQKkPVM3iqV8QWyRw%3d%3d","MediaTAThumbnailPathUrl":"https://ukwest1-mediap.svc.ms/transform/thumbnail?provider=spo&inputFormat={.fileType}&cs=UEFHRVN8U1BP&docid={.spHost}/\_api/v2.0/sharePoint:{.resourceUrl}:/driveItem&w={.widthValue}&oauth\_token=bearer%20{.oauthToken}","MediaTAThumbnailHostUrl":"https://ukwest1-mediap.svc.ms","AFDCDNEnabled":"True","CurrentSiteCDNPolicy":"True","PublicCDNEnabled":"True","PrivateCDNEnabled":"True"}
|
|
148
|
+
CanvasContent1 | [{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":1,"controlIndex":1,"sectionFactor":6},"controlType":3,"id":"f85f8dfa-9052-4be8-8954-8cdafe811b97","webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","reservedHeight":528,"reservedWidth":570,"addedFromPersistedData":true,"webPartData":{"id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"f85f8dfa-9052-4be8-8954-8cdafe811b97","title":"Bing Maps","description":"Display a location on a map using Bing Maps.","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road","center":{"latitude":51.399299621582038,"longitude":-0.256799995899204,"altitude":0,"altitudeReference":-1}},"containsDynamicDataSource":false}},{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":2,"controlIndex":1,"sectionFactor":6},"id":"emptySection","addedFromPersistedData":true},{"controlType":3,"webPartId":"8c88f208-6c77-4bdb-86a0-0c47b4316588","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1,"sectionFactor":8},"id":"71eab4c9-8340-4706-96b9-331527890975","addedFromPersistedData":true,"reservedHeight":406,"reservedWidth":776,"webPartData":{"id":"8c88f208-6c77-4bdb-86a0-0c47b4316588","instanceId":"71eab4c9-8340-4706-96b9-331527890975","title":"News","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{"baseUrl":"/sites/Company311"}},"dataVersion":"1.12","properties":{"layoutId":"FeaturedNews","dataProviderId":"news","emptyStateHelpItemsCount":"1","showChrome":true,"carouselSettings":{"autoplay":false,"autoplaySpeed":5,"dots":true,"lazyLoad":true},"showNewsMetadata":{"showSocialActions":false,"showAuthor":true,"showDate":true},"newsDataSourceProp":1,"carouselHeroWrapperComponentId":"","prefetchCount":4,"filters":[{"filterType":1,"value":"","values":[]}],"newsSiteList":[],"renderItemsSliderValue":4,"layoutComponentId":"","webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f","filterKQLQuery":""},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1.5,"sectionFactor":8,"layoutIndex":1},"controlType":3,"id":"dcfa91cf-96fa-47cd-9363-7f2fea373526","webPartId":"490d7c76-1824-45b2-9de3-676421c997fa","reservedHeight":326,"reservedWidth":776,"addedFromPersistedData":true,"webPartData":{"id":"490d7c76-1824-45b2-9de3-676421c997fa","instanceId":"dcfa91cf-96fa-47cd-9363-7f2fea373526","title":"Embed","description":"Embed content from other sites such as Sway, YouTube, Vimeo, and more","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.2","properties":{"embedCode":"","cachedEmbedCode":"","shouldScaleWidth":true,"tempState":{},"thumbnailUrl":""},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":2,"sectionFactor":8},"id":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","addedFromPersistedData":true,"reservedHeight":939,"reservedWidth":776,"webPartData":{"id":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","instanceId":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","title":"Site activity","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"maxItems":9},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":0.5,"sectionFactor":4,"layoutIndex":1},"controlType":3,"id":"9d1fed5d-9274-4a82-8891-58bbc937c92b","webPartId":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","addedFromPersistedData":true,"reservedHeight":449,"reservedWidth":364,"webPartData":{"id":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","instanceId":"9d1fed5d-9274-4a82-8891-58bbc937c92b","title":"Twitter","description":"Display a Twitter feed","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"displayAs":"list","displayHeader":false,"displayFooter":false,"displayBorders":true,"limit":"3","term":"@microsoft","widthSlider":100,"title":"","allowStretch":false,"displayLightTheme":true},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":1,"sectionFactor":4},"id":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","addedFromPersistedData":true,"reservedHeight":173,"reservedWidth":364,"webPartData":{"id":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","instanceId":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","title":"Quick links","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"title":"Quick links","items[0].title":"Learn about a team site","items[1].title":"Learn how to add a page"},"imageSources":{},"links":{"baseUrl":"/sites/Company311","items[0].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827918","items[1].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827919"},"componentDependencies":{"layoutComponentId":"706e33c8-af37-4e7b-9d22-6e5694d92a6f"}},"dataVersion":"2.2","properties":{"items":[{"sourceItem":{"itemType":2},"thumbnailType":3,"id":1,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767},{"sourceItem":{"itemType":2},"thumbnailType":3,"id":2,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767}],"isMigrated":true,"layoutId":"List","shouldShowThumbnail":true,"hideWebPartWhenEmpty":true,"dataProviderId":"QuickLinks","listLayoutOptions":{"showDescription":false,"showIcon":true},"imageWidth":100,"buttonLayoutOptions":{"showDescription":false,"buttonTreatment":2,"iconPositionType":2,"textAlignmentVertical":2,"textAlignmentHorizontal":2,"linesOfText":2},"waffleLayoutOptions":{"iconSize":1,"onlyShowThumbnail":false},"webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f"},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"f92bf067-bc19-489e-a556-7fe95f508720","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":2,"sectionFactor":4},"id":"c047c8d5-b5d0-4852-8a38-b58da702243c","addedFromPersistedData":true,"reservedHeight":291,"reservedWidth":364,"webPartData":{"id":"f92bf067-bc19-489e-a556-7fe95f508720","instanceId":"c047c8d5-b5d0-4852-8a38-b58da702243c","title":"Document library","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"listTitle":"Documents"},"imageSources":{},"links":{}},"dynamicDataPaths":{},"dynamicDataValues":{"filterBy":{}},"dataVersion":"1.0","properties":{"isDocumentLibrary":true,"showDefaultDocumentLibrary":true,"webpartHeightKey":4,"selectedListUrl":""},"containsDynamicDataSource":true}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true,"isSpellCheckEnabled":true,"globalRichTextStylingVersion":0,"rtePageSettings":{"contentVersion":4},"isEmailReady":false}}]
|
|
149
|
+
Language | en-us
|
|
150
|
+
SitePageFlags |
|
|
151
|
+
```
|
|
@@ -134,3 +134,42 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
|
|
|
134
134
|
commentsDisabled,numSections,numControls,title,layoutType
|
|
135
135
|
1,1,2,new-page,Article
|
|
136
136
|
```
|
|
137
|
+
|
|
138
|
+
=== "Markdown"
|
|
139
|
+
|
|
140
|
+
```md
|
|
141
|
+
# spo page get --webUrl "https://contoso.sharepoint.com/sites/team-a" --name "home.aspx"
|
|
142
|
+
|
|
143
|
+
Date: 5/1/2023
|
|
144
|
+
|
|
145
|
+
## Home (86ce2216-83f1-4ab4-9b7e-ffbdcf890992)
|
|
146
|
+
|
|
147
|
+
Property | Value
|
|
148
|
+
---------|-------
|
|
149
|
+
CheckInComment |
|
|
150
|
+
CheckOutType | 2
|
|
151
|
+
ContentTag | {86CE2216-83F1-4AB4-9B7E-FFBDCF890992},14,1
|
|
152
|
+
CustomizedPageStatus | 1
|
|
153
|
+
ETag | "{86CE2216-83F1-4AB4-9B7E-FFBDCF890992},14"
|
|
154
|
+
Exists | true
|
|
155
|
+
IrmEnabled | false
|
|
156
|
+
Length | 805
|
|
157
|
+
Level | 1
|
|
158
|
+
LinkingUrl |
|
|
159
|
+
MajorVersion | 2
|
|
160
|
+
MinorVersion | 0
|
|
161
|
+
Name | home.aspx
|
|
162
|
+
ServerRelativeUrl | /sites/Company311/SitePages/home.aspx
|
|
163
|
+
TimeCreated | 2021-09-19T00:20:25Z
|
|
164
|
+
TimeLastModified | 2023-05-01T20:43:12Z
|
|
165
|
+
Title | Home
|
|
166
|
+
UIVersion | 1024
|
|
167
|
+
UIVersionLabel | 2.0
|
|
168
|
+
UniqueId | 86ce2216-83f1-4ab4-9b7e-ffbdcf890992
|
|
169
|
+
commentsDisabled | true
|
|
170
|
+
title | Home
|
|
171
|
+
layoutType | Home
|
|
172
|
+
canvasContentJson | [{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":1,"controlIndex":1,"sectionFactor":6},"controlType":3,"id":"f85f8dfa-9052-4be8-8954-8cdafe811b97","webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","reservedHeight":528,"reservedWidth":570,"addedFromPersistedData":true,"webPartData":{"id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"f85f8dfa-9052-4be8-8954-8cdafe811b97","title":"Bing Maps","description":"Display a location on a map using Bing Maps.","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road","center":{"latitude":51.399299621582038,"longitude":-0.256799995899204,"altitude":0,"altitudeReference":-1}},"containsDynamicDataSource":false}},{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":2,"controlIndex":1,"sectionFactor":6},"id":"emptySection","addedFromPersistedData":true},{"controlType":3,"webPartId":"8c88f208-6c77-4bdb-86a0-0c47b4316588","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1,"sectionFactor":8},"id":"71eab4c9-8340-4706-96b9-331527890975","addedFromPersistedData":true,"reservedHeight":406,"reservedWidth":776,"webPartData":{"id":"8c88f208-6c77-4bdb-86a0-0c47b4316588","instanceId":"71eab4c9-8340-4706-96b9-331527890975","title":"News","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{"baseUrl":"/sites/Company311"}},"dataVersion":"1.12","properties":{"layoutId":"FeaturedNews","dataProviderId":"news","emptyStateHelpItemsCount":"1","showChrome":true,"carouselSettings":{"autoplay":false,"autoplaySpeed":5,"dots":true,"lazyLoad":true},"showNewsMetadata":{"showSocialActions":false,"showAuthor":true,"showDate":true},"newsDataSourceProp":1,"carouselHeroWrapperComponentId":"","prefetchCount":4,"filters":[{"filterType":1,"value":"","values":[]}],"newsSiteList":[],"renderItemsSliderValue":4,"layoutComponentId":"","webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f","filterKQLQuery":""},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1.5,"sectionFactor":8,"layoutIndex":1},"controlType":3,"id":"dcfa91cf-96fa-47cd-9363-7f2fea373526","webPartId":"490d7c76-1824-45b2-9de3-676421c997fa","reservedHeight":326,"reservedWidth":776,"addedFromPersistedData":true,"webPartData":{"id":"490d7c76-1824-45b2-9de3-676421c997fa","instanceId":"dcfa91cf-96fa-47cd-9363-7f2fea373526","title":"Embed","description":"Embed content from other sites such as Sway, YouTube, Vimeo, and more","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.2","properties":{"embedCode":"","cachedEmbedCode":"","shouldScaleWidth":true,"tempState":{},"thumbnailUrl":""},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":2,"sectionFactor":8},"id":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","addedFromPersistedData":true,"reservedHeight":939,"reservedWidth":776,"webPartData":{"id":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","instanceId":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","title":"Site activity","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"maxItems":9},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":0.5,"sectionFactor":4,"layoutIndex":1},"controlType":3,"id":"9d1fed5d-9274-4a82-8891-58bbc937c92b","webPartId":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","addedFromPersistedData":true,"reservedHeight":449,"reservedWidth":364,"webPartData":{"id":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","instanceId":"9d1fed5d-9274-4a82-8891-58bbc937c92b","title":"Twitter","description":"Display a Twitter feed","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"displayAs":"list","displayHeader":false,"displayFooter":false,"displayBorders":true,"limit":"3","term":"@microsoft","widthSlider":100,"title":"","allowStretch":false,"displayLightTheme":true},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":1,"sectionFactor":4},"id":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","addedFromPersistedData":true,"reservedHeight":173,"reservedWidth":364,"webPartData":{"id":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","instanceId":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","title":"Quick links","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"title":"Quick links","items[0].title":"Learn about a team site","items[1].title":"Learn how to add a page"},"imageSources":{},"links":{"baseUrl":"/sites/Company311","items[0].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827918","items[1].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827919"},"componentDependencies":{"layoutComponentId":"706e33c8-af37-4e7b-9d22-6e5694d92a6f"}},"dataVersion":"2.2","properties":{"items":[{"sourceItem":{"itemType":2},"thumbnailType":3,"id":1,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767},{"sourceItem":{"itemType":2},"thumbnailType":3,"id":2,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767}],"isMigrated":true,"layoutId":"List","shouldShowThumbnail":true,"hideWebPartWhenEmpty":true,"dataProviderId":"QuickLinks","listLayoutOptions":{"showDescription":false,"showIcon":true},"imageWidth":100,"buttonLayoutOptions":{"showDescription":false,"buttonTreatment":2,"iconPositionType":2,"textAlignmentVertical":2,"textAlignmentHorizontal":2,"linesOfText":2},"waffleLayoutOptions":{"iconSize":1,"onlyShowThumbnail":false},"webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f"},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"f92bf067-bc19-489e-a556-7fe95f508720","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":2,"sectionFactor":4},"id":"c047c8d5-b5d0-4852-8a38-b58da702243c","addedFromPersistedData":true,"reservedHeight":291,"reservedWidth":364,"webPartData":{"id":"f92bf067-bc19-489e-a556-7fe95f508720","instanceId":"c047c8d5-b5d0-4852-8a38-b58da702243c","title":"Document library","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"listTitle":"Documents"},"imageSources":{},"links":{}},"dynamicDataPaths":{},"dynamicDataValues":{"filterBy":{}},"dataVersion":"1.0","properties":{"isDocumentLibrary":true,"showDefaultDocumentLibrary":true,"webpartHeightKey":4,"selectedListUrl":""},"containsDynamicDataSource":true}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true,"isSpellCheckEnabled":true,"globalRichTextStylingVersion":0,"rtePageSettings":{"contentVersion":4},"isEmailReady":false}}]
|
|
173
|
+
numControls | 9
|
|
174
|
+
numSections | 2
|
|
175
|
+
```
|