@pnp/cli-microsoft365 11.10.0 → 11.11.0-beta.1cb40cb

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 (55) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/config.js +1 -0
  4. package/dist/m365/entra/commands/agent/agent-list.js +48 -0
  5. package/dist/m365/entra/commands.js +1 -0
  6. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +23 -41
  7. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +9 -24
  8. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +24 -44
  9. package/dist/m365/pp/commands/copilot/copilot-get.js +23 -41
  10. package/dist/m365/pp/commands/copilot/copilot-list.js +9 -24
  11. package/dist/m365/pp/commands/copilot/copilot-remove.js +24 -44
  12. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +10 -26
  13. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +9 -24
  14. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +11 -29
  15. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +21 -33
  16. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +25 -46
  17. package/dist/m365/pp/commands/gateway/gateway-get.js +10 -23
  18. package/dist/m365/pp/commands/managementapp/managementapp-add.js +24 -36
  19. package/dist/m365/pp/commands/managementapp/managementapp-list.js +5 -0
  20. package/dist/m365/pp/commands/solution/solution-get.js +23 -41
  21. package/dist/m365/pp/commands/solution/solution-list.js +9 -24
  22. package/dist/m365/pp/commands/solution/solution-publish.js +25 -45
  23. package/dist/m365/pp/commands/solution/solution-publisher-add.js +26 -49
  24. package/dist/m365/pp/commands/solution/solution-publisher-get.js +23 -41
  25. package/dist/m365/pp/commands/solution/solution-publisher-list.js +10 -27
  26. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +24 -44
  27. package/dist/m365/pp/commands/solution/solution-remove.js +24 -44
  28. package/dist/m365/pp/commands/tenant/tenant-settings-set.js +81 -170
  29. package/dist/m365/spo/commands/folder/folder-add.js +1 -1
  30. package/docs/docs/cmd/entra/agent/agent-list.mdx +209 -0
  31. package/docs/docs/cmd/spo/file/file-version-clear.mdx +21 -0
  32. package/docs/docs/cmd/spo/file/file-version-get.mdx +19 -0
  33. package/docs/docs/cmd/spo/file/file-version-list.mdx +19 -0
  34. package/docs/docs/cmd/spo/file/file-version-remove.mdx +21 -0
  35. package/docs/docs/cmd/spo/file/file-version-restore.mdx +21 -0
  36. package/docs/docs/cmd/spo/folder/folder-add.mdx +20 -1
  37. package/docs/docs/cmd/spo/folder/folder-archive.mdx +2 -3
  38. package/docs/docs/cmd/spo/folder/folder-copy.mdx +19 -0
  39. package/docs/docs/cmd/spo/folder/folder-get.mdx +19 -0
  40. package/docs/docs/cmd/spo/folder/folder-list.mdx +19 -0
  41. package/docs/docs/cmd/spo/folder/folder-move.mdx +19 -0
  42. package/docs/docs/cmd/spo/folder/folder-remove.mdx +21 -0
  43. package/docs/docs/cmd/spo/folder/folder-set.mdx +21 -0
  44. package/docs/docs/cmd/todo/list/list-add.mdx +19 -0
  45. package/docs/docs/cmd/todo/list/list-get.mdx +19 -0
  46. package/docs/docs/cmd/todo/list/list-list.mdx +19 -0
  47. package/docs/docs/cmd/todo/list/list-remove.mdx +21 -0
  48. package/docs/docs/cmd/todo/list/list-set.mdx +21 -0
  49. package/docs/docs/cmd/todo/task/task-add.mdx +19 -0
  50. package/docs/docs/cmd/todo/task/task-get.mdx +19 -0
  51. package/docs/docs/cmd/todo/task/task-list.mdx +19 -0
  52. package/docs/docs/cmd/todo/task/task-remove.mdx +21 -0
  53. package/docs/docs/cmd/todo/task/task-set.mdx +19 -0
  54. package/npm-shrinkwrap.json +356 -190
  55. package/package.json +14 -14
@@ -27,7 +27,7 @@ m365 spo folder add [options]
27
27
  `--color [color]`
28
28
  : Visual color of the folder. Valid values are a color name or a number. Check remarks for more info.
29
29
 
30
- `--ensureParentFolders [ensureParentFolders]`
30
+ `--ensureParentFolders`
31
31
  : Ensure that the parent folder path is available. Any missing folders will be created recursively.
