@pnp/cli-microsoft365 11.9.0-beta.7b34e40 → 11.9.0-beta.93bd508

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.
Files changed (67) hide show
  1. package/.devproxy/api-specs/sharepoint.yaml +82 -0
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/m365/cli/commands/app/app-reconsent.js +8 -0
  5. package/dist/m365/cli/commands/cli-consent.js +8 -31
  6. package/dist/m365/cli/commands/cli-doctor.js +6 -1
  7. package/dist/m365/cli/commands/cli-issue.js +8 -36
  8. package/dist/m365/cli/commands/completion/completion-clink-update.js +8 -0
  9. package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +8 -16
  10. package/dist/m365/cli/commands/completion/completion-pwsh-update.js +8 -0
  11. package/dist/m365/cli/commands/completion/completion-sh-setup.js +8 -0
  12. package/dist/m365/cli/commands/completion/completion-sh-update.js +8 -0
  13. package/dist/m365/cli/commands/config/config-get.js +9 -32
  14. package/dist/m365/cli/commands/config/config-list.js +8 -0
  15. package/dist/m365/cli/commands/config/config-reset.js +9 -34
  16. package/dist/m365/cli/commands/config/config-set.js +86 -70
  17. package/dist/m365/commands/request.js +26 -60
  18. package/dist/m365/commands/search.js +59 -77
  19. package/dist/m365/commands/setup.js +16 -31
  20. package/dist/m365/commands/version.js +6 -0
  21. package/dist/m365/connection/commands/connection-remove.js +9 -29
  22. package/dist/m365/connection/commands/connection-use.js +8 -26
  23. package/dist/m365/context/commands/context-init.js +6 -0
  24. package/dist/m365/context/commands/option/option-set.js +9 -18
  25. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +32 -63
  26. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +21 -45
  27. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +32 -53
  28. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +34 -74
  29. package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +37 -57
  30. package/dist/m365/entra/commands/multitenant/multitenant-get.js +8 -1
  31. package/dist/m365/entra/commands/multitenant/multitenant-remove.js +8 -22
  32. package/dist/m365/entra/commands/multitenant/multitenant-set.js +15 -36
  33. package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +10 -31
  34. package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +8 -24
  35. package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +9 -17
  36. package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +9 -17
  37. package/dist/m365/spe/commands/container/container-permission-list.js +43 -4
  38. package/dist/m365/spo/commands/file/file-unarchive.js +83 -0
  39. package/dist/m365/spo/commands/folder/folder-archive.js +89 -0
  40. package/dist/m365/spo/commands.js +2 -0
  41. package/dist/m365/viva/commands/engage/engage-role-member-add.js +79 -0
  42. package/dist/m365/viva/commands.js +1 -0
  43. package/docs/docs/cmd/spe/container/container-get.mdx +13 -1
  44. package/docs/docs/cmd/spe/container/container-permission-list.mdx +24 -3
  45. package/docs/docs/cmd/spo/app/app-add.mdx +19 -0
  46. package/docs/docs/cmd/spo/app/app-deploy.mdx +21 -0
  47. package/docs/docs/cmd/spo/app/app-get.mdx +19 -0
  48. package/docs/docs/cmd/spo/app/app-install.mdx +21 -0
  49. package/docs/docs/cmd/spo/app/app-instance-list.mdx +19 -0
  50. package/docs/docs/cmd/spo/app/app-list.mdx +19 -0
  51. package/docs/docs/cmd/spo/app/app-remove.mdx +21 -0
  52. package/docs/docs/cmd/spo/app/app-retract.mdx +21 -0
  53. package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +21 -0
  54. package/docs/docs/cmd/spo/app/app-uninstall.mdx +21 -0
  55. package/docs/docs/cmd/spo/app/app-upgrade.mdx +21 -0
  56. package/docs/docs/cmd/spo/apppage/apppage-add.mdx +19 -1
  57. package/docs/docs/cmd/spo/apppage/apppage-set.mdx +21 -0
  58. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +19 -0
  59. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +19 -0
  60. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +19 -0
  61. package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +21 -0
  62. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +21 -0
  63. package/docs/docs/cmd/spo/file/file-unarchive.mdx +68 -0
  64. package/docs/docs/cmd/spo/folder/folder-archive.mdx +73 -0
  65. package/docs/docs/cmd/viva/engage/engage-role-member-add.mdx +76 -0
  66. package/npm-shrinkwrap.json +273 -128
  67. package/package.json +18 -18
