@pnp/cli-microsoft365 7.0.0-beta.68abdfc → 7.0.0-beta.7e7b4f8
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 +1 -1
- package/dist/cli/Cli.js +23 -8
- package/dist/m365/aad/commands/user/user-get.js +7 -1
- package/dist/m365/booking/commands/business/business-get.js +14 -15
- package/dist/m365/cli/commands/config/config-set.js +1 -1
- package/dist/m365/pa/commands/app/app-owner-set.js +115 -0
- package/dist/m365/pa/commands/app/app-permission-list.js +104 -0
- package/dist/m365/pa/commands.js +2 -0
- package/dist/m365/planner/commands/bucket/bucket-add.js +14 -10
- package/dist/m365/planner/commands/bucket/bucket-get.js +25 -19
- package/dist/m365/planner/commands/bucket/bucket-list.js +14 -10
- package/dist/m365/planner/commands/bucket/bucket-remove.js +26 -20
- package/dist/m365/planner/commands/bucket/bucket-set.js +26 -28
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +19 -17
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +19 -17
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +35 -34
- package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +59 -51
- package/dist/m365/spo/commands/file/file-list.js +3 -14
- package/dist/m365/spo/commands/folder/folder-remove.js +30 -28
- package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +0 -4
- package/dist/m365/spo/commands/list/list-retentionlabel-get.js +0 -4
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +9 -47
- package/dist/m365/spo/commands/page/page-remove.js +33 -31
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +25 -23
- package/dist/m365/spo/commands/site/site-apppermission-add.js +3 -3
- package/dist/m365/spo/commands/site/site-commsite-enable.js +9 -18
- package/dist/m365/spo/commands/site/site-set.js +10 -2
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +13 -16
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +80 -2
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +48 -48
- package/dist/m365/spo/commands/theme/theme-get.js +1 -2
- package/dist/m365/spo/commands.js +0 -2
- package/dist/m365/teams/commands/chat/chat-get.js +4 -4
- package/dist/m365/teams/commands/chat/chat-member-add.js +117 -0
- package/dist/m365/teams/commands/chat/chat-message-send.js +4 -4
- package/dist/m365/teams/commands/team/team-app-list.js +1 -1
- package/dist/m365/teams/commands.js +1 -0
- package/dist/utils/spo.js +74 -0
- package/docs/docs/_clisettings.mdx +1 -1
- package/docs/docs/cmd/_global.mdx +1 -1
- package/docs/docs/cmd/aad/user/user-get.mdx +118 -25
- package/docs/docs/cmd/pa/app/app-owner-set.mdx +60 -0
- package/docs/docs/cmd/pa/app/app-permission-list.mdx +132 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-get.mdx +22 -5
- package/docs/docs/cmd/planner/bucket/bucket-list.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +21 -4
- package/docs/docs/cmd/planner/bucket/bucket-set.mdx +22 -5
- package/docs/docs/cmd/spo/file/file-list.mdx +6 -10
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +0 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +0 -6
- package/docs/docs/cmd/spo/site/site-add.mdx +35 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +14 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +68 -0
- package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +55 -0
- package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +66 -0
- package/docs/docs/cmd/spo/site/site-chrome-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +11 -1
- package/docs/docs/cmd/spo/site/site-ensure.mdx +70 -0
- package/docs/docs/cmd/spo/site/site-get.mdx +179 -0
- package/docs/docs/cmd/spo/site/site-groupify.mdx +54 -0
- package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +5 -1
- package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-list.mdx +303 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +80 -0
- package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-remove.mdx +4 -0
- package/docs/docs/cmd/spo/site/site-rename.mdx +92 -0
- package/docs/docs/cmd/spo/site/site-set.mdx +13 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +116 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +125 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +94 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +54 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +4 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +66 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +65 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +117 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +61 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +75 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +62 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +60 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +4 -0
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +63 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +53 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +54 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +4 -0
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +35 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +12 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +67 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +4 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +50 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +729 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +5 -0
- package/docs/docs/cmd/spo/theme/theme-apply.mdx +35 -0
- package/docs/docs/cmd/spo/theme/theme-get.mdx +74 -0
- package/docs/docs/cmd/spo/theme/theme-list.mdx +52 -0
- package/docs/docs/cmd/spo/theme/theme-remove.mdx +4 -0
- package/docs/docs/cmd/spo/theme/theme-set.mdx +4 -0
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +66 -0
- package/npm-shrinkwrap.json +212 -212
- package/package.json +10 -10
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo site recyclebinitem list
|
|
4
6
|
|
|
@@ -42,3 +44,81 @@ Lists only files from recycle bin for site _https://contoso.sharepoint.com/site_
|
|
|
42
44
|
```sh
|
|
43
45
|
m365 spo site recyclebinitem list --siteUrl https://contoso.sharepoint.com/site --type files
|
|
44
46
|
```
|
|
47
|
+
|
|
48
|
+
## Response
|
|
49
|
+
|
|
50
|
+
<Tabs>
|
|
51
|
+
<TabItem value="JSON">
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
|
+
"AuthorEmail": "john@contoso.onmicrosoft.com",
|
|
57
|
+
"AuthorName": "John",
|
|
58
|
+
"DeletedByEmail": "john@contoso.onmicrosoft.com",
|
|
59
|
+
"DeletedByName": "John",
|
|
60
|
+
"DeletedDate": "2023-04-20T20:02:08Z",
|
|
61
|
+
"DeletedDateLocalFormatted": "4/20/2023 1:02 PM",
|
|
62
|
+
"DirName": "Lists/Sales",
|
|
63
|
+
"DirNamePath": {
|
|
64
|
+
"DecodedUrl": "Lists/Sales"
|
|
65
|
+
},
|
|
66
|
+
"Id": "7709661a-2923-44d1-8200-5e0e4a625ce7",
|
|
67
|
+
"ItemState": 1,
|
|
68
|
+
"ItemType": 3,
|
|
69
|
+
"LeafName": "2_.000",
|
|
70
|
+
"LeafNamePath": {
|
|
71
|
+
"DecodedUrl": "2_.000"
|
|
72
|
+
},
|
|
73
|
+
"Size": "196",
|
|
74
|
+
"Title": "Test"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
</TabItem>
|
|
80
|
+
<TabItem value="Text">
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
Id Title DirName
|
|
84
|
+
------------------------------------ ------------------------------------------ ---------------------
|
|
85
|
+
7709661a-2923-44d1-8200-5e0e4a625ce7 Test Lists/Sales
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
<TabItem value="CSV">
|
|
90
|
+
|
|
91
|
+
```csv
|
|
92
|
+
AuthorEmail,AuthorName,DeletedByEmail,DeletedByName,DeletedDate,DeletedDateLocalFormatted,DirName,Id,ItemState,ItemType,LeafName,Size,Title
|
|
93
|
+
john@contoso.onmicrosoft.com,John,john@contoso.onmicrosoft.com,John,2023-04-20T20:02:08Z,4/20/2023 1:02 PM,Lists/Sales,7709661a-2923-44d1-8200-5e0e4a625ce7,1,3,2_.000,196,Test
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
</TabItem>
|
|
97
|
+
<TabItem value="Markdown">
|
|
98
|
+
|
|
99
|
+
```md
|
|
100
|
+
# spo site recyclebinitem list --siteUrl "https://contoso.sharepoint.com/"
|
|
101
|
+
|
|
102
|
+
Date: 2023-06-21
|
|
103
|
+
|
|
104
|
+
## Test (7709661a-2923-44d1-8200-5e0e4a625ce7)
|
|
105
|
+
|
|
106
|
+
Property | Value
|
|
107
|
+
---------|-------
|
|
108
|
+
AuthorEmail | john@contoso.onmicrosoft.com
|
|
109
|
+
AuthorName | John
|
|
110
|
+
DeletedByEmail | john@contoso.onmicrosoft.com
|
|
111
|
+
DeletedByName | John
|
|
112
|
+
DeletedDate | 2023-04-20T20:02:08Z
|
|
113
|
+
DeletedDateLocalFormatted | 4/20/2023 1:02 PM
|
|
114
|
+
DirName | Lists/Sales
|
|
115
|
+
Id | 7709661a-2923-44d1-8200-5e0e4a625ce7
|
|
116
|
+
ItemState | 1
|
|
117
|
+
ItemType | 3
|
|
118
|
+
LeafName | 2\_.000
|
|
119
|
+
Size | 196
|
|
120
|
+
Title | Test
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
</TabItem>
|
|
124
|
+
</Tabs>
|
|
@@ -29,3 +29,7 @@ Restore specific items by given ids from recycle bin for site _https://contoso.s
|
|
|
29
29
|
```sh
|
|
30
30
|
m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/site --ids "ae6f97a7-280e-48d6-b481-0ea986c323da,aadbf916-1f71-42ee-abf2-8ee4802ae291"
|
|
31
31
|
```
|
|
32
|
+
|
|
33
|
+
## Response
|
|
34
|
+
|
|
35
|
+
The command won't return a response on success.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo site rename
|
|
4
6
|
|
|
@@ -63,3 +65,93 @@ Renames the specified site collection and waits for the operation to complete
|
|
|
63
65
|
```sh
|
|
64
66
|
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title" --wait
|
|
65
67
|
```
|
|
68
|
+
|
|
69
|
+
## Response
|
|
70
|
+
|
|
71
|
+
<Tabs>
|
|
72
|
+
<TabItem value="JSON">
|
|
73
|
+
|
|
74
|
+
```json
|
|
75
|
+
{
|
|
76
|
+
"odata.metadata": "https://contoso-admin.sharepoint.com/_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element",
|
|
77
|
+
"odata.type": "Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob",
|
|
78
|
+
"odata.id": "https://contoso-admin.sharepoint.com/_api/onboardingservicesbeta/siterenamejobs",
|
|
79
|
+
"odata.editLink": "onboardingservicesbeta/siterenamejobs",
|
|
80
|
+
"Option": 0,
|
|
81
|
+
"Reserve": null,
|
|
82
|
+
"OperationId": "00000000-0000-0000-0000-000000000000",
|
|
83
|
+
"SkipGestures": "",
|
|
84
|
+
"SourceSiteUrl": "https://contoso.sharepoint.com/sites/team1",
|
|
85
|
+
"TargetSiteTitle": null,
|
|
86
|
+
"TargetSiteUrl": "https://contoso.sharepoint.com/sites/team2",
|
|
87
|
+
"ErrorCode": 0,
|
|
88
|
+
"ErrorDescription": null,
|
|
89
|
+
"JobId": "ec3c9add-8b39-4355-b3c7-22f81331f897",
|
|
90
|
+
"JobState": "NotStarted",
|
|
91
|
+
"ParentId": "00000000-0000-0000-0000-000000000000",
|
|
92
|
+
"SiteId": "ffdab06c-3df6-4e60-a46a-fc8a51f32be3",
|
|
93
|
+
"TriggeredBy": "john@contoso.onmicrosoft.com"
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
</TabItem>
|
|
98
|
+
<TabItem value="Text">
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
ErrorCode : 0
|
|
102
|
+
ErrorDescription: null
|
|
103
|
+
JobId : fc326673-83c4-4fbc-bd7b-e561ec30de83
|
|
104
|
+
JobState : NotStarted
|
|
105
|
+
OperationId : 00000000-0000-0000-0000-000000000000
|
|
106
|
+
Option : 0
|
|
107
|
+
ParentId : 00000000-0000-0000-0000-000000000000
|
|
108
|
+
Reserve : null
|
|
109
|
+
SiteId : 754383f6-cf1e-4e55-8761-e1d2c4f5319b
|
|
110
|
+
SkipGestures :
|
|
111
|
+
SourceSiteUrl : https://contoso.sharepoint.com/sites/team1
|
|
112
|
+
TargetSiteTitle : null
|
|
113
|
+
TargetSiteUrl : https://contoso.sharepoint.com/sites/team2
|
|
114
|
+
TriggeredBy : john@contoso.onmicrosoft.com
|
|
115
|
+
odata.editLink : onboardingservicesbeta/siterenamejobs
|
|
116
|
+
odata.id : https://contoso-admin.sharepoint.com/_api/onboardingservicesbeta/siterenamejobs
|
|
117
|
+
odata.metadata : https://contoso-admin.sharepoint.com/_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element
|
|
118
|
+
odata.type : Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
</TabItem>
|
|
122
|
+
<TabItem value="CSV">
|
|
123
|
+
|
|
124
|
+
```csv
|
|
125
|
+
odata.metadata,odata.type,odata.id,odata.editLink,Option,OperationId,SkipGestures,SourceSiteUrl,TargetSiteUrl,ErrorCode,JobId,JobState,ParentId,SiteId,TriggeredBy
|
|
126
|
+
https://contoso-admin.sharepoint.com/_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element,Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob,https://contoso-admin.sharepoint.com/_api/onboardingservicesbeta/siterenamejobs,onboardingservicesbeta/siterenamejobs,0,00000000-0000-0000-0000-000000000000,,https://contoso.sharepoint.com/sites/team1,https://contoso.sharepoint.com/sites/team2,0,5ff99cdd-0a71-41e4-9ffa-055cd1462fe8,NotStarted,00000000-0000-0000-0000-000000000000,2f7623fb-cae9-40de-b0f4-59b0bc545982,john@contoso.onmicrosoft.com
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
</TabItem>
|
|
130
|
+
<TabItem value="Markdown">
|
|
131
|
+
|
|
132
|
+
```md
|
|
133
|
+
# spo site rename --url "https://contoso.sharepoint.com/sites/team1" --newUrl "https://contoso.sharepoint.com/sites/team2"
|
|
134
|
+
|
|
135
|
+
Date: 2023-06-21
|
|
136
|
+
|
|
137
|
+
Property | Value
|
|
138
|
+
---------|-------
|
|
139
|
+
odata.metadata | https://contoso-admin.sharepoint.com/\_api/$metadata#SP.ApiData.SiteRenameJobEntityDatas/@Element
|
|
140
|
+
odata.type | Microsoft.Online.SharePoint.Onboarding.RestService.Service.SiteRenameJob
|
|
141
|
+
odata.id | https://contoso-admin.sharepoint.com/\_api/onboardingservicesbeta/siterenamejobs
|
|
142
|
+
odata.editLink | onboardingservicesbeta/siterenamejobs
|
|
143
|
+
Option | 0
|
|
144
|
+
OperationId | 00000000-0000-0000-0000-000000000000
|
|
145
|
+
SkipGestures |
|
|
146
|
+
SourceSiteUrl | https://contoso.sharepoint.com/sites/team1
|
|
147
|
+
TargetSiteUrl | https://contoso.sharepoint.com/sites/team2
|
|
148
|
+
ErrorCode | 0
|
|
149
|
+
JobId | 9857a6ba-d1ae-481f-96eb-3a3172659502
|
|
150
|
+
JobState | NotStarted
|
|
151
|
+
ParentId | 00000000-0000-0000-0000-000000000000
|
|
152
|
+
SiteId | c0dd6f7a-5998-49a4-847f-c2b5d247d5e2
|
|
153
|
+
TriggeredBy | john@contoso.onmicrosoft.com
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
</TabItem>
|
|
157
|
+
</Tabs>
|
|
@@ -28,6 +28,9 @@ m365 spo site set [options]
|
|
|
28
28
|
`--disableFlows [disableFlows]`
|
|
29
29
|
: Set to `true` to disable using Microsoft Flow in this site collection
|
|
30
30
|
|
|
31
|
+
`--socialBarOnSitePagesDisabled [socialBarOnSitePagesDisabled]`
|
|
32
|
+
: Set to `true` to disable Social Bar for the site collection
|
|
33
|
+
|
|
31
34
|
`--isPublic [isPublic]`
|
|
32
35
|
: Set to `true` to make the group linked to the site public or to `false` to make it private
|
|
33
36
|
|
|
@@ -121,6 +124,12 @@ Disable using Microsoft Flow on the site collection
|
|
|
121
124
|
m365 spo site set --url https://contoso.sharepoint.com/sites/sales --disableFlows true
|
|
122
125
|
```
|
|
123
126
|
|
|
127
|
+
Disable Social Bar for the site collection
|
|
128
|
+
|
|
129
|
+
```sh
|
|
130
|
+
m365 spo site set --url https://contoso.sharepoint.com/sites/sales --socialBarOnSitePagesDisabled true
|
|
131
|
+
```
|
|
132
|
+
|
|
124
133
|
Update the visibility of the Microsoft 365 group behind the specified groupified site collection to public
|
|
125
134
|
|
|
126
135
|
```sh
|
|
@@ -180,3 +189,7 @@ Lock the site preventing users from accessing it. Wait for the configuration to
|
|
|
180
189
|
```sh
|
|
181
190
|
m365 spo site set --url https://contoso.sharepoint.com/sites/team --LockState NoAccess --wait
|
|
182
191
|
```
|
|
192
|
+
|
|
193
|
+
## Response
|
|
194
|
+
|
|
195
|
+
The command won't return a response on success.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo sitedesign add
|
|
4
6
|
|
|
@@ -60,6 +62,120 @@ Create new default site design for provisioning modern communication sites
|
|
|
60
62
|
m365 spo sitedesign add --title "Contoso communication site" --webTemplate CommunicationSite --siteScripts "19b0e1b2-e3d1-473f-9394-f08c198ef43e" --isDefault
|
|
61
63
|
```
|
|
62
64
|
|
|
65
|
+
## Response
|
|
66
|
+
|
|
67
|
+
<Tabs>
|
|
68
|
+
<TabItem value="JSON">
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"Description": null,
|
|
73
|
+
"DesignPackageId": null,
|
|
74
|
+
"DesignType": "0",
|
|
75
|
+
"ExpandedPreviewImages": [],
|
|
76
|
+
"InternalName": null,
|
|
77
|
+
"IsDefault": false,
|
|
78
|
+
"IsOutOfBoxTemplate": false,
|
|
79
|
+
"IsTenantAdminOnly": false,
|
|
80
|
+
"ListColor": "0",
|
|
81
|
+
"ListIcon": "0",
|
|
82
|
+
"PreviewImageAltText": null,
|
|
83
|
+
"PreviewImageUrl": null,
|
|
84
|
+
"RequiresClassConnected": false,
|
|
85
|
+
"RequiresGroupConnected": false,
|
|
86
|
+
"RequiresSyntexLicense": false,
|
|
87
|
+
"RequiresTeamsConnected": false,
|
|
88
|
+
"RequiresYammerConnected": false,
|
|
89
|
+
"SiteScriptIds": [
|
|
90
|
+
"43d4ffa0-c7ee-4a97-91d7-db27e5b62de5"
|
|
91
|
+
],
|
|
92
|
+
"SupportedWebTemplates": [],
|
|
93
|
+
"TargetPlatforms": [],
|
|
94
|
+
"TemplateAssets": [],
|
|
95
|
+
"TemplateFeatures": [],
|
|
96
|
+
"ThumbnailUrl": null,
|
|
97
|
+
"Title": "Contoso team site",
|
|
98
|
+
"WebTemplate": "64",
|
|
99
|
+
"Id": "00281728-3bc1-41d3-92b6-8fc493dcf4cc",
|
|
100
|
+
"Order": null,
|
|
101
|
+
"Version": 1
|
|
102
|
+
}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
</TabItem>
|
|
106
|
+
<TabItem value="Text">
|
|
107
|
+
|
|
108
|
+
```text
|
|
109
|
+
Description : null
|
|
110
|
+
DesignPackageId : null
|
|
111
|
+
DesignType : 0
|
|
112
|
+
ExpandedPreviewImages : []
|
|
113
|
+
Id : 00281728-3bc1-41d3-92b6-8fc493dcf4cc
|
|
114
|
+
InternalName : null
|
|
115
|
+
IsDefault : false
|
|
116
|
+
IsOutOfBoxTemplate : false
|
|
117
|
+
IsTenantAdminOnly : false
|
|
118
|
+
ListColor : 0
|
|
119
|
+
ListIcon : 0
|
|
120
|
+
Order : null
|
|
121
|
+
PreviewImageAltText : null
|
|
122
|
+
PreviewImageUrl : null
|
|
123
|
+
RequiresClassConnected : false
|
|
124
|
+
RequiresGroupConnected : false
|
|
125
|
+
RequiresSyntexLicense : false
|
|
126
|
+
RequiresTeamsConnected : false
|
|
127
|
+
RequiresYammerConnected: false
|
|
128
|
+
SiteScriptIds : ["43d4ffa0-c7ee-4a97-91d7-db27e5b62de5"]
|
|
129
|
+
SupportedWebTemplates : []
|
|
130
|
+
TargetPlatforms : []
|
|
131
|
+
TemplateAssets : []
|
|
132
|
+
TemplateFeatures : []
|
|
133
|
+
ThumbnailUrl : null
|
|
134
|
+
Title : Contoso team site
|
|
135
|
+
Version : 1
|
|
136
|
+
WebTemplate : 64
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
</TabItem>
|
|
140
|
+
<TabItem value="CSV">
|
|
141
|
+
|
|
142
|
+
```csv
|
|
143
|
+
DesignType,IsDefault,IsOutOfBoxTemplate,IsTenantAdminOnly,ListColor,ListIcon,RequiresClassConnected,RequiresGroupConnected,RequiresSyntexLicense,RequiresTeamsConnected,RequiresYammerConnected,Title,WebTemplate,Id,Version
|
|
144
|
+
0,,,,0,0,,,,,,Contoso team site,64,00281728-3bc1-41d3-92b6-8fc493dcf4cc,1
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
</TabItem>
|
|
148
|
+
<TabItem value="Markdown">
|
|
149
|
+
|
|
150
|
+
```md
|
|
151
|
+
# spo sitedesign add --title "Contoso team site" --webTemplate "TeamSite" --siteScripts "43d4ffa0-c7ee-4a97-91d7-db27e5b62de5"
|
|
152
|
+
|
|
153
|
+
Date: 2023-06-22
|
|
154
|
+
|
|
155
|
+
## Contoso team site (00281728-3bc1-41d3-92b6-8fc493dcf4cc)
|
|
156
|
+
|
|
157
|
+
Property | Value
|
|
158
|
+
---------|-------
|
|
159
|
+
DesignType | 0
|
|
160
|
+
IsDefault | false
|
|
161
|
+
IsOutOfBoxTemplate | false
|
|
162
|
+
IsTenantAdminOnly | false
|
|
163
|
+
ListColor | 0
|
|
164
|
+
ListIcon | 0
|
|
165
|
+
RequiresClassConnected | false
|
|
166
|
+
RequiresGroupConnected | false
|
|
167
|
+
RequiresSyntexLicense | false
|
|
168
|
+
RequiresTeamsConnected | false
|
|
169
|
+
RequiresYammerConnected | false
|
|
170
|
+
Title | Contoso team site
|
|
171
|
+
WebTemplate | 64
|
|
172
|
+
Id | 00281728-3bc1-41d3-92b6-8fc493dcf4cc
|
|
173
|
+
Version | 1
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
</TabItem>
|
|
177
|
+
</Tabs>
|
|
178
|
+
|
|
63
179
|
## More information
|
|
64
180
|
|
|
65
181
|
- SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo sitedesign apply
|
|
4
6
|
|
|
@@ -39,6 +41,129 @@ Apply large site design to the specified site
|
|
|
39
41
|
m365 spo sitedesign apply --id 9b142c22-037f-4a7f-9017-e9d8c0e34b98 --webUrl https://contoso.sharepoint.com/sites/project-x --asTask
|
|
40
42
|
```
|
|
41
43
|
|
|
44
|
+
## Response
|
|
45
|
+
|
|
46
|
+
### Standard response
|
|
47
|
+
|
|
48
|
+
<Tabs>
|
|
49
|
+
<TabItem value="JSON">
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
[
|
|
53
|
+
{
|
|
54
|
+
"ErrorCode": 0,
|
|
55
|
+
"Outcome": "0",
|
|
56
|
+
"OutcomeText": null,
|
|
57
|
+
"Target": null,
|
|
58
|
+
"TargetId": null,
|
|
59
|
+
"Title": "Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
<TabItem value="Text">
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
ErrorCode : 0
|
|
69
|
+
Outcome : 0
|
|
70
|
+
OutcomeText: null
|
|
71
|
+
Target : null
|
|
72
|
+
TargetId : null
|
|
73
|
+
Title : Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
</TabItem>
|
|
77
|
+
<TabItem value="CSV">
|
|
78
|
+
|
|
79
|
+
```csv
|
|
80
|
+
ErrorCode,Outcome,Title
|
|
81
|
+
0,0,Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
</TabItem>
|
|
85
|
+
<TabItem value="Markdown">
|
|
86
|
+
|
|
87
|
+
```md
|
|
88
|
+
# spo sitedesign apply --id "00281728-3bc1-41d3-92b6-8fc493dcf4cc" --webUrl "https://contoso.sharepoint.com/teams/spoteam1"
|
|
89
|
+
|
|
90
|
+
Date: 2023-06-22
|
|
91
|
+
|
|
92
|
+
## Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f
|
|
93
|
+
|
|
94
|
+
Property | Value
|
|
95
|
+
---------|-------
|
|
96
|
+
ErrorCode | 0
|
|
97
|
+
Outcome | 0
|
|
98
|
+
Title | Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</TabItem>
|
|
102
|
+
</Tabs>
|
|
103
|
+
|
|
104
|
+
### `asTask` response
|
|
105
|
+
|
|
106
|
+
When we make use of the option `asTask`, the response will differ.
|
|
107
|
+
|
|
108
|
+
## Response
|
|
109
|
+
|
|
110
|
+
<Tabs>
|
|
111
|
+
<TabItem value="JSON">
|
|
112
|
+
|
|
113
|
+
```json
|
|
114
|
+
{
|
|
115
|
+
"ID": "781e7556-4489-42bc-aa94-1decf6a395d6",
|
|
116
|
+
"LogonName": "i:0#.f|membership|john@contoso.onmicrosoft.com",
|
|
117
|
+
"SiteDesignID": "00281728-3bc1-41d3-92b6-8fc493dcf4cc",
|
|
118
|
+
"SiteDesignStore": 0,
|
|
119
|
+
"SiteID": "5fc2ea61-7204-41be-9d05-d44f017f958b",
|
|
120
|
+
"WebID": "1c6a5768-89b1-4a68-8c85-9f8db4609bcf"
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
</TabItem>
|
|
125
|
+
<TabItem value="Text">
|
|
126
|
+
|
|
127
|
+
```text
|
|
128
|
+
ID : 781e7556-4489-42bc-aa94-1decf6a395d6
|
|
129
|
+
LogonName : i:0#.f|membership|john@contoso.onmicrosoft.com
|
|
130
|
+
SiteDesignID : 00281728-3bc1-41d3-92b6-8fc493dcf4cc
|
|
131
|
+
SiteDesignStore: 0
|
|
132
|
+
SiteID : 5fc2ea61-7204-41be-9d05-d44f017f958b
|
|
133
|
+
WebID : 1c6a5768-89b1-4a68-8c85-9f8db4609bcf
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
</TabItem>
|
|
137
|
+
<TabItem value="CSV">
|
|
138
|
+
|
|
139
|
+
```csv
|
|
140
|
+
ID,LogonName,SiteDesignID,SiteDesignStore,SiteID,WebID
|
|
141
|
+
781e7556-4489-42bc-aa94-1decf6a395d6,i:0#.f|membership|john@contoso.onmicrosoft.com,00281728-3bc1-41d3-92b6-8fc493dcf4cc,0,5fc2ea61-7204-41be-9d05-d44f017f958b,1c6a5768-89b1-4a68-8c85-9f8db4609bcf
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
</TabItem>
|
|
145
|
+
<TabItem value="Markdown">
|
|
146
|
+
|
|
147
|
+
```md
|
|
148
|
+
# spo sitedesign apply --id "00281728-3bc1-41d3-92b6-8fc493dcf4cc" --webUrl "https://contoso.sharepoint.com/teams/spoteam1" --asTask "true"
|
|
149
|
+
|
|
150
|
+
Date: 2023-06-22
|
|
151
|
+
|
|
152
|
+
## 781e7556-4489-42bc-aa94-1decf6a395d6
|
|
153
|
+
|
|
154
|
+
Property | Value
|
|
155
|
+
---------|-------
|
|
156
|
+
ID | 781e7556-4489-42bc-aa94-1decf6a395d6
|
|
157
|
+
LogonName | i:0#.f\|membership\|john@contoso.onmicrosoft.com
|
|
158
|
+
SiteDesignID | 00281728-3bc1-41d3-92b6-8fc493dcf4cc
|
|
159
|
+
SiteDesignStore | 0
|
|
160
|
+
SiteID | 5fc2ea61-7204-41be-9d05-d44f017f958b
|
|
161
|
+
WebID | 1c6a5768-89b1-4a68-8c85-9f8db4609bcf
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
</TabItem>
|
|
165
|
+
</Tabs>
|
|
166
|
+
|
|
42
167
|
## More information
|
|
43
168
|
|
|
44
169
|
- SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo sitedesign get
|
|
4
6
|
|
|
@@ -40,6 +42,121 @@ Get information about the site design with title _Contoso Site Design_
|
|
|
40
42
|
m365 spo sitedesign get --title "Contoso Site Design"
|
|
41
43
|
```
|
|
42
44
|
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
<Tabs>
|
|
48
|
+
<TabItem value="JSON">
|
|
49
|
+
|
|
50
|
+
```json
|
|
51
|
+
{
|
|
52
|
+
"Description": null,
|
|
53
|
+
"DesignPackageId": "00000000-0000-0000-0000-000000000000",
|
|
54
|
+
"DesignType": "0",
|
|
55
|
+
"ExpandedPreviewImages": [],
|
|
56
|
+
"InternalName": null,
|
|
57
|
+
"IsDefault": false,
|
|
58
|
+
"IsOutOfBoxTemplate": false,
|
|
59
|
+
"IsTenantAdminOnly": false,
|
|
60
|
+
"ListColor": "0",
|
|
61
|
+
"ListIcon": "0",
|
|
62
|
+
"PreviewImageAltText": null,
|
|
63
|
+
"PreviewImageUrl": null,
|
|
64
|
+
"RequiresClassConnected": false,
|
|
65
|
+
"RequiresGroupConnected": false,
|
|
66
|
+
"RequiresSyntexLicense": false,
|
|
67
|
+
"RequiresTeamsConnected": false,
|
|
68
|
+
"RequiresYammerConnected": false,
|
|
69
|
+
"SiteScriptIds": [
|
|
70
|
+
"0c88bed7-943b-42aa-8fef-8fb69eebe3fe"
|
|
71
|
+
],
|
|
72
|
+
"SupportedWebTemplates": [],
|
|
73
|
+
"TargetPlatforms": [],
|
|
74
|
+
"TemplateAssets": [],
|
|
75
|
+
"TemplateFeatures": [],
|
|
76
|
+
"ThumbnailUrl": null,
|
|
77
|
+
"Title": "Contoso team site",
|
|
78
|
+
"WebTemplate": "64",
|
|
79
|
+
"Id": "00281728-3bc1-41d3-92b6-8fc493dcf4cc",
|
|
80
|
+
"Order": null,
|
|
81
|
+
"Version": 1
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
</TabItem>
|
|
86
|
+
<TabItem value="Text">
|
|
87
|
+
|
|
88
|
+
```text
|
|
89
|
+
Description : null
|
|
90
|
+
DesignPackageId : 00000000-0000-0000-0000-000000000000
|
|
91
|
+
DesignType : 0
|
|
92
|
+
ExpandedPreviewImages : []
|
|
93
|
+
Id : 00281728-3bc1-41d3-92b6-8fc493dcf4cc
|
|
94
|
+
InternalName : null
|
|
95
|
+
IsDefault : false
|
|
96
|
+
IsOutOfBoxTemplate : false
|
|
97
|
+
IsTenantAdminOnly : false
|
|
98
|
+
ListColor : 0
|
|
99
|
+
ListIcon : 0
|
|
100
|
+
Order : null
|
|
101
|
+
PreviewImageAltText : null
|
|
102
|
+
PreviewImageUrl : null
|
|
103
|
+
RequiresClassConnected : false
|
|
104
|
+
RequiresGroupConnected : false
|
|
105
|
+
RequiresSyntexLicense : false
|
|
106
|
+
RequiresTeamsConnected : false
|
|
107
|
+
RequiresYammerConnected: false
|
|
108
|
+
SiteScriptIds : ["0c88bed7-943b-42aa-8fef-8fb69eebe3fe"]
|
|
109
|
+
SupportedWebTemplates : []
|
|
110
|
+
TargetPlatforms : []
|
|
111
|
+
TemplateAssets : []
|
|
112
|
+
TemplateFeatures : []
|
|
113
|
+
ThumbnailUrl : null
|
|
114
|
+
Title : Contoso team site
|
|
115
|
+
Version : 1
|
|
116
|
+
WebTemplate : 64
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
</TabItem>
|
|
120
|
+
<TabItem value="CSV">
|
|
121
|
+
|
|
122
|
+
```csv
|
|
123
|
+
DesignPackageId,DesignType,IsDefault,IsOutOfBoxTemplate,IsTenantAdminOnly,ListColor,ListIcon,RequiresClassConnected,RequiresGroupConnected,RequiresSyntexLicense,RequiresTeamsConnected,RequiresYammerConnected,Title,WebTemplate,Id,Version
|
|
124
|
+
00000000-0000-0000-0000-000000000000,0,,,,0,0,,,,,,Contoso team site,64,00281728-3bc1-41d3-92b6-8fc493dcf4cc,1
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
</TabItem>
|
|
128
|
+
<TabItem value="Markdown">
|
|
129
|
+
|
|
130
|
+
```md
|
|
131
|
+
# spo sitedesign get --id "00281728-3bc1-41d3-92b6-8fc493dcf4cc"
|
|
132
|
+
|
|
133
|
+
Date: 2023-06-22
|
|
134
|
+
|
|
135
|
+
## Contoso team site (00281728-3bc1-41d3-92b6-8fc493dcf4cc)
|
|
136
|
+
|
|
137
|
+
Property | Value
|
|
138
|
+
---------|-------
|
|
139
|
+
DesignPackageId | 00000000-0000-0000-0000-000000000000
|
|
140
|
+
DesignType | 0
|
|
141
|
+
IsDefault | false
|
|
142
|
+
IsOutOfBoxTemplate | false
|
|
143
|
+
IsTenantAdminOnly | false
|
|
144
|
+
ListColor | 0
|
|
145
|
+
ListIcon | 0
|
|
146
|
+
RequiresClassConnected | false
|
|
147
|
+
RequiresGroupConnected | false
|
|
148
|
+
RequiresSyntexLicense | false
|
|
149
|
+
RequiresTeamsConnected | false
|
|
150
|
+
RequiresYammerConnected | false
|
|
151
|
+
Title | Contoso team site
|
|
152
|
+
WebTemplate | 64
|
|
153
|
+
Id | 00281728-3bc1-41d3-92b6-8fc493dcf4cc
|
|
154
|
+
Version | 1
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
</TabItem>
|
|
158
|
+
</Tabs>
|
|
159
|
+
|
|
43
160
|
## More information
|
|
44
161
|
|
|
45
162
|
- SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
|