@pnp/cli-microsoft365 11.10.0-beta.fdeb2ae → 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 (97) hide show
  1. package/.devcontainer/Dockerfile +1 -1
  2. package/.devproxy/api-specs/sharepoint-admin.yaml +50 -0
  3. package/Dockerfile +1 -1
  4. package/allCommands.json +1 -1
  5. package/allCommandsFull.json +1 -1
  6. package/dist/Auth.js +4 -2
  7. package/dist/config.js +1 -0
  8. package/dist/m365/entra/commands/agent/agent-list.js +48 -0
  9. package/dist/m365/entra/commands.js +1 -0
  10. package/dist/m365/outlook/commands/event/event-get.js +77 -0
  11. package/dist/m365/outlook/commands.js +1 -0
  12. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +23 -41
  13. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +9 -24
  14. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +24 -44
  15. package/dist/m365/pp/commands/copilot/copilot-get.js +23 -41
  16. package/dist/m365/pp/commands/copilot/copilot-list.js +9 -24
  17. package/dist/m365/pp/commands/copilot/copilot-remove.js +24 -44
  18. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +10 -26
  19. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +9 -24
  20. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +11 -29
  21. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +21 -33
  22. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +25 -46
  23. package/dist/m365/pp/commands/gateway/gateway-get.js +10 -23
  24. package/dist/m365/pp/commands/managementapp/managementapp-add.js +24 -36
  25. package/dist/m365/pp/commands/managementapp/managementapp-list.js +5 -0
  26. package/dist/m365/pp/commands/solution/solution-get.js +23 -41
  27. package/dist/m365/pp/commands/solution/solution-list.js +9 -24
  28. package/dist/m365/pp/commands/solution/solution-publish.js +25 -45
  29. package/dist/m365/pp/commands/solution/solution-publisher-add.js +26 -49
  30. package/dist/m365/pp/commands/solution/solution-publisher-get.js +23 -41
  31. package/dist/m365/pp/commands/solution/solution-publisher-list.js +10 -27
  32. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +24 -44
  33. package/dist/m365/pp/commands/solution/solution-remove.js +24 -44
  34. package/dist/m365/pp/commands/tenant/tenant-settings-set.js +81 -170
  35. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
  36. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.2.js +19 -0
  37. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  38. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.2.js +55 -0
  39. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  40. package/dist/m365/spo/commands/folder/folder-add.js +1 -1
  41. package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
  42. package/dist/m365/spo/commands/web/{web-alert-list.js → web-rule-list.js} +7 -4
  43. package/dist/m365/spo/commands/web/{web-alert-remove.js → web-rule-remove.js} +7 -4
  44. package/dist/m365/spo/commands.js +2 -0
  45. package/docs/docs/cmd/entra/agent/agent-list.mdx +209 -0
  46. package/docs/docs/cmd/outlook/event/event-get.mdx +280 -0
  47. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  48. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +21 -0
  49. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +21 -0
  50. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +21 -0
  51. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -0
  52. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -0
  53. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +21 -0
  54. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +21 -0
  55. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +19 -0
  56. package/docs/docs/cmd/spo/file/file-version-clear.mdx +21 -0
  57. package/docs/docs/cmd/spo/file/file-version-get.mdx +19 -0
  58. package/docs/docs/cmd/spo/file/file-version-list.mdx +19 -0
  59. package/docs/docs/cmd/spo/file/file-version-remove.mdx +21 -0
  60. package/docs/docs/cmd/spo/file/file-version-restore.mdx +21 -0
  61. package/docs/docs/cmd/spo/folder/folder-add.mdx +20 -1
  62. package/docs/docs/cmd/spo/folder/folder-archive.mdx +2 -3
  63. package/docs/docs/cmd/spo/folder/folder-copy.mdx +19 -0
  64. package/docs/docs/cmd/spo/folder/folder-get.mdx +19 -0
  65. package/docs/docs/cmd/spo/folder/folder-list.mdx +19 -0
  66. package/docs/docs/cmd/spo/folder/folder-move.mdx +19 -0
  67. package/docs/docs/cmd/spo/folder/folder-remove.mdx +21 -0
  68. package/docs/docs/cmd/spo/folder/folder-set.mdx +21 -0
  69. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +21 -2
  70. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +19 -0
  71. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +19 -0
  72. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +24 -3
  73. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +21 -2
  74. package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +21 -0
  75. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +19 -0
  76. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +21 -0
  77. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +19 -0
  78. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +19 -0
  79. package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +19 -0
  80. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +21 -0
  81. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +21 -0
  82. package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +19 -0
  83. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +21 -0
  84. package/docs/docs/cmd/spo/web/{web-alert-list.mdx → web-rule-list.mdx} +13 -7
  85. package/docs/docs/cmd/spo/web/{web-alert-remove.mdx → web-rule-remove.mdx} +10 -4
  86. package/docs/docs/cmd/todo/list/list-add.mdx +19 -0
  87. package/docs/docs/cmd/todo/list/list-get.mdx +19 -0
  88. package/docs/docs/cmd/todo/list/list-list.mdx +19 -0
  89. package/docs/docs/cmd/todo/list/list-remove.mdx +21 -0
  90. package/docs/docs/cmd/todo/list/list-set.mdx +21 -0
  91. package/docs/docs/cmd/todo/task/task-add.mdx +19 -0
  92. package/docs/docs/cmd/todo/task/task-get.mdx +19 -0
  93. package/docs/docs/cmd/todo/task/task-list.mdx +19 -0
  94. package/docs/docs/cmd/todo/task/task-remove.mdx +21 -0
  95. package/docs/docs/cmd/todo/task/task-set.mdx +19 -0
  96. package/npm-shrinkwrap.json +1575 -696
  97. package/package.json +20 -20