@@ -20,6 +20,12 @@ m365 spe container get [options]
20
20
 
21
21
  `-n, --name [name]`
22
22
  : Display name of the container. Specify either `id` or `name` but not both.
23
+
24
+ `--containerTypeId [containerTypeId]`
25
+ : The container type ID of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `name` but not both.
26
+
27
+ `--containerTypeName [containerTypeName]`
28
+ : The container type name of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `name` but not both.
23
29
  ```
24
30
 
25
31
  <Global />
@@ -54,7 +60,13 @@ m365 spe container get --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDE
54
60
  Gets a container of a specific type by display name.
55
61
 
56
62
  ```sh
57
- m365 spe container get --name "My Application Storage Container"
63
+ m365 spe container get --name "My Application Storage Container" --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"
64
+ ```
65
+
66
+ Gets container by using its name and container type name.
67
+
68
+ ```sh
69
+ m365 spe container get --name "Invoices" --containerTypeName "My container type name"
58
70
  ```
59
71
 
60
72
  ## Response
@@ -15,8 +15,17 @@ m365 spe container permission list [options]
15
15
  ## Options
16
16
 
17
17
  ```md definition-list
18
- `-i, --containerId <id>`
19
- : The ID of the SharePoint Embedded Container.
18
+ `-i, --containerId [id]`
19
+ : The ID of the SharePoint Embedded Container. Specify either `containerId` or `containerName` but not both.
20
+
21
+ `-n, --containerName [containerName]`
22
+ : Display name of the SharePoint Embedded Container. Specify either `containerId` or `containerName` but not both.
23
+
24
+ `--containerTypeId [containerTypeId]`
25
+ : The container type ID of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
26
+
27
+ `--containerTypeName [containerTypeName]`
28
+ : The container type name of the container instance. Specify either `containerTypeId` or `containerTypeName` when using `containerName` but not both.
20
29
  ```
21
30
 
22
31
  <Global />
@@ -42,12 +51,24 @@ m365 spe container permission list [options]
42
51
 
43
52
  ## Examples
44
53
 
45
- Lists Container permissions.
54
+ Lists Container permissions by id.
46
55
 
47
56
  ```sh
48
57
  m365 spe container permission list --containerId "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
49
58
  ```
50
59
 
60
+ Lists Container permissions by display name.
61
+
62
+ ```sh
63
+ m365 spe container permission list --containerName "My Application Storage Container" --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"
64
+ ```
65
+
66
+ Lists Container permissions by display name and container type name.
67
+
68
+ ```sh
69
+ m365 spe container permission list --containerName "My Application Storage Container" --containerTypeName "My container type name"
70
+ ```
71
+
51
72
  ## Response
52
73
 
53
74
  <Tabs>
@@ -40,6 +40,25 @@ When specifying site collection app catalog, you can specify the URL either with
40
40
 
41
41
  If you try to upload a package that already exists in the app catalog without specifying the `--overwrite` option, the command will fail with an error stating that the specified package already exists.
42
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------------|
50
+ | SharePoint | AllSites.FullControl |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|-----------------------|
57
+ | SharePoint | Sites.FullControl.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
43
62
  ## Examples
44
63
 
45
64
  Add the package to the tenant app catalog.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo app deploy
4
6
 
@@ -39,6 +41,25 @@ When specifying site collection app catalog, you can specify the URL either with
39
41
 
40
42
  If the app with the specified ID doesn't exist in the app catalog, the command will fail with an error. Before you can deploy an app, you have to add it to the app catalog first using the [spo app add](./app-add.mdx) command.
41
43
 
44
+ ## Permissions
45
+
46
+ <Tabs>
47
+ <TabItem value="Delegated">
48
+
49
+ | Resource | Permissions |
50
+ |------------|----------------------|
51
+ | SharePoint | AllSites.FullControl |
52
+
53
+ </TabItem>
54
+ <TabItem value="Application">
55
+
56
+ | Resource | Permissions |
57
+ |------------|-----------------------|
58
+ | SharePoint | Sites.FullControl.All |
59
+
60
+ </TabItem>
61
+ </Tabs>
62
+
42
63
  ## Examples
43
64
 
44
65
  Deploy the specified app in the tenant app catalog. Try to resolve the URL of the tenant app catalog automatically.
@@ -36,6 +36,25 @@ When getting information about an app from the tenant app catalog, it's not nece
36
36
 
37
37
  When specifying site collection app catalog, you can specify the URL either with our without the _AppCatalog_ part, for example `https://contoso.sharepoint.com/sites/team-a/AppCatalog` or `https://contoso.sharepoint.com/sites/team-a`. CLI will accept both formats.