32
32
  ```
33
33
 
@@ -56,6 +56,25 @@ When you specify a value for `color`, consider the following:
56
56
  | Light purple | 14 | lightPurple |
57
57
  | Light pink | 15 | lightPink |
58
58
 
59
+ ## Permissions
60
+
61
+ <Tabs>
62
+ <TabItem value="Delegated">
63
+
64
+ | Resource | Permissions |
65
+ |------------|----------------|
66
+ | SharePoint | AllSites.Write |
67
+
68
+ </TabItem>
69
+ <TabItem value="Application">
70
+
71
+ | Resource | Permissions |
72
+ |------------|---------------------|
73
+ | SharePoint | Sites.ReadWrite.All |
74
+
75
+ </TabItem>
76
+ </Tabs>
77
+
59
78
  ## Examples
60
79
 
61
80
  Creates folder in a specific library within the site.
@@ -34,7 +34,6 @@ m365 spo folder archive [options]
34
34
 
35
35
  Folder archival can take some time to complete, as the status might not be reflected immediately.
36
36
 
37
-
38
37
  ## Permissions
39
38
 
40
39
  <Tabs>
@@ -56,13 +55,13 @@ Folder archival can take some time to complete, as the status might not be refle
56
55
 
57
56
  ## Examples
58
57
 
59
- Archive a folder by id without prompting for confirmation
58
+ Archive a folder by id without prompting for confirmation.
60
59
 
61
60
  ```sh
62
61
  m365 spo folder archive --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7a8c9207-7745-4cda-b0e2-be2618ee3030 --force
63
62
  ```
64
63
 
65
- Archive a folder by URL with prompting for confirmation
64
+ Archive a folder by URL with prompting for confirmation.
66
65
 
67
66
  ```sh
68
67
  m365 spo folder archive --webUrl https://contoso.sharepoint.com/sites/Marketing --url '/sites/Marketing/shared documents/folder'
@@ -46,6 +46,25 @@ When you specify a value for `nameConflictBehavior`, consider the following:
46
46
  - `fail` will throw an error when the destination folder already exists.
47
47
  - `rename` will add a suffix (e.g. Folder1) when the destination folder already exists.
48
48
 
49
+ ## Permissions
50
+
51
+ <Tabs>
52
+ <TabItem value="Delegated">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------|
56
+ | SharePoint | AllSites.Write |
57
+
58
+ </TabItem>
59
+ <TabItem value="Application">
60
+
61
+ | Resource | Permissions |
62
+ |------------|---------------------|
63
+ | SharePoint | Sites.ReadWrite.All |
64
+
65
+ </TabItem>
66
+ </Tabs>
67
+
49
68
  ## Examples
50
69
 
51
70
  Copy a folder a folder to another location using server-relative URLs
