@pnp/cli-microsoft365 6.10.0-beta.81a81c0 → 6.10.0-beta.97b7eac
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/README.md +7 -5
- 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/planner/commands/roster/roster-member-add.js +3 -14
- 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-doctor/doctor-1.18.0-beta.1.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +59 -51
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0-beta.1.js +61 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
- 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 +12 -15
- 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/meeting/meeting-get.js +16 -24
- package/dist/m365/teams/commands/meeting/meeting-list.js +2 -15
- 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 +17 -0
- 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-get.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
- 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/pp/aibuildermodel/aibuildermodel-get.mdx +1 -1
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +1 -1
- package/docs/docs/cmd/pp/card/card-clone.mdx +1 -1
- package/docs/docs/cmd/pp/card/card-get.mdx +1 -1
- package/docs/docs/cmd/pp/card/card-list.mdx +1 -1
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +1 -1
- package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- 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-get.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +12 -3
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
- 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/spo/userprofile/userprofile-get.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +66 -0
- package/npm-shrinkwrap.json +212 -212
- package/package.json +10 -10
|
@@ -16,10 +16,13 @@ m365 planner bucket list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`--planId [planId]`
|
|
19
|
-
: ID of the plan to list the buckets of. Specify either `planId` or `
|
|
19
|
+
: ID of the plan to list the buckets of. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
|
|
20
20
|
|
|
21
21
|
`--planTitle [planTitle]`
|
|
22
|
-
: Title of the plan to list the buckets of. Specify either `planId` or `
|
|
22
|
+
: Title of the plan to list the buckets of. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
|
|
23
|
+
|
|
24
|
+
`--rosterId [rosterId]`
|
|
25
|
+
: ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
|
|
23
26
|
|
|
24
27
|
`--ownerGroupId [ownerGroupId]`
|
|
25
28
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -30,20 +33,34 @@ m365 planner bucket list [options]
|
|
|
30
33
|
|
|
31
34
|
<Global />
|
|
32
35
|
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
:::caution
|
|
39
|
+
|
|
40
|
+
When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
41
|
+
|
|
42
|
+
:::
|
|
43
|
+
|
|
33
44
|
## Examples
|
|
34
45
|
|
|
35
|
-
Lists the Microsoft Planner buckets
|
|
46
|
+
Lists the Microsoft Planner buckets based on its plan ID
|
|
36
47
|
|
|
37
48
|
```sh
|
|
38
49
|
m365 planner bucket list --planId "xqQg5FS2LkCp935s-FIFm2QAFkHM"
|
|
39
50
|
```
|
|
40
51
|
|
|
41
|
-
Lists the Microsoft Planner buckets
|
|
52
|
+
Lists the Microsoft Planner buckets based on its plan title and owner group name
|
|
42
53
|
|
|
43
54
|
```sh
|
|
44
55
|
m365 planner bucket list --planTitle "My Plan" --ownerGroupName "My Group"
|
|
45
56
|
```
|
|
46
57
|
|
|
58
|
+
Lists the Microsoft Planner buckets based on its Roster ID
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
m365 planner bucket list --planTitle "My Plan" --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI"
|
|
62
|
+
```
|
|
63
|
+
|
|
47
64
|
## Response
|
|
48
65
|
|
|
49
66
|
<Tabs>
|
|
@@ -20,10 +20,13 @@ m365 planner bucket remove [options]
|
|
|
20
20
|
: Name of the bucket to remove. Specify either `id` or `name` but not both.
|
|
21
21
|
|
|
22
22
|
`--planId [planId]`
|
|
23
|
-
: ID of the plan to which the bucket to remove belongs. Specify either `planId` or `
|
|
23
|
+
: ID of the plan to which the bucket to remove belongs. Specify either `planId`, `planTitle`, or `rosterId` but not multiple when using `name`.
|
|
24
24
|
|
|
25
25
|
`--planTitle [planTitle]`
|
|
26
|
-
: Title of the plan to which the bucket to remove belongs. Specify either `planId` or `
|
|
26
|
+
: Title of the plan to which the bucket to remove belongs. Specify either `planId`, `planTitle`, or `rosterId` but not multiple when using `name`.
|
|
27
|
+
|
|
28
|
+
`--rosterId [rosterId]`
|
|
29
|
+
: ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` but not multiple when using `name`.
|
|
27
30
|
|
|
28
31
|
`--ownerGroupId [ownerGroupId]`
|
|
29
32
|
: ID of the group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -37,6 +40,14 @@ m365 planner bucket remove [options]
|
|
|
37
40
|
|
|
38
41
|
<Global />
|
|
39
42
|
|
|
43
|
+
## Remarks
|
|
44
|
+
|
|
45
|
+
:::caution
|
|
46
|
+
|
|
47
|
+
When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
48
|
+
|
|
49
|
+
:::
|
|
50
|
+
|
|
40
51
|
## Examples
|
|
41
52
|
|
|
42
53
|
Removes the Microsoft Planner bucket by ID
|
|
@@ -51,18 +62,24 @@ Removes the Microsoft Planner bucket by ID without confirmation
|
|
|
51
62
|
m365 planner bucket remove --id "vncYUXCRBke28qMLB-d4xJcACtNz" --confirm
|
|
52
63
|
```
|
|
53
64
|
|
|
54
|
-
Removes the Microsoft Planner bucket
|
|
65
|
+
Removes the Microsoft Planner bucket by its name based on the plan ID
|
|
55
66
|
|
|
56
67
|
```sh
|
|
57
68
|
m365 planner bucket remove --name "My Bucket" --planId "oUHpnKBFekqfGE_PS6GGUZcAFY7b"
|
|
58
69
|
```
|
|
59
70
|
|
|
60
|
-
Removes the Microsoft Planner bucket
|
|
71
|
+
Removes the Microsoft Planner bucket by its name based on the plan title and owner group name
|
|
61
72
|
|
|
62
73
|
```sh
|
|
63
74
|
m365 planner bucket remove --name "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
|
|
64
75
|
```
|
|
65
76
|
|
|
77
|
+
Removes the Microsoft Planner bucket by its name based on the Roster ID
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
m365 planner bucket remove --name "My Bucket" --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI"
|
|
81
|
+
```
|
|
82
|
+
|
|
66
83
|
## Response
|
|
67
84
|
|
|
68
85
|
The command won't return a response on success.
|
|
@@ -20,10 +20,13 @@ m365 planner bucket set [options]
|
|
|
20
20
|
: Name of the bucket. Specify either `id` or `name` but not both.
|
|
21
21
|
|
|
22
22
|
`--planId [planId]`
|
|
23
|
-
: ID of the plan to update the bucket of. Specify either `planId` or `
|
|
23
|
+
: ID of the plan to update the bucket of. Specify either `planId`, `planTitle`, or `rosterId` but not multiple when using `name`.
|
|
24
24
|
|
|
25
25
|
`--planTitle [planTitle]`
|
|
26
|
-
: Title of the plan to update the bucket of. Specify either `planId` or `
|
|
26
|
+
: Title of the plan to update the bucket of. Specify either `planId`, `planTitle`, or `rosterId` but not multiple when using `name`. Always use in combination with either `ownerGroupId` or `ownerGroupName`.
|
|
27
|
+
|
|
28
|
+
`--rosterId [rosterId]`
|
|
29
|
+
: ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` but not multiple when using `name`.
|
|
27
30
|
|
|
28
31
|
`--ownerGroupId [ownerGroupId]`
|
|
29
32
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -40,26 +43,40 @@ m365 planner bucket set [options]
|
|
|
40
43
|
|
|
41
44
|
<Global />
|
|
42
45
|
|
|
46
|
+
## Remarks
|
|
47
|
+
|
|
48
|
+
:::caution
|
|
49
|
+
|
|
50
|
+
When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
51
|
+
|
|
52
|
+
:::
|
|
53
|
+
|
|
43
54
|
## Examples
|
|
44
55
|
|
|
45
|
-
Updates the Microsoft Planner bucket
|
|
56
|
+
Updates the Microsoft Planner bucket by its ID
|
|
46
57
|
|
|
47
58
|
```sh
|
|
48
59
|
m365 planner bucket set --id "vncYUXCRBke28qMLB-d4xJcACtNz" --newName "New bucket name"
|
|
49
60
|
```
|
|
50
61
|
|
|
51
|
-
Updates the Microsoft Planner bucket
|
|
62
|
+
Updates the Microsoft Planner bucket with a given name based on its plan title and owner group name
|
|
52
63
|
|
|
53
64
|
```sh
|
|
54
65
|
m365 planner bucket set --name "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group" --newName "New bucket name"
|
|
55
66
|
```
|
|
56
67
|
|
|
57
|
-
Updates the Microsoft Planner bucket
|
|
68
|
+
Updates the Microsoft Planner bucket with a given name based on its plan title and owner group ID
|
|
58
69
|
|
|
59
70
|
```sh
|
|
60
71
|
m365 planner bucket set --name "My Bucket" --planTitle "My Plan" --ownerGroupId 00000000-0000-0000-0000-000000000000 --newName "New bucket name"
|
|
61
72
|
```
|
|
62
73
|
|
|
74
|
+
Updates the Microsoft Planner bucket with a given name based on its Roster ID
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
m365 planner bucket set --name "My Bucket" --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI" --newName "New bucket name"
|
|
78
|
+
```
|
|
79
|
+
|
|
63
80
|
## Response
|
|
64
81
|
|
|
65
82
|
The command won't return a response on success.
|
|
@@ -19,7 +19,7 @@ m365 spo file retentionlabel ensure [options]
|
|
|
19
19
|
`--fileUrl [fileUrl]`
|
|
20
20
|
: The site- or server-relative URL of the file that should be labelled. Specify either `fileUrl` or `fileId` but not both.
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
`-i, --fileId [fileId]`
|
|
23
23
|
: The UniqueId (GUID) of the file that should be labelled. Specify either `fileUrl` or `fileId` but not both.
|
|
24
24
|
|
|
25
25
|
`--name <name>`
|
|
@@ -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 add
|
|
4
6
|
|
|
@@ -178,6 +180,39 @@ Create new classic site collection using the Team site template. Set time zone t
|
|
|
178
180
|
m365 spo site add --type ClassicSite --url https://contoso.sharepoint.com/sites/team --title Team --owners admin@contoso.onmicrosoft.com --timeZone 4 --webTemplate STS#0 --removeDeletedSite --wait
|
|
179
181
|
```
|
|
180
182
|
|
|
183
|
+
## Response
|
|
184
|
+
|
|
185
|
+
<Tabs>
|
|
186
|
+
<TabItem value="JSON">
|
|
187
|
+
|
|
188
|
+
```json
|
|
189
|
+
"https://contoso.sharepoint.com/sites/marketing"
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
</TabItem>
|
|
193
|
+
<TabItem value="Text">
|
|
194
|
+
|
|
195
|
+
```text
|
|
196
|
+
https://contoso.sharepoint.com/sites/marketing
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
</TabItem>
|
|
200
|
+
<TabItem value="CSV">
|
|
201
|
+
|
|
202
|
+
```csv
|
|
203
|
+
https://contoso.sharepoint.com/sites/marketing
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
</TabItem>
|
|
207
|
+
<TabItem value="Markdown">
|
|
208
|
+
|
|
209
|
+
```md
|
|
210
|
+
https://contoso.sharepoint.com/sites/marketing
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
</TabItem>
|
|
214
|
+
</Tabs>
|
|
215
|
+
|
|
181
216
|
## More information
|
|
182
217
|
|
|
183
218
|
- Creating SharePoint Communication Site using REST: [https://docs.microsoft.com/en-us/sharepoint/dev/apis/communication-site-creation-rest](https://docs.microsoft.com/en-us/sharepoint/dev/apis/communication-site-creation-rest)
|
|
@@ -32,9 +32,13 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
32
32
|
Add a site collection app catalog to the specified site
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
m365 spo site appcatalog add --siteUrl https://contoso.sharepoint/sites/site
|
|
35
|
+
m365 spo site appcatalog add --siteUrl https://contoso.sharepoint.com/sites/site
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
The command won't return a response on success.
|
|
41
|
+
|
|
38
42
|
## More information
|
|
39
43
|
|
|
40
44
|
- Use the site collection app catalog: [https://docs.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog)
|
|
@@ -64,6 +64,20 @@ m365 spo site appcatalog list
|
|
|
64
64
|
https://contoso.sharepoint.com/sites/site1,9798e615-b586-455e-8486-84913f492c49
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
</TabItem>
|
|
68
|
+
<TabItem value="Markdown">
|
|
69
|
+
|
|
70
|
+
```md
|
|
71
|
+
# spo site appcatalog list
|
|
72
|
+
|
|
73
|
+
Date: 2023-06-21
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
AbsoluteUrl | https://contoso.sharepoint.com/sites/site1
|
|
78
|
+
SiteID | 9798e615-b586-455e-8486-84913f492c49
|
|
79
|
+
```
|
|
80
|
+
|
|
67
81
|
</TabItem>
|
|
68
82
|
</Tabs>
|
|
69
83
|
|
|
@@ -37,6 +37,10 @@ Remove the site collection app catalog from specified site
|
|
|
37
37
|
m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
## Response
|
|
41
|
+
|
|
42
|
+
The command won't return a response on success.
|
|
43
|
+
|
|
40
44
|
## More information
|
|
41
45
|
|
|
42
46
|
- Use the site collection app catalog: [https://docs.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog)
|
|
@@ -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 add
|
|
4
6
|
|
|
@@ -39,3 +41,69 @@ Grants the specified app the _read_ permission to site _https://contoso.sharepoi
|
|
|
39
41
|
```sh
|
|
40
42
|
m365 spo site apppermission add --siteUrl https://contoso.sharepoint.com/sites/project-x --permission read --appDisplayName Foo
|
|
41
43
|
```
|
|
44
|
+
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
<Tabs>
|
|
48
|
+
<TabItem value="JSON">
|
|
49
|
+
|
|
50
|
+
```json
|
|
51
|
+
{
|
|
52
|
+
"id": "aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0",
|
|
53
|
+
"roles": [
|
|
54
|
+
"read"
|
|
55
|
+
],
|
|
56
|
+
"grantedToIdentitiesV2": [
|
|
57
|
+
{
|
|
58
|
+
"application": {
|
|
59
|
+
"displayName": "Foo",
|
|
60
|
+
"id": "5c89fbbf-670e-48e7-a0bc-fa8942c895a2"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"grantedToIdentities": [
|
|
65
|
+
{
|
|
66
|
+
"application": {
|
|
67
|
+
"displayName": "Foo",
|
|
68
|
+
"id": "5c89fbbf-670e-48e7-a0bc-fa8942c895a2"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
<TabItem value="Text">
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
grantedToIdentities : [{"application":{"displayName":"Foo","id":"5c89fbbf-670e-48e7-a0bc-fa8942c895a2"}}]
|
|
80
|
+
grantedToIdentitiesV2: [{"application":{"displayName":"Foo","id":"5c89fbbf-670e-48e7-a0bc-fa8942c895a2"}}]
|
|
81
|
+
id : aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
82
|
+
roles : ["read"]
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
</TabItem>
|
|
86
|
+
<TabItem value="CSV">
|
|
87
|
+
|
|
88
|
+
```csv
|
|
89
|
+
id
|
|
90
|
+
aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="Markdown">
|
|
95
|
+
|
|
96
|
+
```md
|
|
97
|
+
# spo site apppermission add --siteUrl "https://contoso.sharepoint.com/sites/team1" --permission "read" --appDisplayName "Foo"
|
|
98
|
+
|
|
99
|
+
Date: 2023-06-21
|
|
100
|
+
|
|
101
|
+
## aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
102
|
+
|
|
103
|
+
Property | Value
|
|
104
|
+
---------|-------
|
|
105
|
+
id | aTowaS50fG1zLnNwLmV4dHw1Yzg5ZmJiZi02NzBlLTQ4ZTctYTBiYy1mYTg5NDJjODk1YTJAMWU4NTJiNDktYmY0Yi00YmE1LWJjZDQtYThjNDcwNmM4ZWQ0
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
</TabItem>
|
|
109
|
+
</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 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.
|