38
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |------------|---------------|
46
+ | SharePoint | AllSites.Read |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |------------|----------------|
53
+ | SharePoint | Sites.Read.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Examples
40
59
 
41
60
  Return details about the app with the specified ID available in the tenant app catalog.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo app install
4
6
 
@@ -29,6 +31,25 @@ m365 spo app install [options]
29
31
 
30
32
  If the app with the specified ID doesn't exist in the app catalog, the command will fail with an error. Before you can install app in a site, you have to add it to the tenant or site collection app catalog first using the [spo app add](./app-add.mdx) command.
31
33
 
34
+ ## Permissions
35
+
36
+ <Tabs>
37
+ <TabItem value="Delegated">
38
+
39
+ | Resource | Permissions |
40
+ |------------|----------------------|
41
+ | SharePoint | AllSites.FullControl |
42
+
43
+ </TabItem>
44
+ <TabItem value="Application">
45
+
46
+ | Resource | Permissions |
47
+ |------------|-----------------------|
48
+ | SharePoint | Sites.FullControl.All |
49
+
50
+ </TabItem>
51
+ </Tabs>
52
+
32
53
  ## Examples
33
54
 
34
55
  Install the app with the specified ID in the specified site.
@@ -21,6 +21,25 @@ m365 spo app instance list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |------------|---------------|
31
+ | SharePoint | AllSites.Read |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |------------|----------------|
38
+ | SharePoint | Sites.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Return a list of installed apps on the specified site.
@@ -32,6 +32,25 @@ When specifying site collection app catalog, you can specify the URL either with
32
32
 
33
33
  When using the text output type (default), the command lists only the values of the `Title`, `ID`, `Deployed` and `AppCatalogVersion` properties of the app. When setting the output type to JSON, all available properties are included in the command output.
34
34
 
35
+ ## Permissions
36
+
37
+ <Tabs>
38
+ <TabItem value="Delegated">
39
+
40
+ | Resource | Permissions |
41
+ |------------|---------------|
42
+ | SharePoint | AllSites.Read |
43
+
44
+ </TabItem>
45
+ <TabItem value="Application">
46
+
47
+ | Resource | Permissions |
48
+ |------------|----------------|
49
+ | SharePoint | Sites.Read.All |
50
+
51
+ </TabItem>
52
+ </Tabs>
53
+
35
54
  ## Examples
36
55
 
37
56
  Return the list of available apps from the tenant app catalog. Show the installed version in the site if applicable.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo app remove
4
6
 
@@ -36,6 +38,25 @@ When specifying site collection app catalog, you can specify the URL either with
36
38
 
37
39
  If the app with the specified ID doesn't exist in the app catalog, the command will fail with an error.
38
40
 
41
+ ## Permissions
42
+
43
+ <Tabs>
44
+ <TabItem value="Delegated">
45
+
46
+ | Resource | Permissions |
47
+ |------------|----------------------|
48
+ | SharePoint | AllSites.FullControl |
49
+
50
+ </TabItem>
51
+ <TabItem value="Application">
52
+
53
+ | Resource | Permissions |
54
+ |------------|-----------------------|
55
+ | SharePoint | Sites.FullControl.All |
56
+
57
+ </TabItem>
58
+ </Tabs>
59
+
39
60
  ## Examples
40
61
 
41
62
  Remove the specified app from the tenant app catalog. Try to resolve the URL of the tenant app catalog automatically. Additionally, will prompt for confirmation before actually retracting the app.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo app retract
4
6
 
@@ -36,6 +38,25 @@ When specifying site collection app catalog, you can specify the URL either with
36
38
 
37
39
  If the app with the specified ID doesn't exist in the app catalog, the command will fail with an error.
38
40
 
41
+ ## Permissions
42
+
43
+ <Tabs>
44
+ <TabItem value="Delegated">
45
+
46
+ | Resource | Permissions |
47
+ |------------|----------------------|
48
+ | SharePoint | AllSites.FullControl |
49
+
50
+ </TabItem>
51
+ <TabItem value="Application">
52
+
53
+ | Resource | Permissions |
54
+ |------------|-----------------------|
55
+ | SharePoint | Sites.FullControl.All |
56
+
57
+ </TabItem>
58
+ </Tabs>
59
+
39
60
  ## Examples