@@ -44,6 +44,25 @@ To use this command you must be a Global or SharePoint administrator.
44
44
 
45
45
  :::
46
46
 
47
+ ## Permissions
48
+
49
+ <Tabs>
50
+ <TabItem value="Delegated">
51
+
52
+ | Resource | Permissions |
53
+ |------------|----------------------|
54
+ | SharePoint | AllSites.FullControl |
55
+
56
+ </TabItem>
57
+ <TabItem value="Application">
58
+
59
+ | Resource | Permissions |
60
+ |------------|-----------------------|
61
+ | SharePoint | Sites.FullControl.All |
62
+
63
+ </TabItem>
64
+ </Tabs>
65
+
47
66
  ## Examples
48
67
 
49
68
  Sets the home site to the provided site collection url and sets the Viva Connections landing experience to the SharePoint home site
@@ -70,13 +89,13 @@ Set the audience to groups using groups Ids
70
89
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceIds "978b5280-4f80-47ea-a1db-b0d1d2fb1ba4,21af775d-17b3-4637-94a4-2ba8625277cb"
71
90
  ```
72
91
 
73
- Set the audience to using their display name
92
+ Set the audience using their display name
74
93
 
75
94
  ```sh
76
95
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames "Marketing, IT department"
77
96
  ```
78
97
 
79
- Clear the audience and set to draft
98
+ Clear the audience and set to draft
80
99
 
81
100
  ```sh
82
101
  m365 spo homesite set --url https://contoso.sharepoint.com/sites/contosoportal --audienceNames '' --draftMode true
@@ -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 hubsite connect
4
6
 
@@ -44,6 +46,25 @@ To use this command you must be a Global or SharePoint administrator.
44
46
 
45
47
  To connect a regular site to a hub site, use command [spo site hubsite connect](../site/site-hubsite-connect.mdx).
46
48
 
49
+ ## Permissions
50
+
51
+ <Tabs>
52
+ <TabItem value="Delegated">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------------|
56
+ | SharePoint | AllSites.FullControl |
57
+
58
+ </TabItem>
59
+ <TabItem value="Application">
60
+
61
+ | Resource | Permissions |
62
+ |------------|-----------------------|
63
+ | SharePoint | Sites.FullControl.All |
64
+
65
+ </TabItem>
66
+ </Tabs>
67
+
47
68
  ## Examples
