@pnp/cli-microsoft365 10.10.0-beta.bd186ba → 10.10.0
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/.devproxy/api-specs/sharepoint-admin.yaml +67 -0
- package/.devproxy/api-specs/sharepoint.yaml +230 -0
- package/.devproxy/devproxyrc.json +48 -0
- package/.devproxy/generate-openapi-spec.json +24 -0
- package/.devproxy/spo-csom-types.json +54 -0
- package/.eslintrc.cjs +8 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/cli/cli.js +2 -2
- package/dist/m365/app/commands/permission/permission-add.js +8 -1
- package/dist/m365/base/SpoCommand.js +1 -0
- package/dist/m365/entra/commands/app/app-permission-add.js +5 -18
- package/dist/m365/entra/commands/organization/organization-set.js +104 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/file/commands/file-copy.js +2 -2
- package/dist/m365/file/commands/file-move.js +1 -1
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +0 -3
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +3 -65
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +5 -50
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +4 -48
- package/dist/m365/spo/commands/contenttype/contenttype-set.js +8 -58
- package/dist/m365/spo/commands/contenttype/contenttype-sync.js +2 -2
- package/dist/m365/spo/commands/folder/folder-sharinglink-add.js +1 -1
- package/dist/m365/spo/commands/folder/folder-sharinglink-clear.js +1 -1
- package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +1 -1
- package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +1 -1
- package/dist/m365/spo/commands/folder/folder-sharinglink-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-sharinglink-set.js +1 -1
- package/dist/m365/spo/commands/homesite/homesite-remove.js +57 -37
- package/dist/m365/spo/commands/list/list-view-add.js +140 -87
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +3 -27
- package/dist/m365/spo/commands/page/Page.js +16 -1
- package/dist/m365/spo/commands/page/clientsidepages.js +4 -0
- package/dist/m365/spo/commands/page/page-add.js +1 -1
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -8
- package/dist/m365/spo/commands/page/page-control-remove.js +99 -0
- package/dist/m365/spo/commands/page/page-control-set.js +1 -1
- package/dist/m365/spo/commands/page/page-header-set.js +9 -40
- package/dist/m365/spo/commands/page/page-publish.js +2 -10
- package/dist/m365/spo/commands/page/page-section-add.js +75 -21
- package/dist/m365/spo/commands/page/page-set.js +1 -1
- package/dist/m365/spo/commands/site/site-admin-add.js +1 -12
- package/dist/m365/spo/commands/site/site-set.js +2 -2
- package/dist/m365/spo/commands.js +1 -0
- package/dist/utils/entraServicePrincipal.js +21 -0
- package/dist/utils/md.js +3 -3
- package/dist/utils/spo.js +87 -3
- package/docs/docs/cmd/_global.mdx +1 -1
- package/docs/docs/cmd/entra/organization/organization-set.mdx +84 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.mdx +19 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.mdx +19 -0
- package/docs/docs/cmd/planner/bucket/bucket-list.mdx +19 -0
- package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +21 -0
- package/docs/docs/cmd/planner/bucket/bucket-set.mdx +21 -0
- package/docs/docs/cmd/planner/plan/plan-add.mdx +19 -0
- package/docs/docs/cmd/planner/plan/plan-get.mdx +19 -0
- package/docs/docs/cmd/planner/plan/plan-list.mdx +19 -0
- package/docs/docs/cmd/planner/plan/plan-remove.mdx +21 -0
- package/docs/docs/cmd/planner/plan/plan-set.mdx +19 -0
- package/docs/docs/cmd/planner/roster/roster-add.mdx +19 -0
- package/docs/docs/cmd/planner/roster/roster-get.mdx +19 -0
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +19 -0
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +19 -0
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +19 -0
- package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +21 -0
- package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +19 -0
- package/docs/docs/cmd/planner/roster/roster-remove.mdx +21 -0
- package/docs/docs/cmd/planner/task/task-add.mdx +19 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +19 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +19 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +21 -0
- package/docs/docs/cmd/planner/task/task-get.mdx +27 -0
- package/docs/docs/cmd/planner/task/task-list.mdx +19 -0
- package/docs/docs/cmd/planner/task/task-reference-add.mdx +19 -0
- package/docs/docs/cmd/planner/task/task-reference-list.mdx +19 -0
- package/docs/docs/cmd/planner/task/task-reference-remove.mdx +21 -0
- package/docs/docs/cmd/planner/task/task-remove.mdx +21 -0
- package/docs/docs/cmd/planner/task/task-set.mdx +19 -0
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +44 -7
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +43 -8
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +6 -3
- package/docs/docs/cmd/spo/list/list-view-add.mdx +53 -10
- package/docs/docs/cmd/spo/page/page-control-remove.mdx +56 -0
- package/docs/docs/cmd/spo/page/page-section-add.mdx +22 -2
- package/npm-shrinkwrap.json +2322 -534
- package/package.json +17 -14
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# planner roster remove
|
|
4
6
|
|
|
@@ -36,6 +38,25 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
36
38
|
|
|
37
39
|
:::
|
|
38
40
|
|
|
41
|
+
## Permissions
|
|
42
|
+
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="Delegated">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|-----------------|
|
|
48
|
+
| Microsoft Graph | Tasks.ReadWrite |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
| Resource | Permissions |
|
|
54
|
+
|-----------------|---------------------|
|
|
55
|
+
| Microsoft Graph | Tasks.ReadWrite.All |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
</Tabs>
|
|
59
|
+
|
|
39
60
|
## Examples
|
|
40
61
|
|
|
41
62
|
Removes a Planner Roster
|
|
@@ -98,6 +98,25 @@ When using `rosterId`, the command is based on an API that is currently in previ
|
|
|
98
98
|
|
|
99
99
|
:::
|
|
100
100
|
|
|
101
|
+
## Permissions
|
|
102
|
+
|
|
103
|
+
<Tabs>
|
|
104
|
+
<TabItem value="Delegated">
|
|
105
|
+
|
|
106
|
+
| Resource | Permissions |
|
|
107
|
+
|-----------------|--------------------------------------------------|
|
|
108
|
+
| Microsoft Graph | Tasks.ReadWrite, GroupMember.Read.All, User.Read |
|
|
109
|
+
|
|
110
|
+
</TabItem>
|
|
111
|
+
<TabItem value="Application">
|
|
112
|
+
|
|
113
|
+
| Resource | Permissions |
|
|
114
|
+
|-----------------|----------------------------------------------------------|
|
|
115
|
+
| Microsoft Graph | Tasks.ReadWrite.All, GroupMember.Read.All, User.Read.All |
|
|
116
|
+
|
|
117
|
+
</TabItem>
|
|
118
|
+
</Tabs>
|
|
119
|
+
|
|
101
120
|
## Examples
|
|
102
121
|
|
|
103
122
|
Adds a Microsoft Planner task with the name for plan with the specified ID and specified bucket with the ID.
|
|
@@ -27,6 +27,25 @@ m365 planner task checklistitem add [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.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
|
+
|
|
30
49
|
## Examples
|
|
31
50
|
|
|
32
51
|
Adds an unchecked checklist item with the specified title to a Microsoft Planner task with the specified ID.
|
|
@@ -21,6 +21,25 @@ m365 planner task checklistitem list [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.Read |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|----------------|
|
|
38
|
+
| Microsoft Graph | Tasks.Read.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Examples
|
|
25
44
|
|
|
26
45
|
Lists the checklist items of a Planner task.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# planner task checklistitem remove
|
|
4
6
|
|
|
@@ -25,6 +27,25 @@ m365 planner task checklistitem 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
|
Removes a checklist item with the id _40012_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
@@ -45,6 +45,33 @@ m365 planner task get [options]
|
|
|
45
45
|
|
|
46
46
|
<Global />
|
|
47
47
|
|
|
48
|
+
## Remarks
|
|
49
|
+
|
|
50
|
+
:::warning
|
|
51
|
+
|
|
52
|
+
When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
53
|
+
|
|
54
|
+
:::
|
|
55
|
+
|
|
56
|
+
## Permissions
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="Delegated">
|
|
60
|
+
|
|
61
|
+
| Resource | Permissions |
|
|
62
|
+
|-----------------|----------------------------------|
|
|
63
|
+
| Microsoft Graph | Tasks.Read, GroupMember.Read.All |
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="Application">
|
|
67
|
+
|
|
68
|
+
| Resource | Permissions |
|
|
69
|
+
|-----------------|--------------------------------------|
|
|
70
|
+
| Microsoft Graph | Tasks.Read.All, GroupMember.Read.All |
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
</Tabs>
|
|
74
|
+
|
|
48
75
|
## Examples
|
|
49
76
|
|
|
50
77
|
Returns the Microsoft Planner task by id.
|
|
@@ -53,6 +53,25 @@ When using `rosterId`, the command is based on an API that is currently in previ
|
|
|
53
53
|
|
|
54
54
|
:::
|
|
55
55
|
|
|
56
|
+
## Permissions
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="Delegated">
|
|
60
|
+
|
|
61
|
+
| Resource | Permissions |
|
|
62
|
+
|-----------------|----------------------------------|
|
|
63
|
+
| Microsoft Graph | Tasks.Read, GroupMember.Read.All |
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="Application">
|
|
67
|
+
|
|
68
|
+
| Resource | Permissions |
|
|
69
|
+
|-----------------|--------------------------------------|
|
|
70
|
+
| Microsoft Graph | Tasks.Read.All, GroupMember.Read.All |
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
</Tabs>
|
|
74
|
+
|
|
56
75
|
## Examples
|
|
57
76
|
|
|
58
77
|
List tasks for the currently logged in user.
|
|
@@ -30,6 +30,25 @@ m365 planner task reference add [options]
|
|
|
30
30
|
|
|
31
31
|
<Global />
|
|
32
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
|
+
|
|
33
52
|
## Examples
|
|
34
53
|
|
|
35
54
|
Add a new reference with the url _https://www.microsoft.com_ to a Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
@@ -21,6 +21,25 @@ m365 planner task reference list [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.Read |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|----------------|
|
|
38
|
+
| Microsoft Graph | Tasks.Read.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Examples
|
|
25
44
|
|
|
26
45
|
Retrieve the references of the specified planner task
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# planner task reference remove
|
|
4
6
|
|
|
@@ -28,6 +30,25 @@ m365 planner task reference 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 a reference with the url _https://www.microsoft.com_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# planner task remove
|
|
4
6
|
|
|
@@ -54,6 +56,25 @@ When using `rosterId`, the command is based on an API that is currently in previ
|
|
|
54
56
|
|
|
55
57
|
:::
|
|
56
58
|
|
|
59
|
+
## Permissions
|
|
60
|
+
|
|
61
|
+
<Tabs>
|
|
62
|
+
<TabItem value="Delegated">
|
|
63
|
+
|
|
64
|
+
| Resource | Permissions |
|
|
65
|
+
|-----------------|---------------------------------------|
|
|
66
|
+
| Microsoft Graph | Tasks.ReadWrite, GroupMember.Read.All |
|
|
67
|
+
|
|
68
|
+
</TabItem>
|
|
69
|
+
<TabItem value="Application">
|
|
70
|
+
|
|
71
|
+
| Resource | Permissions |
|
|
72
|
+
|-----------------|-------------------------------------------|
|
|
73
|
+
| Microsoft Graph | Tasks.ReadWrite.All, GroupMember.Read.All |
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
</Tabs>
|
|
77
|
+
|
|
57
78
|
## Examples
|
|
58
79
|
|
|
59
80
|
Removes the Microsoft Planner task by ID.
|
|
@@ -100,6 +100,25 @@ When using `rosterId`, the command is based on an API that is currently in previ
|
|
|
100
100
|
|
|
101
101
|
:::
|
|
102
102
|
|
|
103
|
+
## Permissions
|
|
104
|
+
|
|
105
|
+
<Tabs>
|
|
106
|
+
<TabItem value="Delegated">
|
|
107
|
+
|
|
108
|
+
| Resource | Permissions |
|
|
109
|
+
|-----------------|--------------------------------------------------|
|
|
110
|
+
| Microsoft Graph | Tasks.ReadWrite, GroupMember.Read.All, User.Read |
|
|
111
|
+
|
|
112
|
+
</TabItem>
|
|
113
|
+
<TabItem value="Application">
|
|
114
|
+
|
|
115
|
+
| Resource | Permissions |
|
|
116
|
+
|-----------------|----------------------------------------------------------|
|
|
117
|
+
| Microsoft Graph | Tasks.ReadWrite.All, GroupMember.Read.All, User.Read.All |
|
|
118
|
+
|
|
119
|
+
</TabItem>
|
|
120
|
+
</Tabs>
|
|
121
|
+
|
|
103
122
|
## Examples
|
|
104
123
|
|
|
105
124
|
Updates a Microsoft Planner task name of the specified task by ID.
|
|
@@ -18,13 +18,30 @@ m365 planner tenant settings list [options]
|
|
|
18
18
|
|
|
19
19
|
## Remarks
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
After executing the command `planner tenant settings set`, it can take some time for all changes to propagate across the tenant. Because of this, executing this command right away can return some unexpected results.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
## Permissions
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
<Tabs>
|
|
26
|
+
<TabItem value="Delegated">
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
| Resource | Permissions |
|
|
29
|
+
|-----------------|-------------|
|
|
30
|
+
| Microsoft Graph | email |
|
|
31
|
+
|
|
32
|
+
:::info
|
|
33
|
+
|
|
34
|
+
To use this command you must be a **global administrator**.
|
|
35
|
+
|
|
36
|
+
:::
|
|
37
|
+
|
|
38
|
+
</TabItem>
|
|
39
|
+
<TabItem value="Application">
|
|
40
|
+
|
|
41
|
+
This command does not support application permissions.
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
28
45
|
|
|
29
46
|
## Examples
|
|
30
47
|
|
|
@@ -47,7 +64,17 @@ m365 planner tenant settings list
|
|
|
47
64
|
"allowTenantMoveWithDataLoss": false,
|
|
48
65
|
"allowTenantMoveWithDataMigration": false,
|
|
49
66
|
"allowRosterCreation": true,
|
|
50
|
-
"allowPlannerMobilePushNotifications": true
|
|
67
|
+
"allowPlannerMobilePushNotifications": true,
|
|
68
|
+
"allowFileRecommendations": true,
|
|
69
|
+
"enforceClientLicenseCheck": false,
|
|
70
|
+
"allowDataFlowToDataverse": true,
|
|
71
|
+
"allowPlannerCopilot": true,
|
|
72
|
+
"disallowedSharedWithContainerTypes": [
|
|
73
|
+
{
|
|
74
|
+
"hostContainerType": "group",
|
|
75
|
+
"sharedWithContainerType": "roster"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
51
78
|
}
|
|
52
79
|
```
|
|
53
80
|
|
|
@@ -56,10 +83,16 @@ m365 planner tenant settings list
|
|
|
56
83
|
|
|
57
84
|
```txt
|
|
58
85
|
allowCalendarSharing : true
|
|
86
|
+
allowDataFlowToDataverse : true
|
|
87
|
+
allowFileRecommendations : true
|
|
88
|
+
allowPlannerCopilot : true
|
|
59
89
|
allowPlannerMobilePushNotifications: true
|
|
60
90
|
allowRosterCreation : true
|
|
61
91
|
allowTenantMoveWithDataLoss : false
|
|
62
92
|
allowTenantMoveWithDataMigration : false
|
|
93
|
+
disallowedSharedWithContainerTypes : [{"hostContainerType":"group","sharedWithContainerType":"roster"}]
|
|
94
|
+
enforceClientLicenseCheck : false
|
|
95
|
+
id : 1
|
|
63
96
|
isPlannerAllowed : true
|
|
64
97
|
```
|
|
65
98
|
|
|
@@ -67,8 +100,8 @@ m365 planner tenant settings list
|
|
|
67
100
|
<TabItem value="CSV">
|
|
68
101
|
|
|
69
102
|
```csv
|
|
70
|
-
isPlannerAllowed,allowCalendarSharing,allowTenantMoveWithDataLoss,allowTenantMoveWithDataMigration,allowRosterCreation,allowPlannerMobilePushNotifications
|
|
71
|
-
1,1
|
|
103
|
+
id,isPlannerAllowed,allowCalendarSharing,allowTenantMoveWithDataLoss,allowTenantMoveWithDataMigration,allowRosterCreation,allowPlannerMobilePushNotifications,allowFileRecommendations,enforceClientLicenseCheck,allowDataFlowToDataverse,allowPlannerCopilot
|
|
104
|
+
1,1,1,0,0,1,1,1,0,1,1
|
|
72
105
|
```
|
|
73
106
|
|
|
74
107
|
</TabItem>
|
|
@@ -90,6 +123,10 @@ m365 planner tenant settings list
|
|
|
90
123
|
allowTenantMoveWithDataMigration | false
|
|
91
124
|
allowRosterCreation | true
|
|
92
125
|
allowPlannerMobilePushNotifications | true
|
|
126
|
+
allowFileRecommendations | true
|
|
127
|
+
enforceClientLicenseCheck | false
|
|
128
|
+
allowDataFlowToDataverse | true
|
|
129
|
+
allowPlannerCopilot | true
|
|
93
130
|
```
|
|
94
131
|
|
|
95
132
|
</TabItem>
|
|
@@ -36,13 +36,28 @@ m365 planner tenant settings set [options]
|
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
|
-
##
|
|
39
|
+
## Permissions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|-------------|
|
|
46
|
+
| Microsoft Graph | email |
|
|
47
|
+
|
|
48
|
+
:::info
|
|
42
49
|
|
|
43
|
-
To use this command you must be a global administrator
|
|
50
|
+
To use this command you must be a **global administrator**.
|
|
44
51
|
|
|
45
|
-
:::
|
|
52
|
+
:::
|
|
53
|
+
|
|
54
|
+
</TabItem>
|
|
55
|
+
<TabItem value="Application">
|
|
56
|
+
|
|
57
|
+
This command does not support application permissions.
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
</Tabs>
|
|
46
61
|
|
|
47
62
|
## Examples
|
|
48
63
|
|
|
@@ -77,7 +92,17 @@ m365 planner tenant settings set --isPlannerAllowed true --allowRosterCreation f
|
|
|
77
92
|
"allowTenantMoveWithDataLoss": false,
|
|
78
93
|
"allowTenantMoveWithDataMigration": false,
|
|
79
94
|
"allowRosterCreation": true,
|
|
80
|
-
"allowPlannerMobilePushNotifications": true
|
|
95
|
+
"allowPlannerMobilePushNotifications": true,
|
|
96
|
+
"allowFileRecommendations": true,
|
|
97
|
+
"enforceClientLicenseCheck": false,
|
|
98
|
+
"allowDataFlowToDataverse": true,
|
|
99
|
+
"allowPlannerCopilot": true,
|
|
100
|
+
"disallowedSharedWithContainerTypes": [
|
|
101
|
+
{
|
|
102
|
+
"hostContainerType": "group",
|
|
103
|
+
"sharedWithContainerType": "roster"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
81
106
|
}
|
|
82
107
|
```
|
|
83
108
|
|
|
@@ -86,10 +111,16 @@ m365 planner tenant settings set --isPlannerAllowed true --allowRosterCreation f
|
|
|
86
111
|
|
|
87
112
|
```txt
|
|
88
113
|
allowCalendarSharing : true
|
|
114
|
+
allowDataFlowToDataverse : true
|
|
115
|
+
allowFileRecommendations : true
|
|
116
|
+
allowPlannerCopilot : true
|
|
89
117
|
allowPlannerMobilePushNotifications: true
|
|
90
118
|
allowRosterCreation : true
|
|
91
119
|
allowTenantMoveWithDataLoss : false
|
|
92
120
|
allowTenantMoveWithDataMigration : false
|
|
121
|
+
disallowedSharedWithContainerTypes : [{"hostContainerType":"group","sharedWithContainerType":"roster"}]
|
|
122
|
+
enforceClientLicenseCheck : false
|
|
123
|
+
id : 1
|
|
93
124
|
isPlannerAllowed : true
|
|
94
125
|
```
|
|
95
126
|
|
|
@@ -97,15 +128,15 @@ m365 planner tenant settings set --isPlannerAllowed true --allowRosterCreation f
|
|
|
97
128
|
<TabItem value="CSV">
|
|
98
129
|
|
|
99
130
|
```csv
|
|
100
|
-
isPlannerAllowed,allowCalendarSharing,allowTenantMoveWithDataLoss,allowTenantMoveWithDataMigration,allowRosterCreation,allowPlannerMobilePushNotifications
|
|
101
|
-
1,1
|
|
131
|
+
id,isPlannerAllowed,allowCalendarSharing,allowTenantMoveWithDataLoss,allowTenantMoveWithDataMigration,allowRosterCreation,allowPlannerMobilePushNotifications,allowFileRecommendations,enforceClientLicenseCheck,allowDataFlowToDataverse,allowPlannerCopilot
|
|
132
|
+
1,1,1,0,0,1,1,1,0,1,1
|
|
102
133
|
```
|
|
103
134
|
|
|
104
135
|
</TabItem>
|
|
105
136
|
<TabItem value="Markdown">
|
|
106
137
|
|
|
107
138
|
```md
|
|
108
|
-
# planner tenant settings
|
|
139
|
+
# planner tenant settings set --isPlannerAllowed true
|
|
109
140
|
|
|
110
141
|
Date: 4/2/2023
|
|
111
142
|
|
|
@@ -120,6 +151,10 @@ m365 planner tenant settings set --isPlannerAllowed true --allowRosterCreation f
|
|
|
120
151
|
allowTenantMoveWithDataMigration | false
|
|
121
152
|
allowRosterCreation | true
|
|
122
153
|
allowPlannerMobilePushNotifications | true
|
|
154
|
+
allowFileRecommendations | true
|
|
155
|
+
enforceClientLicenseCheck | false
|
|
156
|
+
allowDataFlowToDataverse | true
|
|
157
|
+
allowPlannerCopilot | true
|
|
123
158
|
```
|
|
124
159
|
|
|
125
160
|
</TabItem>
|
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spo homesite remove
|
|
6
6
|
|
|
7
|
-
Removes
|
|
7
|
+
Removes a Home Site
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -15,6 +15,9 @@ m365 spo homesite remove [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
+
`-u, --url [url]`
|
|
19
|
+
: URL of the home site to remove.
|
|
20
|
+
|
|
18
21
|
`-f, --force`
|
|
19
22
|
: Do not prompt for confirmation before removing the Home Site.
|
|
20
23
|
```
|
|
@@ -31,10 +34,10 @@ To use this command you must be either **SharePoint Administrator** or **Global
|
|
|
31
34
|
|
|
32
35
|
## Examples
|
|
33
36
|
|
|
34
|
-
Removes
|
|
37
|
+
Removes a Home site specified by URL without prompting for confirmation.
|
|
35
38
|
|
|
36
39
|
```sh
|
|
37
|
-
m365 spo homesite remove --force
|
|
40
|
+
m365 spo homesite remove --url "https://contoso.sharepoint.com/sites/testcomms" --force
|
|
38
41
|
```
|
|
39
42
|
|
|
40
43
|
## Response
|
|
@@ -30,12 +30,33 @@ m365 spo list view add [options]
|
|
|
30
30
|
`--title <title>`
|
|
31
31
|
: Title of the view to be created for the list.
|
|
32
32
|
|
|
33
|
-
`--
|
|
34
|
-
:
|
|
33
|
+
`--type [type]`
|
|
34
|
+
: Type of the view. Possible values are: `list`, `calendar`, `gallery`, `kanban`. Defaults to `list`.
|
|
35
|
+
|
|
36
|
+
`--fields [fields]`
|
|
37
|
+
: Comma-separated list of **case-sensitive** internal names of the fields to add to the view. Optional when `type` is set to `calendar`.
|
|
35
38
|
|
|
36
39
|
`--viewQuery [viewQuery]`
|
|
37
40
|
: XML representation of the list query for the underlying view.
|
|
38
41
|
|
|
42
|
+
`--calendarStartDateField [calendarStartDateField]`
|
|
43
|
+
: Internal name of the field that contains the start date of the calendar event. Required when `type` is set to `calendar`.
|
|
44
|
+
|
|
45
|
+
`--calendarEndDateField [calendarEndDateField]`
|
|
46
|
+
: Internal name of the field that contains the end date of the calendar event. Required when `type` is set to `calendar`.
|
|
47
|
+
|
|
48
|
+
`--calendarTitleField [calendarTitleField]`
|
|
49
|
+
: Internal name of the field that contains the title of the calendar event. Required when `type` is set to `calendar`.
|
|
50
|
+
|
|
51
|
+
`--calendarSubTitleField [calendarSubTitleField]`
|
|
52
|
+
: Internal name of the field that contains the subtitle of the calendar event.
|
|
53
|
+
|
|
54
|
+
`--calendarDefaultLayout [calendarDefaultLayout]`
|
|
55
|
+
: Default layout of the calendar view. Possible values are: `month`, `week`, `workWeek`, `day`. Defaults to `month`.
|
|
56
|
+
|
|
57
|
+
`--kanbanBucketField [kanbanBucketField]`
|
|
58
|
+
: Internal name of the field that contains the bucket for the Kanban board view. Required when `type` is set to `kanban`.
|
|
59
|
+
|
|
39
60
|
`--personal`
|
|
40
61
|
: View will be created as personal view, if specified.
|
|
41
62
|
|
|
@@ -53,32 +74,54 @@ m365 spo list view add [options]
|
|
|
53
74
|
|
|
54
75
|
## Remarks
|
|
55
76
|
|
|
77
|
+
:::tip
|
|
78
|
+
|
|
56
79
|
We recommend using the `paged` option. When specified, the view supports displaying more items page by page (default behavior). When not specified, the `rowLimit` is absolute, and there is no link to see more items.
|
|
57
80
|
|
|
81
|
+
:::
|
|
82
|
+
|
|
58
83
|
## Examples
|
|
59
84
|
|
|
60
|
-
Add a view called
|
|
85
|
+
Add a list view called to a list with specific title.
|
|
86
|
+
|
|
87
|
+
```sh
|
|
88
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "All customers" --fields "LinkTitle,Country,Sector,Country,Address,Contact" --paged
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Add a gallery view as default view to a list with a specific URL.
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listUrl "/Lists/Customers" --title "All customers" --type gallery --fields "LinkTitle,Country,Sector,Country,Address,Contact" --paged --default
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Add a view with defined filter and sorting.
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "Transport customers" --fields "LinkTitle,Country,Country,Address,Contact" --viewQuery "<OrderBy><FieldRef Name='LinkTitle' Ascending='TRUE' /></OrderBy><Where><Eq><FieldRef Name='Sector' /><Value Type='Text'>Transportation</Value></Eq></Where>" --paged
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Add a gallery view as personal view.
|
|
61
104
|
|
|
62
105
|
```sh
|
|
63
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
106
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "All customers" --type gallery --fields "LinkTitle,Country,Sector,Country,Address,Contact" --paged --personal
|
|
64
107
|
```
|
|
65
108
|
|
|
66
|
-
Add a
|
|
109
|
+
Add a calendar view with month layout.
|
|
67
110
|
|
|
68
111
|
```sh
|
|
69
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
112
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Events" --title "All events" --type calendar --fields "EventType,InternalExternal" --calendarStartDateField EventStartDate --calendarEndDateField EventEndDate --calendarTitleField LinkTitle --paged
|
|
70
113
|
```
|
|
71
114
|
|
|
72
|
-
Add a
|
|
115
|
+
Add a calendar view with week layout and subtitle.
|
|
73
116
|
|
|
74
117
|
```sh
|
|
75
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
118
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Events" --title "All events" --type calendar --fields "EventType,InternalExternal" --calendarStartDateField EventStartDate --calendarEndDateField EventEndDate --calendarTitleField LinkTitle --calendarSubTitleField Location --calendarDefaultLayout week --paged
|
|
76
119
|
```
|
|
77
120
|
|
|
78
|
-
Add a
|
|
121
|
+
Add a Kanban board view.
|
|
79
122
|
|
|
80
123
|
```sh
|
|
81
|
-
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/
|
|
124
|
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Tasks" --title "All tasks" --type kanban --fields "Title,AssignedTo" --kanbanBucketField Status --paged
|
|
82
125
|
```
|
|
83
126
|
|
|
84
127
|
## Response
|