40
61
 
41
62
  Retract the specified app from the tenant app catalog. Try to resolve the URL of the tenant app catalog automatically. Additionally, will prompt for confirmation before actually retracting the app.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo app teamspackage download
4
6
 
@@ -39,6 +41,25 @@ If you try to download Teams app package for an SPFx solution that doesn't suppo
39
41
 
40
42
  For maximum performance, specify the URL of the tenant app catalog, the item ID (`appItemId`) of the SPFx package for which you want to download the Teams app package and the name of the file where you want to save the downloaded package to (`fileName`).
41
43
 
44
+ ## Permissions
45
+
46
+ <Tabs>
47
+ <TabItem value="Delegated">
48
+
49
+ | Resource | Permissions |
50
+ |------------|---------------|
51
+ | SharePoint | AllSites.Read |
52
+
53
+ </TabItem>
54
+ <TabItem value="Application">
55
+
56
+ | Resource | Permissions |
57
+ |------------|----------------|
58
+ | SharePoint | Sites.Read.All |
59
+
60
+ </TabItem>
61
+ </Tabs>
62
+
42
63
  ## Examples
43
64
 
44
65
  Downloads the Teams app package for the SPFx solution deployed to the tenant app catalog with the specified ID to a file with .zip extension named after the .sppkg file.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo app uninstall
4
6
 
@@ -32,6 +34,25 @@ m365 spo app uninstall [options]
32
34
 
33
35
  If the app with the specified ID doesn't exist in the app catalog, the command will fail with an error.
34
36
 
37
+ ## Permissions
38
+
39
+ <Tabs>
40
+ <TabItem value="Delegated">
41
+
42
+ | Resource | Permissions |
43
+ |------------|----------------------|
44
+ | SharePoint | AllSites.FullControl |
45
+
46
+ </TabItem>
47
+ <TabItem value="Application">
48
+
49
+ | Resource | Permissions |
50
+ |------------|-----------------------|
51
+ | SharePoint | Sites.FullControl.All |
52
+
53
+ </TabItem>
54
+ </Tabs>
55
+
35
56
  ## Examples
36
57
 
37
58
  Uninstall the app with the specified ID from the specified site.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo app upgrade
4
6
 
@@ -29,6 +31,25 @@ m365 spo app upgrade [options]
29
31
 
30
32
  If the app with the specified ID doesn't exist in the app catalog, the command will fail with an error.
31
33
 
34
+ ## Permissions
35
+
36
+ <Tabs>
37
+ <TabItem value="Delegated">
38
+
39
+ | Resource | Permissions |
40
+ |------------|----------------------|
41
+ | SharePoint | AllSites.FullControl |
42
+
43
+ </TabItem>
44
+ <TabItem value="Application">
45
+
46
+ | Resource | Permissions |
47
+ |------------|-----------------------|
48
+ | SharePoint | Sites.FullControl.All |
49
+
50
+ </TabItem>
51
+ </Tabs>
52
+
32
53
  ## Examples
33
54
 
34
55
  Upgrade the app with the specified ID in the specified site.
@@ -34,6 +34,25 @@ m365 spo apppage add [options]
34
34
 
35
35
  If you want to add the single-part app page to quick launch, use the addToQuickLaunch flag.
36
36
 
37
+ ## Permissions
38
+
39
+ <Tabs>
40
+ <TabItem value="Delegated">
41
+
42
+ | Resource | Permissions |
43
+ |------------|----------------|
44
+ | SharePoint | AllSites.Write |
45
+
46
+ </TabItem>
47
+ <TabItem value="Application">
48
+
49
+ | Resource | Permissions |
50
+ |------------|---------------------|
51
+ | SharePoint | Sites.ReadWrite.All |
52
+
53
+ </TabItem>
54
+ </Tabs>
55
+
37
56
  ## Examples
38
57
 
39
58
  Create a single-part app page in the specified site, webpart data is stored in the `$webPartData` variable
@@ -42,7 +61,6 @@ Create a single-part app page in the specified site, webpart data is stored in t
42
61
  m365 spo apppage add --title "Contoso" --webUrl "https://contoso.sharepoint.com" --webPartData $webPartData --addToQuickLaunch