48
69
 
49
70
  Connect a specific hub site to specific parent hub site by ID.
@@ -30,6 +30,25 @@ By default, the hub site data is returned from the server's cache. To refresh th
30
30
 
31
31
  If the specified site is not connected to a hub site site and is not a hub site itself, no data will be retrieved.
32
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|---------------|
40
+ | SharePoint | AllSites.Read |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | Sites.Read.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  Get information about the hub site data for a specific site with 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 hubsite disconnect
4
6
 
@@ -40,6 +42,25 @@ To disconnect a regular site from a hub site, use command [spo site hubsite disc
40
42
 
41
43
  If the specified id doesn't point to a valid hub site, you will get a ResourceNotFoundException error.
42
44
 
45
+ ## Permissions
46
+
47
+ <Tabs>
48
+ <TabItem value="Delegated">
49
+
50
+ | Resource | Permissions |
51
+ |------------|----------------------|
52
+ | SharePoint | AllSites.FullControl |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |------------|-----------------------|
59
+ | SharePoint | Sites.FullControl.All |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
43
64
  ## Examples
44
65
 
45
66
  Disconnect a specific hub site with id from its parent hub site.
@@ -30,6 +30,25 @@ m365 spo hubsite get [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|---------------|
40
+ | SharePoint | AllSites.Read |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | Sites.Read.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  Get information about the hub site with specific ID.
@@ -25,6 +25,25 @@ m365 spo hubsite list [options]
25
25
 
26
26
  When using the text or csv output type, the command lists only the values of the `ID`, `SiteUrl` and `Title` properties of the hub site. With the output type as JSON, all available properties are included in the command output.
27
27
 
28
+ ## Permissions
29
+
30
+ <Tabs>
31
+ <TabItem value="Delegated">
32
+
33
+ | Resource | Permissions |
34
+ |------------|---------------|
35
+ | SharePoint | AllSites.Read |
36
+
37
+ </TabItem>
38
+ <TabItem value="Application">
39
+
40
+ | Resource | Permissions |
41
+ |------------|----------------|
42
+ | SharePoint | Sites.Read.All |
43
+
44
+ </TabItem>
45
+ </Tabs>
46
+
28
47
  ## Examples
29
48
 
30
49
  List hub sites in the current tenant
@@ -31,6 +31,25 @@ To use this command you must be a Global or SharePoint administrator.
31
31
 
32
32
  If the specified site collection is already registered as a hub site, you will get a `This site is already a HubSite.` error.
33
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
+
34
53
  ## Examples
35
54
 
36
55
  Register the site collection with URL _https://contoso.sharepoint.com/sites/sales_ as a hub 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 hubsite rights grant
4
6
 
@@ -33,6 +35,25 @@ To use this command you must be a Global or SharePoint administrator.
33
35
 
34
36
  :::
35
37
 
38
+ ## Permissions
39
+
40
+ <Tabs>
41
+ <TabItem value="Delegated">
42
+
43
+ | Resource | Permissions |
44
+ |------------|----------------------|
45
+ | SharePoint | AllSites.FullControl |
46
+
47
+ </TabItem>
48
+ <TabItem value="Application">
49
+
50
+ | Resource | Permissions |
51
+ |------------|-----------------------|
52
+ | SharePoint | Sites.FullControl.All |
53
+
54
+ </TabItem>
55
+ </Tabs>
56
+
36
57
  ## Examples
37
58
 
38
59
  Grant user with specific alias, permission to join sites to the hub site with specific 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 hubsite rights revoke
4
6
 
@@ -33,6 +35,25 @@ To use this command you must be a Global or SharePoint administrator.
33
35
 
34
36
  :::
35
37
 
38
+ ## Permissions
39
+
40
+ <Tabs>
41
+ <TabItem value="Delegated">
42
+
43
+ | Resource | Permissions |
44
+ |------------|----------------------|
45
+ | SharePoint | AllSites.FullControl |
46
+
47
+ </TabItem>
48
+ <TabItem value="Application">
49
+
50
+ | Resource | Permissions |
51
+ |------------|-----------------------|
52
+ | SharePoint | Sites.FullControl.All |
53
+
54
+ </TabItem>
55
+ </Tabs>
56
+
36
57
  ## Examples
37
58
 
38
59
  Revoke rights to join sites to the hub site with specific URL. from user with specific alias. Will prompt for confirmation before revoking the rights.
@@ -40,6 +40,25 @@ To use this command you must be a Global or SharePoint administrator.
40
40
 
41
41
  If the specified `id` doesn't refer to an existing hub site, you will get an `Unknown Error` error.
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
  Update hub site's 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 hubsite unregister
4
6
 
@@ -32,6 +34,25 @@ To use this command you must be a Global or SharePoint administrator.
32
34
 
33
35
  If the specified site collection is not registered as a hub site, you will get a `hubSiteId` 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
  Unregister the site collection with specific URL. as a hub site. Will prompt for confirmation before unregistering the hub site.
@@ -2,14 +2,20 @@ import Global from '../../_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # spo web alert list
5
+ # spo web rule list
6
6
 
7
7
  Lists all SharePoint list alerts
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 spo web alert list [options]
12
+ m365 spo web rule list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 spo web alert list
13
19
  ```
14
20
 
15
21
  ## Options
@@ -60,25 +66,25 @@ m365 spo web alert list [options]
60
66
  List all alerts for a SharePoint site:
61
67
 
62
68
  ```sh
63
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing
69
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing
64
70
  ```
65
71
 
66
72
  List alerts for a SharePoint list by listUrl:
67
73
 
68
74
  ```sh
69
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/Marketing/lists/Tasks
75
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/Marketing/lists/Tasks
70
76
  ```
71
77
 
72
78
  List alerts for a specific user by userId:
73
79
 
74
80
  ```sh
75
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --userId 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
81
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --userId 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
76
82
  ```
77
83
 
78
84
  List alerts for a specific list by title and user by username:
79
85
 
80
86
  ```sh
81
- m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle "Tasks" --userName jane.doe@contoso.com
87
+ m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle "Tasks" --userName jane.doe@contoso.com
82
88
  ```
83
89
 
84
90
  ## Response
@@ -161,7 +167,7 @@ m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing
161
167
  <TabItem value="Markdown">
162
168
 
163
169
  ```md
164
- # spo web alert list --webUrl "https://contoso.sharepoint.com/sites/marketing" --listUrl "/sites/marketing/Shared Documents"
170
+ # spo web rule list --webUrl "https://contoso.sharepoint.com/sites/marketing" --listUrl "/sites/marketing/Shared Documents"
165
171
 
166
172
  Date: 10/6/2025
167
173
 
@@ -2,14 +2,20 @@ import Global from '../../_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # spo web alert remove
5
+ # spo web rule remove
6
6
 
7
7
  Removes an alert from a SharePoint list
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 spo web alert remove [options]
12
+ m365 spo web rule remove [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 spo web alert remove
13
19
  ```
14
20
 
15
21
  ## Options
@@ -51,13 +57,13 @@ m365 spo web alert remove [options]
51
57
  Remove an alert by ID
52
58
 
53
59
  ```sh
54
- m365 spo web alert remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
60
+ m365 spo web rule remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
55
61
  ```
56
62
 
57
63
  Remove another alert without confirmation
58
64
 
59
65
  ```sh
60
- m365 spo web alert remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2b6f1c8a-3e6a-4c7e-b8c0-7bf4c8e6d7f1 --force
66
+ m365 spo web rule remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2b6f1c8a-3e6a-4c7e-b8c0-7bf4c8e6d7f1 --force
61
67
  ```
62
68
 
63
69
  ## Response
@@ -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_