@@ -36,6 +36,25 @@ If no folder exists at the specified URL, you will get a `Please check the folde
36
36
 
37
37
  If root level folder is passed, you will get a `Please ensure the specified folder URL or folder Id does not refer to a root folder. Use \'spo list get\' with withPermissions instead' error.` Please use the command 'spo list get'.
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
  Get folder properties for a folder with a specific site-relative URL.
@@ -33,6 +33,25 @@ m365 spo folder list [options]
33
33
 
34
34
  <Global />
35
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |------------|---------------|
43
+ | SharePoint | AllSites.Read |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------|
50
+ | SharePoint | Sites.Read.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
36
55
  ## Examples
37
56
 
38
57
  Gets list of folders under a parent folder with site-relative URL.
@@ -46,6 +46,25 @@ When you specify a value for `nameConflictBehavior`, consider the following:
46
46
  - `fail` will throw an error when the destination folder already exists.
47
47
  - `rename` will add a suffix (e.g. folder1) when the destination folder already exists.
48
48
 
49
+ ## Permissions
50
+
51
+ <Tabs>
52
+ <TabItem value="Delegated">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------|
56
+ | SharePoint | AllSites.Write |
57
+
58
+ </TabItem>
59
+ <TabItem value="Application">
60
+
61
+ | Resource | Permissions |
62
+ |------------|---------------------|
63
+ | SharePoint | Sites.ReadWrite.All |
64
+
65
+ </TabItem>
66
+ </Tabs>
67
+
49
68
  ## Examples
50
69
 
51
70
  Move a folder to a document library in another site collection by server-relative URL.
@@ -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 folder remove
4
6
 
@@ -32,6 +34,25 @@ m365 spo folder remove [options]
32
34
 
33
35
  The `spo folder remove` command will remove folder only if it is empty. If the folder contains any files, deleting the folder will fail.
34
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
+
35
56
  ## Examples
36
57
 
37
58
  Remove a folder with a specific site-relative URL.
@@ -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 folder set
4
6
 
@@ -51,6 +53,25 @@ When you specify a value for `color`, consider the following:
51
53
  | Light purple | 14 | lightPurple |
52
54
  | Light pink | 15 | lightPink |
53
55
 
56
+ ## Permissions
57
+
58
+ <Tabs>
59
+ <TabItem value="Delegated">
60
+
61
+ | Resource | Permissions |
62
+ |------------|----------------|
63
+ | SharePoint | AllSites.Write |
64
+
65
+ </TabItem>
66
+ <TabItem value="Application">
67
+
68
+ | Resource | Permissions |
69
+ |------------|---------------------|
70
+ | SharePoint | Sites.ReadWrite.All |
71
+
72
+ </TabItem>
73
+ </Tabs>
74
+
54
75
  ## Examples
55
76
 
56
77
  Set the folder name to 'My Folder 2'
@@ -21,6 +21,25 @@ m365 todo list add [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|-----------------|
31
+ | Microsoft Graph | Tasks.ReadWrite |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|---------------------|
38
+ | Microsoft Graph | Tasks.ReadWrite.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Add a task list with the name _My task list_
@@ -24,6 +24,25 @@ m365 todo list get [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |-----------------|-------------|
34
+ | Microsoft Graph | Tasks.Read |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |-----------------|----------------|
41
+ | Microsoft Graph | Tasks.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Examples
28
47
 
29
48
  Get a specific Microsoft To Do task list based on id.
@@ -16,6 +16,25 @@ m365 todo list list [options]
16
16
 
17
17
  <Global />
18
18
 
19
+ ## Permissions
20
+
21
+ <Tabs>
22
+ <TabItem value="Delegated">
23
+
24
+ | Resource | Permissions |
25
+ |-----------------|-------------|
26
+ | Microsoft Graph | Tasks.Read |
27
+
28
+ </TabItem>
29
+ <TabItem value="Application">
30
+
31
+ | Resource | Permissions |
32
+ |-----------------|----------------|
33
+ | Microsoft Graph | Tasks.Read.All |
34
+
35
+ </TabItem>
36
+ </Tabs>
37
+
19
38
  ## Examples
20
39
 
21
40
  Get the list of Microsoft To Do task lists
@@ -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
  # todo list remove
4
6
 
@@ -25,6 +27,25 @@ m365 todo list remove [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |-----------------|-----------------|
37
+ | Microsoft Graph | Tasks.ReadWrite |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |-----------------|---------------------|
44
+ | Microsoft Graph | Tasks.ReadWrite.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Examples
29
50
 
30
51
  Remove a task list with specific name
@@ -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
  # todo list set
4
6
 
@@ -25,6 +27,25 @@ m365 todo list set [options]
25
27
 
26
28
  <Global />
27
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |-----------------|-----------------|
37
+ | Microsoft Graph | Tasks.ReadWrite |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |-----------------|---------------------|
44
+ | Microsoft Graph | Tasks.ReadWrite.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
28
49
  ## Examples
29
50
 
30
51
  Rename the list with a specific ID
@@ -58,6 +58,25 @@ m365 todo task add [options]
58
58
 
59
59
  When you specify the values for `categories`, each category can correspond to the displayName property of an [outlookCategory](https://learn.microsoft.com/graph/api/resources/outlookcategory?view=graph-rest-1.0). It is permissible to use distinct names.
60
60
 
61
+ ## Permissions
62
+
63
+ <Tabs>
64
+ <TabItem value="Delegated">
65
+
66
+ | Resource | Permissions |
67
+ |-----------------|-----------------|
68
+ | Microsoft Graph | Tasks.ReadWrite |
69
+
70
+ </TabItem>
71
+ <TabItem value="Application">
72
+
73
+ | Resource | Permissions |
74
+ |-----------------|---------------------|
75
+ | Microsoft Graph | Tasks.ReadWrite.All |
76
+
77
+ </TabItem>
78
+ </Tabs>
79
+
61
80
  ## Examples
62
81
 
63
82
  Add a task to Microsoft To Do tasks list with with a specific name.
@@ -27,6 +27,25 @@ m365 todo task get [options]
27
27
 
28
28
  <Global />
29
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |-----------------|-------------|
37
+ | Microsoft Graph | Tasks.Read |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |-----------------|----------------|
44
+ | Microsoft Graph | Tasks.Read.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
30
49
  ## Examples
31
50
 
32
51
  Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id.
@@ -24,6 +24,25 @@ m365 todo task list [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |-----------------|-------------|
34
+ | Microsoft Graph | Tasks.Read |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |-----------------|----------------|
41
+ | Microsoft Graph | Tasks.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Examples
28
47
 
29
48
  List tasks from Microsoft To Do tasks list with the name _My task list_
@@ -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
  # todo task remove
4
6
 
@@ -28,6 +30,25 @@ m365 todo task remove [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |-----------------|-----------------|
40
+ | Microsoft Graph | Tasks.ReadWrite |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |-----------------|---------------------|
47
+ | Microsoft Graph | Tasks.ReadWrite.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Removes Microsoft To Do task with the specified id in a list with the specified name
@@ -61,6 +61,25 @@ m365 todo task set [options]
61
61
 
62
62
  When you specify the values for `categories`, each category can correspond to the displayName property of an [outlookCategory](https://learn.microsoft.com/graph/api/resources/outlookcategory?view=graph-rest-1.0). It is permissible to use distinct names.
63
63
 
64
+ ## Permissions
65
+
66
+ <Tabs>
67
+ <TabItem value="Delegated">
68
+
69
+ | Resource | Permissions |
70
+ |-----------------|-----------------|
71
+ | Microsoft Graph | Tasks.ReadWrite |
72
+
73
+ </TabItem>
74
+ <TabItem value="Application">
75
+
76
+ | Resource | Permissions |
77
+ |-----------------|---------------------|
78
+ | Microsoft Graph | Tasks.ReadWrite.All |
79
+
80
+ </TabItem>
81
+ </Tabs>
82
+
64
83
  ## Examples
65
84
 
66
85
  Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with a specific name.