43
62
  ```
44
63
 
45
-
46
64
  ## Response
47
65
 
48
66
  <Tabs>
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo apppage set
4
6
 
@@ -25,6 +27,25 @@ m365 spo apppage set [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------|
37
+ | SharePoint | AllSites.Write |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|---------------------|
44
+ | SharePoint | Sites.ReadWrite.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Examples
29
50
 
30
51
  Updates the single-part app page located in a specified site. Web part data is stored in the `$webPartData` variable.
@@ -60,6 +60,25 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
60
60
 
61
61
  This command can be used for configuring ListView Command Sets on a specific site. To configure a ListView Command Set tenant-wide, view our dedicated [spo tenant commandset add](../tenant/tenant-commandset-add.mdx) command.
62
62
 
63
+ ## Permissions
64
+
65
+ <Tabs>
66
+ <TabItem value="Delegated">
67
+
68
+ | Resource | Permissions |
69
+ |------------|----------------------|
70
+ | SharePoint | AllSites.FullControl |
71
+
72
+ </TabItem>
73
+ <TabItem value="Application">
74
+
75
+ | Resource | Permissions |
76
+ |------------|-----------------------|
77
+ | SharePoint | Sites.FullControl.All |
78
+
79
+ </TabItem>
80
+ </Tabs>
81
+
63
82
  ## Examples
64
83
 
65
84
  Adds a ListView Command Set to lists on the sales site.
@@ -42,6 +42,25 @@ If the command finds multiple command sets with the specified title, it will pro
42
42
 
43
43
  This command can be used for retrieving a ListView Command Set from a specific site. To retrieve a ListView Command Set that's installed tenant-wide, view our dedicated [spo tenant commandset get](../tenant/tenant-commandset-get.mdx) command.
44
44
 
45
+ ## Permissions
46
+
47
+ <Tabs>
48
+ <TabItem value="Delegated">
49
+
50
+ | Resource | Permissions |
51
+ |------------|---------------|
52
+ | SharePoint | AllSites.Read |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |------------|----------------|
59
+ | SharePoint | Sites.Read.All |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
45
64
  ## Examples
46
65
 
47
66
  Retrieves a ListView Command Set by title.
@@ -28,6 +28,25 @@ m365 spo commandset list [options]
28
28
 
29
29
  This command can be used for retrieving a list of ListView Command Sets from a specific site. To retrieve a list of ListView Command Sets that are installed tenant-wide, view our dedicated [spo tenant commandset list](../tenant/tenant-commandset-list.mdx) command.
30
30
 
31
+ ## Permissions
32
+
33
+ <Tabs>
34
+ <TabItem value="Delegated">
35
+
36
+ | Resource | Permissions |
37
+ |------------|---------------|
38
+ | SharePoint | AllSites.Read |
39
+
40
+ </TabItem>
41
+ <TabItem value="Application">
42
+
43
+ | Resource | Permissions |
44
+ |------------|----------------|
45
+ | SharePoint | Sites.Read.All |
46
+
47
+ </TabItem>
48
+ </Tabs>
49
+
31
50
  ## Examples
32
51
 
33
52
  Retrieves a list of ListView Command Sets.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo commandset remove
4
6
 
@@ -38,6 +40,25 @@ m365 spo commandset remove [options]
38
40
 
39
41
  This command can be used for removing a ListView Command Set from a specific site. To remove a ListView Command Set that's installed tenant-wide, view our dedicated [spo tenant commandset remove](../tenant/tenant-commandset-remove.mdx) command.
40
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------------|
50
+ | SharePoint | AllSites.FullControl |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|-----------------------|
57
+ | SharePoint | Sites.FullControl.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
41
62
  ## Examples
42
63
 
43
64
  Remove a ListView Command Set by title.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo commandset set
4
6
 
@@ -67,6 +69,25 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
67
69
 
68
70
  This command can be used for updating a ListView Command Set on a specific site. To update a ListView Command Set that's installed tenant-wide, view our dedicated [spo tenant commandset set](../tenant/tenant-commandset-set.mdx) command.
69
71
 
72
+ ## Permissions
73
+
74
+ <Tabs>
75
+ <TabItem value="Delegated">
76
+
77
+ | Resource | Permissions |
78
+ |------------|----------------------|
79
+ | SharePoint | AllSites.FullControl |
80
+
81
+ </TabItem>
82
+ <TabItem value="Application">
83
+
84
+ | Resource | Permissions |
85
+ |------------|-----------------------|
86
+ | SharePoint | Sites.FullControl.All |
87
+
88
+ </TabItem>
89
+ </Tabs>
90
+
70
91
  ## Examples
71
92
 
72
93
  Updates the title and location of a ListView Command Set on the sales site.