@pnp/cli-microsoft365 7.0.0-beta.68abdfc → 7.0.0-beta.68fea7b
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/folder/folder-remove.js +30 -28
- 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/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/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 apppermission get
|
|
4
6
|
|
|
@@ -29,3 +31,56 @@ Return a specific application permissions for the _https://contoso.sharepoint.co
|
|
|
29
31
|
```sh
|
|
30
32
|
m365 spo site apppermission get --siteUrl https://contoso.sharepoint.com/sites/project-x --id aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0
|
|
31
33
|
```
|
|
34
|
+
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="JSON">
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
[
|
|
42
|
+
{
|
|
43
|
+
"appDisplayName": "Foo",
|
|
44
|
+
"appId": "5c89fbbf-670e-48e7-a0bc-fa8942c895a2",
|
|
45
|
+
"permissionId": "aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0",
|
|
46
|
+
"roles": "read"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
<TabItem value="Text">
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
appDisplayName: Foo
|
|
56
|
+
appId : 5c89fbbf-670e-48e7-a0bc-fa8942c895a2
|
|
57
|
+
permissionId : aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
58
|
+
roles : read
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
</TabItem>
|
|
62
|
+
<TabItem value="CSV">
|
|
63
|
+
|
|
64
|
+
```csv
|
|
65
|
+
appDisplayName,appId,permissionId,roles
|
|
66
|
+
Foo,5c89fbbf-670e-48e7-a0bc-fa8942c895a2,aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0,read
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
</TabItem>
|
|
70
|
+
<TabItem value="Markdown">
|
|
71
|
+
|
|
72
|
+
```md
|
|
73
|
+
# spo site apppermission get --siteUrl "https://contoso.sharepoint.com/sites/marketing" --id "aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0"
|
|
74
|
+
|
|
75
|
+
Date: 2023-06-21
|
|
76
|
+
|
|
77
|
+
Property | Value
|
|
78
|
+
---------|-------
|
|
79
|
+
appDisplayName | Foo
|
|
80
|
+
appId | 5c89fbbf-670e-48e7-a0bc-fa8942c895a2
|
|
81
|
+
permissionId | aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
82
|
+
roles | read
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
</TabItem>
|
|
86
|
+
</Tabs>
|
|
@@ -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 apppermission list
|
|
4
6
|
|
|
@@ -42,3 +44,56 @@ Return list of application permissions for the _https://contoso.sharepoint.com/s
|
|
|
42
44
|
```sh
|
|
43
45
|
m365 spo site apppermission list --siteUrl https://contoso.sharepoint.com/sites/project-x --appDisplayName Foo
|
|
44
46
|
```
|
|
47
|
+
|
|
48
|
+
## Response
|
|
49
|
+
|
|
50
|
+
<Tabs>
|
|
51
|
+
<TabItem value="JSON">
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
|
+
"appDisplayName": "Foo",
|
|
57
|
+
"appId": "5c89fbbf-670e-48e7-a0bc-fa8942c895a2",
|
|
58
|
+
"permissionId": "aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0",
|
|
59
|
+
"roles": [
|
|
60
|
+
"manage"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
</TabItem>
|
|
67
|
+
<TabItem value="Text">
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
appDisplayName appId permissionId roles
|
|
71
|
+
-------------- ------------------------------------ ------------------------------------------------------------------------------------------------------------------------ ------
|
|
72
|
+
Foo 5c89fbbf-670e-48e7-a0bc-fa8942c895a2 aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0 manage
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
<TabItem value="CSV">
|
|
77
|
+
|
|
78
|
+
```csv
|
|
79
|
+
appDisplayName,appId,permissionId
|
|
80
|
+
Foo,5c89fbbf-670e-48e7-a0bc-fa8942c895a2,aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
</TabItem>
|
|
84
|
+
<TabItem value="Markdown">
|
|
85
|
+
|
|
86
|
+
```md
|
|
87
|
+
# spo site apppermission list --siteUrl "https://contoso.sharepoint.com/sites/team1"
|
|
88
|
+
|
|
89
|
+
Date: 2023-06-21
|
|
90
|
+
|
|
91
|
+
Property | Value
|
|
92
|
+
---------|-------
|
|
93
|
+
appDisplayName | Foo
|
|
94
|
+
appId | 5c89fbbf-670e-48e7-a0bc-fa8942c895a2
|
|
95
|
+
permissionId | aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
</TabItem>
|
|
99
|
+
</Tabs>
|
|
@@ -50,3 +50,7 @@ Removes the application permission with the specified ID on site _https://contos
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 spo site apppermission remove --siteUrl https://contoso.sharepoint.com/sites/project-x --id aTowaS50fG1zLnNwLmV4dHw4OWVhNWM5NC03NzM2LTRlMjUtOTVhZC0zZmE5NWY2MmI2NmVAZGUzNDhiYzctMWFlYi00NDA2LThjYjMtOTdkYjAyMWNhZGI0
|
|
52
52
|
```
|
|
53
|
+
|
|
54
|
+
## Response
|
|
55
|
+
|
|
56
|
+
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 apppermission set
|
|
4
6
|
|
|
@@ -50,3 +52,67 @@ Updates a specific application permission to _read_ for the _https://contoso.sha
|
|
|
50
52
|
```sh
|
|
51
53
|
m365 spo site apppermission set --siteUrl https://contoso.sharepoint.com/sites/project-x --appId 89ea5c94-7736-4e25-95ad-3fa95f62b66e --permission read
|
|
52
54
|
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="JSON">
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"id": "aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0",
|
|
64
|
+
"roles": [
|
|
65
|
+
"read"
|
|
66
|
+
],
|
|
67
|
+
"grantedToIdentitiesV2": [
|
|
68
|
+
{
|
|
69
|
+
"application": {
|
|
70
|
+
"id": "5c89fbbf-670e-48e7-a0bc-fa8942c895a2"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"grantedToIdentities": [
|
|
75
|
+
{
|
|
76
|
+
"application": {
|
|
77
|
+
"id": "5c89fbbf-670e-48e7-a0bc-fa8942c895a2"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
</TabItem>
|
|
85
|
+
<TabItem value="Text">
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
grantedToIdentities : [{"application":{"id":"5c89fbbf-670e-48e7-a0bc-fa8942c895a2"}}]
|
|
89
|
+
grantedToIdentitiesV2: [{"application":{"id":"5c89fbbf-670e-48e7-a0bc-fa8942c895a2"}}]
|
|
90
|
+
id : aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
91
|
+
roles : ["read"]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
</TabItem>
|
|
95
|
+
<TabItem value="CSV">
|
|
96
|
+
|
|
97
|
+
```csv
|
|
98
|
+
id
|
|
99
|
+
aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
</TabItem>
|
|
103
|
+
<TabItem value="Markdown">
|
|
104
|
+
|
|
105
|
+
```md
|
|
106
|
+
# spo site apppermission set --siteUrl "https://contoso.sharepoint.com/sites/marketing" --appDisplayName "Foo" --permission "read"
|
|
107
|
+
|
|
108
|
+
Date: 2023-06-21
|
|
109
|
+
|
|
110
|
+
## aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
111
|
+
|
|
112
|
+
Property | Value
|
|
113
|
+
---------|-------
|
|
114
|
+
id | aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
</TabItem>
|
|
118
|
+
</Tabs>
|
|
@@ -17,7 +17,7 @@ m365 spo site commsite enable [options]
|
|
|
17
17
|
: The URL of the site to enable communication site features on
|
|
18
18
|
|
|
19
19
|
`-i, --designPackageId [designPackageId]`
|
|
20
|
-
: The ID of the site design to apply when enabling communication site features
|
|
20
|
+
: The ID of the site design to apply when enabling communication site features. Allowed values are `96c933ac-3698-44c7-9f4a-5fd17d71af9e` (Topic = default), `6142d2a0-63a5-4ba0-aede-d9fefca2c767` (Showcase), `f6cc5403-0d63-442e-96c0-285923709ffc` (Blank)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
<Global />
|
|
@@ -37,3 +37,13 @@ Enable communication site features on an existing site
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo site commsite enable --url https://contoso.sharepoint.com
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
Enable communication site features on an existing site and apply Showcase design package
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo site commsite enable --url https://contoso.sharepoint.com --designPackageId 6142d2a0-63a5-4ba0-aede-d9fefca2c767
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
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 ensure
|
|
4
6
|
|
|
@@ -122,6 +124,74 @@ Ensure that a site exists at the specified URL. Create a modern team site if no
|
|
|
122
124
|
m365 spo site ensure --url https://contoso.sharepoint.com/sites/team1 --alias team1 --title "Team 1" --isPublic --shareByEmailEnabled
|
|
123
125
|
```
|
|
124
126
|
|
|
127
|
+
## Response
|
|
128
|
+
|
|
129
|
+
### Create a site if no site exists.
|
|
130
|
+
|
|
131
|
+
<Tabs>
|
|
132
|
+
<TabItem value="JSON">
|
|
133
|
+
|
|
134
|
+
```json
|
|
135
|
+
"\"https://contoso.sharepoint.com/teams/team1\""
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
</TabItem>
|
|
139
|
+
<TabItem value="Text">
|
|
140
|
+
|
|
141
|
+
```text
|
|
142
|
+
"https://contoso.sharepoint.com/teams/team1"
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
</TabItem>
|
|
146
|
+
<TabItem value="CSV">
|
|
147
|
+
|
|
148
|
+
```csv
|
|
149
|
+
"https://contoso.sharepoint.com/teams/team1"
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
</TabItem>
|
|
153
|
+
<TabItem value="Markdown">
|
|
154
|
+
|
|
155
|
+
```md
|
|
156
|
+
"https://contoso.sharepoint.com/teams/team1"
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
</TabItem>
|
|
160
|
+
</Tabs>
|
|
161
|
+
|
|
162
|
+
### If a site of different type is found
|
|
163
|
+
|
|
164
|
+
<Tabs>
|
|
165
|
+
<TabItem value="JSON">
|
|
166
|
+
|
|
167
|
+
```json
|
|
168
|
+
Error: Expected web template SITEPAGEPUBLISHING#0 but site found at https://contoso.sharepoint.com/teams/team1 is based on GROUP#0
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
</TabItem>
|
|
172
|
+
<TabItem value="Text">
|
|
173
|
+
|
|
174
|
+
```text
|
|
175
|
+
Error: Expected web template SITEPAGEPUBLISHING#0 but site found at https://contoso.sharepoint.com/teams/team1 is based on GROUP#0
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
</TabItem>
|
|
179
|
+
<TabItem value="CSV">
|
|
180
|
+
|
|
181
|
+
```csv
|
|
182
|
+
Error: Expected web template SITEPAGEPUBLISHING#0 but site found at https://contoso.sharepoint.com/teams/team1 is based on GROUP#0
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
</TabItem>
|
|
186
|
+
<TabItem value="Markdown">
|
|
187
|
+
|
|
188
|
+
```md
|
|
189
|
+
Error: Expected web template SITEPAGEPUBLISHING#0 but site found at https://contoso.sharepoint.com/teams/team1 is based on GROUP#0
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
</TabItem>
|
|
193
|
+
</Tabs>
|
|
194
|
+
|
|
125
195
|
## More information
|
|
126
196
|
|
|
127
197
|
- [`spo site add`](./site-add.mdx)
|
|
@@ -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 get
|
|
4
6
|
|
|
@@ -30,3 +32,180 @@ Return information about the _https://contoso.sharepoint.com/sites/project-x_ si
|
|
|
30
32
|
```sh
|
|
31
33
|
m365 spo site get -u https://contoso.sharepoint.com/sites/project-x
|
|
32
34
|
```
|
|
35
|
+
|
|
36
|
+
## Response
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="JSON">
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"AllowCreateDeclarativeWorkflow": true,
|
|
44
|
+
"AllowDesigner": true,
|
|
45
|
+
"AllowMasterPageEditing": false,
|
|
46
|
+
"AllowRevertFromTemplate": false,
|
|
47
|
+
"AllowSaveDeclarativeWorkflowAsTemplate": true,
|
|
48
|
+
"AllowSavePublishDeclarativeWorkflow": true,
|
|
49
|
+
"AllowSelfServiceUpgrade": true,
|
|
50
|
+
"AllowSelfServiceUpgradeEvaluation": true,
|
|
51
|
+
"AuditLogTrimmingRetention": 90,
|
|
52
|
+
"ChannelGroupId": "00000000-0000-0000-0000-000000000000",
|
|
53
|
+
"Classification": "",
|
|
54
|
+
"CompatibilityLevel": 15,
|
|
55
|
+
"CurrentChangeToken": {
|
|
56
|
+
"StringValue": "1;1;a6dd24a9-6fb1-45af-9e7e-5f8a2dbdf787;638229493994700000;1164779077"
|
|
57
|
+
},
|
|
58
|
+
"DisableAppViews": false,
|
|
59
|
+
"DisableCompanyWideSharingLinks": false,
|
|
60
|
+
"DisableFlows": false,
|
|
61
|
+
"ExternalSharingTipsEnabled": false,
|
|
62
|
+
"GeoLocation": "EUR",
|
|
63
|
+
"GroupId": "00000000-0000-0000-0000-000000000000",
|
|
64
|
+
"HubSiteId": "00000000-0000-0000-0000-000000000000",
|
|
65
|
+
"Id": "a6dd24a9-6fb1-45af-9e7e-5f8a2dbdf787",
|
|
66
|
+
"SensitivityLabelId": "",
|
|
67
|
+
"SensitivityLabel": "00000000-0000-0000-0000-000000000000",
|
|
68
|
+
"IsHubSite": false,
|
|
69
|
+
"LockIssue": null,
|
|
70
|
+
"MaxItemsPerThrottledOperation": 5000,
|
|
71
|
+
"MediaTranscriptionDisabled": false,
|
|
72
|
+
"NeedsB2BUpgrade": false,
|
|
73
|
+
"ResourcePath": {
|
|
74
|
+
"DecodedUrl": "https://contoso.sharepoint.com/sites/team1"
|
|
75
|
+
},
|
|
76
|
+
"PrimaryUri": "https://contoso.sharepoint.com/sites/team1",
|
|
77
|
+
"ReadOnly": false,
|
|
78
|
+
"RequiredDesignerVersion": "15.0.0.0",
|
|
79
|
+
"SandboxedCodeActivationCapability": 2,
|
|
80
|
+
"ServerRelativeUrl": "/sites/team1",
|
|
81
|
+
"ShareByEmailEnabled": false,
|
|
82
|
+
"ShareByLinkEnabled": false,
|
|
83
|
+
"ShowUrlStructure": false,
|
|
84
|
+
"TrimAuditLog": true,
|
|
85
|
+
"UIVersionConfigurationEnabled": false,
|
|
86
|
+
"UpgradeReminderDate": "1899-12-30T00:00:00",
|
|
87
|
+
"UpgradeScheduled": false,
|
|
88
|
+
"UpgradeScheduledDate": "1753-01-01T00:00:00",
|
|
89
|
+
"Upgrading": false,
|
|
90
|
+
"Url": "https://contoso.sharepoint.com/sites/team1",
|
|
91
|
+
"WriteLocked": false
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
</TabItem>
|
|
96
|
+
<TabItem value="Text">
|
|
97
|
+
|
|
98
|
+
```text
|
|
99
|
+
AllowCreateDeclarativeWorkflow : true
|
|
100
|
+
AllowDesigner : true
|
|
101
|
+
AllowMasterPageEditing : false
|
|
102
|
+
AllowRevertFromTemplate : false
|
|
103
|
+
AllowSaveDeclarativeWorkflowAsTemplate: true
|
|
104
|
+
AllowSavePublishDeclarativeWorkflow : true
|
|
105
|
+
AllowSelfServiceUpgrade : true
|
|
106
|
+
AllowSelfServiceUpgradeEvaluation : true
|
|
107
|
+
AuditLogTrimmingRetention : 90
|
|
108
|
+
ChannelGroupId : 00000000-0000-0000-0000-000000000000
|
|
109
|
+
Classification :
|
|
110
|
+
CompatibilityLevel : 15
|
|
111
|
+
CurrentChangeToken : {"StringValue":"1;1;a6dd24a9-6fb1-45af-9e7e-5f8a2dbdf787;638229494439430000;1164779297"}
|
|
112
|
+
DisableAppViews : false
|
|
113
|
+
DisableCompanyWideSharingLinks : false
|
|
114
|
+
DisableFlows : false
|
|
115
|
+
ExternalSharingTipsEnabled : false
|
|
116
|
+
GeoLocation : EUR
|
|
117
|
+
GroupId : 00000000-0000-0000-0000-000000000000
|
|
118
|
+
HubSiteId : 00000000-0000-0000-0000-000000000000
|
|
119
|
+
Id : a6dd24a9-6fb1-45af-9e7e-5f8a2dbdf787
|
|
120
|
+
IsHubSite : false
|
|
121
|
+
LockIssue : null
|
|
122
|
+
MaxItemsPerThrottledOperation : 5000
|
|
123
|
+
MediaTranscriptionDisabled : false
|
|
124
|
+
NeedsB2BUpgrade : false
|
|
125
|
+
PrimaryUri : https://contoso.sharepoint.com/sites/team1
|
|
126
|
+
ReadOnly : false
|
|
127
|
+
RequiredDesignerVersion : 15.0.0.0
|
|
128
|
+
ResourcePath : {"DecodedUrl":"https://contoso.sharepoint.com/sites/team1"}
|
|
129
|
+
SandboxedCodeActivationCapability : 2
|
|
130
|
+
SensitivityLabel : 00000000-0000-0000-0000-000000000000
|
|
131
|
+
SensitivityLabelId :
|
|
132
|
+
ServerRelativeUrl : /sites/team1
|
|
133
|
+
ShareByEmailEnabled : false
|
|
134
|
+
ShareByLinkEnabled : false
|
|
135
|
+
ShowUrlStructure : false
|
|
136
|
+
TrimAuditLog : true
|
|
137
|
+
UIVersionConfigurationEnabled : false
|
|
138
|
+
UpgradeReminderDate : 1899-12-30T00:00:00
|
|
139
|
+
UpgradeScheduled : false
|
|
140
|
+
UpgradeScheduledDate : 1753-01-01T00:00:00
|
|
141
|
+
Upgrading : false
|
|
142
|
+
Url : https://contoso.sharepoint.com/sites/team1
|
|
143
|
+
WriteLocked : false
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
</TabItem>
|
|
147
|
+
<TabItem value="CSV">
|
|
148
|
+
|
|
149
|
+
```csv
|
|
150
|
+
AllowCreateDeclarativeWorkflow,AllowDesigner,AllowMasterPageEditing,AllowRevertFromTemplate,AllowSaveDeclarativeWorkflowAsTemplate,AllowSavePublishDeclarativeWorkflow,AllowSelfServiceUpgrade,AllowSelfServiceUpgradeEvaluation,AuditLogTrimmingRetention,ChannelGroupId,Classification,CompatibilityLevel,DisableAppViews,DisableCompanyWideSharingLinks,DisableFlows,ExternalSharingTipsEnabled,GeoLocation,GroupId,HubSiteId,Id,SensitivityLabelId,SensitivityLabel,IsHubSite,MaxItemsPerThrottledOperation,MediaTranscriptionDisabled,NeedsB2BUpgrade,PrimaryUri,ReadOnly,RequiredDesignerVersion,SandboxedCodeActivationCapability,ServerRelativeUrl,ShareByEmailEnabled,ShareByLinkEnabled,ShowUrlStructure,TrimAuditLog,UIVersionConfigurationEnabled,UpgradeReminderDate,UpgradeScheduled,UpgradeScheduledDate,Upgrading,Url,WriteLocked
|
|
151
|
+
1,1,,,1,1,1,1,90,00000000-0000-0000-0000-000000000000,,15,,,,,EUR,00000000-0000-0000-0000-000000000000,00000000-0000-0000-0000-000000000000,a6dd24a9-6fb1-45af-9e7e-5f8a2dbdf787,,00000000-0000-0000-0000-000000000000,,5000,,,https://contoso.sharepoint.com/sites/team1,,15.0.0.0,2,/sites/team1,,,,1,,1899-12-30T00:00:00,,1753-01-01T00:00:00,,https://contoso.sharepoint.com/sites/team1,
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
</TabItem>
|
|
155
|
+
<TabItem value="Markdown">
|
|
156
|
+
|
|
157
|
+
```md
|
|
158
|
+
# spo site get --url "https://contoso.sharepoint.com/sites/team1"
|
|
159
|
+
|
|
160
|
+
Date: 2023-06-21
|
|
161
|
+
|
|
162
|
+
## a6dd24a9-6fb1-45af-9e7e-5f8a2dbdf787
|
|
163
|
+
|
|
164
|
+
Property | Value
|
|
165
|
+
---------|-------
|
|
166
|
+
AllowCreateDeclarativeWorkflow | true
|
|
167
|
+
AllowDesigner | true
|
|
168
|
+
AllowMasterPageEditing | false
|
|
169
|
+
AllowRevertFromTemplate | false
|
|
170
|
+
AllowSaveDeclarativeWorkflowAsTemplate | true
|
|
171
|
+
AllowSavePublishDeclarativeWorkflow | true
|
|
172
|
+
AllowSelfServiceUpgrade | true
|
|
173
|
+
AllowSelfServiceUpgradeEvaluation | true
|
|
174
|
+
AuditLogTrimmingRetention | 90
|
|
175
|
+
ChannelGroupId | 00000000-0000-0000-0000-000000000000
|
|
176
|
+
Classification |
|
|
177
|
+
CompatibilityLevel | 15
|
|
178
|
+
DisableAppViews | false
|
|
179
|
+
DisableCompanyWideSharingLinks | false
|
|
180
|
+
DisableFlows | false
|
|
181
|
+
ExternalSharingTipsEnabled | false
|
|
182
|
+
GeoLocation | EUR
|
|
183
|
+
GroupId | 00000000-0000-0000-0000-000000000000
|
|
184
|
+
HubSiteId | 00000000-0000-0000-0000-000000000000
|
|
185
|
+
Id | a6dd24a9-6fb1-45af-9e7e-5f8a2dbdf787
|
|
186
|
+
SensitivityLabelId |
|
|
187
|
+
SensitivityLabel | 00000000-0000-0000-0000-000000000000
|
|
188
|
+
IsHubSite | false
|
|
189
|
+
MaxItemsPerThrottledOperation | 5000
|
|
190
|
+
MediaTranscriptionDisabled | false
|
|
191
|
+
NeedsB2BUpgrade | false
|
|
192
|
+
PrimaryUri | https://contoso.sharepoint.com/sites/team1
|
|
193
|
+
ReadOnly | false
|
|
194
|
+
RequiredDesignerVersion | 15.0.0.0
|
|
195
|
+
SandboxedCodeActivationCapability | 2
|
|
196
|
+
ServerRelativeUrl | /sites/team1
|
|
197
|
+
ShareByEmailEnabled | false
|
|
198
|
+
ShareByLinkEnabled | false
|
|
199
|
+
ShowUrlStructure | false
|
|
200
|
+
TrimAuditLog | true
|
|
201
|
+
UIVersionConfigurationEnabled | false
|
|
202
|
+
UpgradeReminderDate | 1899-12-30T00:00:00
|
|
203
|
+
UpgradeScheduled | false
|
|
204
|
+
UpgradeScheduledDate | 1753-01-01T00:00:00
|
|
205
|
+
Upgrading | false
|
|
206
|
+
Url | https://contoso.sharepoint.com/sites/team1
|
|
207
|
+
WriteLocked | false
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
</TabItem>
|
|
211
|
+
</Tabs>
|
|
@@ -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 groupify
|
|
4
6
|
|
|
@@ -73,6 +75,58 @@ Connect site collection to an Microsoft 365 Group and keep the old home page
|
|
|
73
75
|
m365 spo site groupify --url https://contoso.sharepoin.com/sites/team-a --alias team-a --displayName 'Team A' --keepOldHomepage
|
|
74
76
|
```
|
|
75
77
|
|
|
78
|
+
## Response
|
|
79
|
+
|
|
80
|
+
<Tabs>
|
|
81
|
+
<TabItem value="JSON">
|
|
82
|
+
|
|
83
|
+
```json
|
|
84
|
+
{
|
|
85
|
+
"DocumentsUrl": null,
|
|
86
|
+
"ErrorMessage": null,
|
|
87
|
+
"GroupId": "a82ece01-09bd-4585-8247-7a0b72c97377",
|
|
88
|
+
"SiteStatus": 2,
|
|
89
|
+
"SiteUrl": "https://contoso.sharepoint.com/sites/team-a"
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="Text">
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
DocumentsUrl: null
|
|
98
|
+
ErrorMessage: null
|
|
99
|
+
GroupId : c962d943-c452-4930-9574-2440c8f29a15
|
|
100
|
+
SiteStatus : 2
|
|
101
|
+
SiteUrl : https://contoso.sharepoint.com/sites/team-a
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
</TabItem>
|
|
105
|
+
<TabItem value="CSV">
|
|
106
|
+
|
|
107
|
+
```csv
|
|
108
|
+
GroupId,SiteStatus,SiteUrl
|
|
109
|
+
615897ce-8112-4c5b-8ff6-14f8862a88fe,2,https://contoso.sharepoint.com/sites/team-a
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
</TabItem>
|
|
113
|
+
<TabItem value="Markdown">
|
|
114
|
+
|
|
115
|
+
```md
|
|
116
|
+
# spo site groupify --url "https://contoso.sharepoint.com/sites/team-a" --alias "team-a" --displayName "team-a"
|
|
117
|
+
|
|
118
|
+
Date: 2023-06-21
|
|
119
|
+
|
|
120
|
+
Property | Value
|
|
121
|
+
---------|-------
|
|
122
|
+
GroupId | 1db24833-3784-49fe-b683-1f913888774d
|
|
123
|
+
SiteStatus | 2
|
|
124
|
+
SiteUrl | https://contoso.sharepoint.com/sites/team-a
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
</TabItem>
|
|
128
|
+
</Tabs>
|
|
129
|
+
|
|
76
130
|
## More information
|
|
77
131
|
|
|
78
132
|
- Overview of the "Log in to new Microsoft 365 group" feature: [https://docs.microsoft.com/en-us/sharepoint/dev/features/groupify/groupify-overview](https://docs.microsoft.com/en-us/sharepoint/dev/features/groupify/groupify-overview)
|
|
@@ -36,6 +36,10 @@ Connect a specific site collection to a hub site
|
|
|
36
36
|
m365 spo site hubsite connect --siteUrl https://contoso.sharepoint.com/sites/contoso-sales --id 255a50b2-527f-4413-8485-57f4c17a24d1
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
## Response
|
|
40
|
+
|
|
41
|
+
The command won't return a response on success.
|
|
42
|
+
|
|
39
43
|
## More information
|
|
40
44
|
|
|
41
45
|
- SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
|
|
@@ -36,6 +36,10 @@ Disconnect a specific site collection from its hub site without prompting for co
|
|
|
36
36
|
m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales --force
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
## Response
|
|
40
|
+
|
|
41
|
+
The command won't return a response on success.
|
|
42
|
+
|
|
39
43
|
## More information
|
|
40
44
|
|
|
41
45
|
- SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
|
|
@@ -2,7 +2,7 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
|
|
3
3
|
# spo site hubsite theme sync
|
|
4
4
|
|
|
5
|
-
Applies any theme updates from the hub site the site is connected to.
|
|
5
|
+
Applies any theme updates from the hub site to the site it is connected to.
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
@@ -27,6 +27,10 @@ Applies any theme updates from the hub site to a specific site
|
|
|
27
27
|
m365 spo site hubsite theme sync --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
## Response
|
|
31
|
+
|
|
32
|
+
The command won't return a response on success.
|
|
33
|
+
|
|
30
34
|
## More information
|
|
31
35
|
|
|
32
36
|
- SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
|
|
@@ -35,3 +35,7 @@ Deactivates in-place records management for site _https://contoso.sharepoint.com
|
|
|
35
35
|
```sh
|
|
36
36
|
m365 spo site inplacerecordsmanagement set --siteUrl https://contoso.sharepoint.com/sites/team-a --enabled false
|
|
37
37
|
```
|
|
38
|
+
|
|
39
|
+
## Response
|
|
40
|
+
|
|
41
|
+
The command won't return a response on success.
|