@pnp/cli-microsoft365 11.10.0 → 11.11.0-beta.6c90138
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/config.js +1 -0
- package/dist/m365/entra/commands/agent/agent-list.js +48 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +23 -41
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +9 -24
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +24 -44
- package/dist/m365/pp/commands/copilot/copilot-get.js +23 -41
- package/dist/m365/pp/commands/copilot/copilot-list.js +9 -24
- package/dist/m365/pp/commands/copilot/copilot-remove.js +24 -44
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +10 -26
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +9 -24
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +11 -29
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +21 -33
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +25 -46
- package/dist/m365/pp/commands/gateway/gateway-get.js +10 -23
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +24 -36
- package/dist/m365/pp/commands/managementapp/managementapp-list.js +5 -0
- package/dist/m365/pp/commands/solution/solution-get.js +23 -41
- package/dist/m365/pp/commands/solution/solution-list.js +9 -24
- package/dist/m365/pp/commands/solution/solution-publish.js +25 -45
- package/dist/m365/pp/commands/solution/solution-publisher-add.js +26 -49
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +23 -41
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +10 -27
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +24 -44
- package/dist/m365/pp/commands/solution/solution-remove.js +24 -44
- package/dist/m365/pp/commands/tenant/tenant-settings-set.js +81 -170
- package/dist/m365/spo/commands/file/file-add.js +1 -2
- package/dist/m365/spo/commands/folder/folder-add.js +1 -1
- package/dist/m365/spo/commands/user/user-get.js +3 -4
- package/dist/utils/fsUtil.js +0 -3
- package/docs/docs/cmd/entra/agent/agent-list.mdx +209 -0
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-version-get.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-version-list.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-add.mdx +20 -1
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +2 -3
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-get.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-list.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-move.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-set.mdx +21 -0
- package/docs/docs/cmd/spo/group/group-add.mdx +21 -2
- package/docs/docs/cmd/spo/group/group-get.mdx +19 -0
- package/docs/docs/cmd/spo/group/group-list.mdx +19 -0
- package/docs/docs/cmd/spo/group/group-member-add.mdx +21 -0
- package/docs/docs/cmd/spo/group/group-member-list.mdx +19 -0
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +23 -0
- package/docs/docs/cmd/spo/group/group-remove.mdx +21 -0
- package/docs/docs/cmd/spo/group/group-set.mdx +23 -0
- package/docs/docs/cmd/todo/list/list-add.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-get.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-list.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-remove.mdx +21 -0
- package/docs/docs/cmd/todo/list/list-set.mdx +21 -0
- package/docs/docs/cmd/todo/task/task-add.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-get.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-list.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-remove.mdx +21 -0
- package/docs/docs/cmd/todo/task/task-set.mdx +19 -0
- package/npm-shrinkwrap.json +356 -190
- package/package.json +14 -14
|
@@ -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 file version restore
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ m365 spo file version restore [options]
|
|
|
31
33
|
|
|
32
34
|
<Global />
|
|
33
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|------------|----------------|
|
|
43
|
+
| SharePoint | AllSites.Write |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|---------------------|
|
|
50
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Restores a file version in a specific site based on fileId and prompts for confirmation.
|
|
@@ -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
|
|
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'
|
|
@@ -42,15 +42,34 @@ m365 spo group add [options]
|
|
|
42
42
|
|
|
43
43
|
<Global />
|
|
44
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
|
+
|
|
45
64
|
## Examples
|
|
46
65
|
|
|
47
|
-
Create group with title and description
|
|
66
|
+
Create group with title and description.
|
|
48
67
|
|
|
49
68
|
```sh
|
|
50
69
|
m365 spo group add --webUrl https://contoso.sharepoint.com/sites/project-x --name "Project leaders" --description "This group contains all project leaders"
|
|
51
70
|
```
|
|
52
71
|
|
|
53
|
-
Create group with membership requests
|
|
72
|
+
Create group with membership requests.
|
|
54
73
|
|
|
55
74
|
```sh
|
|
56
75
|
m365 spo group add --webUrl https://contoso.sharepoint.com/sites/project-x --name "Project leaders" --allowRequestToJoinLeave true --requestToJoinLeaveEmailSetting john.doe@contoso.com
|
|
@@ -30,6 +30,25 @@ m365 spo group 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 group with ID for the specified web.
|
|
@@ -24,6 +24,25 @@ m365 spo group list [options]
|
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|------------|---------------|
|
|
34
|
+
| SharePoint | AllSites.Read |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|------------|----------------|
|
|
41
|
+
| SharePoint | Sites.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
27
46
|
## Examples
|
|
28
47
|
|
|
29
48
|
Lists all the groups within a specific web.
|
|
@@ -46,6 +46,27 @@ m365 spo group member add [options]
|
|
|
46
46
|
|
|
47
47
|
For the `userIds`, `userNames`, `emails`, `entraGroupIds`, or `entraGroupNames` options you can specify multiple values by separating them with a comma. If one of the specified entries is not valid, the command will fail with an error message showing the list of invalid values.
|
|
48
48
|
|
|
49
|
+
## Permissions
|
|
50
|
+
|
|
51
|
+
<Tabs>
|
|
52
|
+
<TabItem value="Delegated">
|
|
53
|
+
|
|
54
|
+
| Resource | Permissions |
|
|
55
|
+
|-----------------|----------------------|
|
|
56
|
+
| Microsoft Graph | User.Read.All |
|
|
57
|
+
| SharePoint | AllSites.FullControl |
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
<TabItem value="Application">
|
|
61
|
+
|
|
62
|
+
| Resource | Permissions |
|
|
63
|
+
|-----------------|-----------------------|
|
|
64
|
+
| Microsoft Graph | User.Read.All |
|
|
65
|
+
| SharePoint | Sites.FullControl.All |
|
|
66
|
+
|
|
67
|
+
</TabItem>
|
|
68
|
+
</Tabs>
|
|
69
|
+
|
|
49
70
|
## Examples
|
|
50
71
|
|
|
51
72
|
Add a user with the userNames parameter to a SharePoint group with the groupId parameter.
|
|
@@ -27,6 +27,25 @@ m365 spo group member list [options]
|
|
|
27
27
|
|
|
28
28
|
<Global />
|
|
29
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
|
|
32
|
+
<Tabs>
|
|
33
|
+
<TabItem value="Delegated">
|
|
34
|
+
|
|
35
|
+
| Resource | Permissions |
|
|
36
|
+
|------------|---------------|
|
|
37
|
+
| SharePoint | AllSites.Read |
|
|
38
|
+
|
|
39
|
+
</TabItem>
|
|
40
|
+
<TabItem value="Application">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|------------|----------------|
|
|
44
|
+
| SharePoint | Sites.Read.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
30
49
|
## Examples
|
|
31
50
|
|
|
32
51
|
List the members of the group with ID for the specified web.
|
|
@@ -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 group member remove
|
|
4
6
|
|
|
@@ -40,6 +42,27 @@ m365 spo group member remove [options]
|
|
|
40
42
|
|
|
41
43
|
<Global />
|
|
42
44
|
|
|
45
|
+
## Permissions
|
|
46
|
+
|
|
47
|
+
<Tabs>
|
|
48
|
+
<TabItem value="Delegated">
|
|
49
|
+
|
|
50
|
+
| Resource | Permissions |
|
|
51
|
+
|-----------------|----------------------|
|
|
52
|
+
| Microsoft Graph | User.Read.All |
|
|
53
|
+
| SharePoint | AllSites.FullControl |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
<TabItem value="Application">
|
|
57
|
+
|
|
58
|
+
| Resource | Permissions |
|
|
59
|
+
|-----------------|-----------------------|
|
|
60
|
+
| Microsoft Graph | User.Read.All |
|
|
61
|
+
| SharePoint | Sites.FullControl.All |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
</Tabs>
|
|
65
|
+
|
|
43
66
|
## Examples
|
|
44
67
|
|
|
45
68
|
Remove a user from a SharePoint group based on the id on a given web.
|
|
@@ -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 group remove
|
|
4
6
|
|
|
@@ -28,6 +30,25 @@ m365 spo group remove [options]
|
|
|
28
30
|
|
|
29
31
|
<Global />
|
|
30
32
|
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|------------|----------------------|
|
|
40
|
+
| SharePoint | AllSites.FullControl |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|------------|-----------------------|
|
|
47
|
+
| SharePoint | Sites.FullControl.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
31
52
|
## Examples
|
|
32
53
|
|
|
33
54
|
Removes group with id from the specified web.
|
|
@@ -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 group set
|
|
4
6
|
|
|
@@ -52,6 +54,27 @@ m365 spo group set [options]
|
|
|
52
54
|
|
|
53
55
|
<Global />
|
|
54
56
|
|
|
57
|
+
## Permissions
|
|
58
|
+
|
|
59
|
+
<Tabs>
|
|
60
|
+
<TabItem value="Delegated">
|
|
61
|
+
|
|
62
|
+
| Resource | Permissions |
|
|
63
|
+
|-----------------|----------------------|
|
|
64
|
+
| Microsoft Graph | User.Read.All |
|
|
65
|
+
| SharePoint | AllSites.FullControl |
|
|
66
|
+
|
|
67
|
+
</TabItem>
|
|
68
|
+
<TabItem value="Application">
|
|
69
|
+
|
|
70
|
+
| Resource | Permissions |
|
|
71
|
+
|-----------------|-----------------------|
|
|
72
|
+
| Microsoft Graph | User.Read.All |
|
|
73
|
+
| SharePoint | Sites.FullControl.All |
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
</Tabs>
|
|
77
|
+
|
|
55
78
|
## Examples
|
|
56
79
|
|
|
57
80
|
Update group title and description.
|
|
@@ -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.
|