@pnp/cli-microsoft365 10.9.0-beta.bc13e90 → 10.10.0-beta.1bb5ba0
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/.devcontainer/Dockerfile +1 -1
- 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/Dockerfile +3 -3
- 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/m365group/m365group-get.js +16 -3
- package/dist/m365/entra/commands/m365group/m365group-list.js +7 -1
- package/dist/m365/entra/commands/organization/organization-set.js +104 -0
- package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +9 -3
- package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +9 -3
- package/dist/m365/entra/commands/pim/pim-role-request-list.js +9 -3
- 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/flow/commands/flow-list.js +14 -7
- package/dist/m365/flow/commands/run/run-get.js +1 -1
- package/dist/m365/graph/commands/subscription/subscription-add.js +10 -3
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +0 -3
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +8 -1
- package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +9 -2
- 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/file/file-move.js +8 -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/hubsite/hubsite-get.js +14 -5
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +9 -2
- 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 +53 -17
- 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/tenant/tenant-site-list.js +16 -5
- package/dist/m365/spo/commands/term/term-list.js +10 -3
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/chat/chat-member-add.js +10 -4
- package/dist/m365/viva/commands/engage/engage-community-remove.js +99 -0
- package/dist/m365/viva/commands/engage/engage-network-list.js +8 -2
- package/dist/m365/viva/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/m365group/m365group-get.mdx +8 -5
- package/docs/docs/cmd/entra/m365group/m365group-list.mdx +14 -12
- package/docs/docs/cmd/entra/organization/organization-set.mdx +84 -0
- package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +7 -4
- package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +9 -6
- package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +7 -4
- package/docs/docs/cmd/flow/flow-list.mdx +8 -5
- package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +6 -3
- 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/pp/solution/solution-publisher-list.mdx +7 -4
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +7 -4
- package/docs/docs/cmd/spo/file/file-move.mdx +4 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +6 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +7 -4
- package/docs/docs/cmd/spo/list/list-add.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-set.mdx +2 -2
- 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/docs/docs/cmd/spo/tenant/tenant-site-list.mdx +10 -7
- package/docs/docs/cmd/spo/term/term-list.mdx +7 -4
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +6 -3
- package/docs/docs/cmd/viva/engage/engage-community-remove.mdx +61 -0
- package/docs/docs/cmd/viva/engage/engage-network-list.mdx +7 -4
- package/npm-shrinkwrap.json +2390 -587
- package/package.json +20 -17
|
@@ -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>
|
|
@@ -16,10 +16,13 @@ m365 pp solution publisher list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-e, --environmentName <environmentName>`
|
|
19
|
-
: The name of the environment
|
|
19
|
+
: The name of the environment.
|
|
20
20
|
|
|
21
21
|
`--includeMicrosoftPublishers`
|
|
22
|
-
: Include the Microsoft Publishers
|
|
22
|
+
: (deprecated. Use option `withMicrosoftPublishers` instead) Include the Microsoft Publishers.
|
|
23
|
+
|
|
24
|
+
`--withMicrosoftPublishers`
|
|
25
|
+
: Include the Microsoft Publishers.
|
|
23
26
|
|
|
24
27
|
`--asAdmin`
|
|
25
28
|
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
@@ -29,13 +32,13 @@ m365 pp solution publisher list [options]
|
|
|
29
32
|
|
|
30
33
|
## Examples
|
|
31
34
|
|
|
32
|
-
List all publishers in a specific environment
|
|
35
|
+
List all publishers in a specific environment.
|
|
33
36
|
|
|
34
37
|
```sh
|
|
35
38
|
m365 pp solution publisher list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
|
|
36
39
|
```
|
|
37
40
|
|
|
38
|
-
List all publishers in a specific environment as Admin
|
|
41
|
+
List all publishers in a specific environment as Admin.
|
|
39
42
|
|
|
40
43
|
```sh
|
|
41
44
|
m365 pp solution publisher list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
|
|
@@ -19,6 +19,9 @@ m365 purview threatassessment get [options]
|
|
|
19
19
|
: The Id of the threat assessment.
|
|
20
20
|
|
|
21
21
|
`--includeResults`
|
|
22
|
+
: (deprecated. Use option `withResults` instead) Include the threat assessment results.
|
|
23
|
+
|
|
24
|
+
`--withResults`
|
|
22
25
|
: Include the threat assessment results.
|
|
23
26
|
```
|
|
24
27
|
|
|
@@ -35,7 +38,7 @@ m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e
|
|
|
35
38
|
Get a threat assessment including results.
|
|
36
39
|
|
|
37
40
|
```sh
|
|
38
|
-
m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e --
|
|
41
|
+
m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e --withResults
|
|
39
42
|
```
|
|
40
43
|
|
|
41
44
|
## Response
|
|
@@ -118,9 +121,9 @@ m365 purview threatassessment get --id c37d695e-d581-4ae9-82a0-9364eba4291e --in
|
|
|
118
121
|
</TabItem>
|
|
119
122
|
</Tabs>
|
|
120
123
|
|
|
121
|
-
### `
|
|
124
|
+
### `withResults` response
|
|
122
125
|
|
|
123
|
-
When we make use of the option `
|
|
126
|
+
When we make use of the option `withResults` the response will differ.
|
|
124
127
|
|
|
125
128
|
<Tabs>
|
|
126
129
|
<TabItem value="JSON">
|
|
@@ -184,7 +187,7 @@ When we make use of the option `includeResults` the response will differ.
|
|
|
184
187
|
<TabItem value="Markdown">
|
|
185
188
|
|
|
186
189
|
```md
|
|
187
|
-
# purview threatassessment get --id "8aaba0ac-ec4d-4e62-5774-08db16c68731" --
|
|
190
|
+
# purview threatassessment get --id "8aaba0ac-ec4d-4e62-5774-08db16c68731" --withResults "true"
|
|
188
191
|
|
|
189
192
|
Date: 25/02/2023
|
|
190
193
|
|
|
@@ -34,6 +34,9 @@ m365 spo file move [options]
|
|
|
34
34
|
: Behavior when a file or folder with the same name is already present at the destination. Allowed values: `fail`, `replace`, `rename`. Defaults to `fail`.
|
|
35
35
|
|
|
36
36
|
`--includeItemPermissions`
|
|
37
|
+
: (deprecated. Use option `withItemPermissions` instead) Ensure that item-level permissions are preserved during the move.
|
|
38
|
+
|
|
39
|
+
`--withItemPermissions`
|
|
37
40
|
: Ensure that item-level permissions are preserved during the move.
|
|
38
41
|
|
|
39
42
|
`--bypassSharedLock`
|
|
@@ -75,7 +78,7 @@ m365 spo file move --webUrl https://contoso.sharepoint.com/sites/project-x --sou
|
|
|
75
78
|
Move a file referenced by its ID to another document library and retain item-level permissions.
|
|
76
79
|
|
|
77
80
|
```sh
|
|
78
|
-
m365 spo file move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceId b8cc341b-9c11-4f2d-aa2b-0ce9c18bcba2 --targetUrl "/sites/project-x/My Documents" --
|
|
81
|
+
m365 spo file move --webUrl https://contoso.sharepoint.com/sites/project-x --sourceId b8cc341b-9c11-4f2d-aa2b-0ce9c18bcba2 --targetUrl "/sites/project-x/My Documents" --withItemPermissions
|
|
79
82
|
```
|
|
80
83
|
|
|
81
84
|
## Response
|
|
@@ -25,6 +25,9 @@ m365 spo hubsite get [options]
|
|
|
25
25
|
: URL of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
26
26
|
|
|
27
27
|
`--includeAssociatedSites`
|
|
28
|
+
: (deprecated. Use option `withAssociatedSites` instead) Include the associated sites in the result (only in JSON output).
|
|
29
|
+
|
|
30
|
+
`--withAssociatedSites`
|
|
28
31
|
: Include the associated sites in the result (only in JSON output)
|
|
29
32
|
```
|
|
30
33
|
|
|
@@ -53,7 +56,7 @@ m365 spo hubsite get --url 'https://contoso.sharepoint.com/sites/HubSite'
|
|
|
53
56
|
Get information about the hub site with specific ID, including its associated sites. Associated site info is only shown in JSON output.
|
|
54
57
|
|
|
55
58
|
```sh
|
|
56
|
-
m365 spo hubsite get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --
|
|
59
|
+
m365 spo hubsite get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --withAssociatedSites --output json
|
|
57
60
|
```
|
|
58
61
|
|
|
59
62
|
## Response
|
|
@@ -147,9 +150,9 @@ m365 spo hubsite get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --includeAssociat
|
|
|
147
150
|
</TabItem>
|
|
148
151
|
</Tabs>
|
|
149
152
|
|
|
150
|
-
### `
|
|
153
|
+
### `withAssociatedSites` response
|
|
151
154
|
|
|
152
|
-
When we make use of the option `
|
|
155
|
+
When we make use of the option `withAssociatedSites` the response will differ. This command can only be executed using --output json or an error will be thrown.
|
|
153
156
|
|
|
154
157
|
<Tabs>
|
|
155
158
|
<TabItem value="JSON">
|
|
@@ -16,6 +16,9 @@ m365 spo hubsite list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-i, --includeAssociatedSites`
|
|
19
|
+
: (deprecated. Use option `withAssociatedSites` instead) Include the associated sites in the result (only in JSON output).
|
|
20
|
+
|
|
21
|
+
`--withAssociatedSites`
|
|
19
22
|
: Include the associated sites in the result (only in JSON output).
|
|
20
23
|
```
|
|
21
24
|
|
|
@@ -36,7 +39,7 @@ m365 spo hubsite list
|
|
|
36
39
|
List hub sites, including their associated sites, in the current tenant. Associated site info is only shown in JSON output.
|
|
37
40
|
|
|
38
41
|
```sh
|
|
39
|
-
m365 spo hubsite list --
|
|
42
|
+
m365 spo hubsite list --withAssociatedSites --output json
|
|
40
43
|
```
|
|
41
44
|
|
|
42
45
|
## Response
|
|
@@ -119,9 +122,9 @@ m365 spo hubsite list --includeAssociatedSites --output json
|
|
|
119
122
|
</TabItem>
|
|
120
123
|
</Tabs>
|
|
121
124
|
|
|
122
|
-
### `
|
|
125
|
+
### `withAssociatedSites` response
|
|
123
126
|
|
|
124
|
-
When we make use of the option `
|
|
127
|
+
When we make use of the option `withAssociatedSites` the response will differ.
|
|
125
128
|
|
|
126
129
|
<Tabs>
|
|
127
130
|
<TabItem value="JSON">
|
|
@@ -176,7 +179,7 @@ When we make use of the option `includeAssociatedSites` the response will differ
|
|
|
176
179
|
<TabItem value="Markdown">
|
|
177
180
|
|
|
178
181
|
```md
|
|
179
|
-
# spo hubsite list --
|
|
182
|
+
# spo hubsite list --withAssociatedSites "true"
|
|
180
183
|
|
|
181
184
|
Date: 2/20/2023
|
|
182
185
|
|
|
@@ -127,7 +127,7 @@ m365 spo list add [options]
|
|
|
127
127
|
: Boolean value that specifies whether the list is hidden. Valid values are `true`, `false`.
|
|
128
128
|
|
|
129
129
|
`--includedInMyFilesScope [includedInMyFilesScope]`
|
|
130
|
-
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string
|
|
130
|
+
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string "myfiles" by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list.
|
|
131
131
|
|
|
132
132
|
`--irmEnabled [irmEnabled]`
|
|
133
133
|
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list.
|
|
@@ -14,7 +14,7 @@ m365 spo list set [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: URL of the site
|
|
17
|
+
: URL of the site.
|
|
18
18
|
|
|
19
19
|
`--id [id]`
|
|
20
20
|
: ID of the list. Specify either `id`, `title`, or `url` but not multiple.
|
|
@@ -128,7 +128,7 @@ m365 spo list set [options]
|
|
|
128
128
|
: Boolean value that specifies whether the list is hidden. Valid values are `true`, `false`.
|
|
129
129
|
|
|
130
130
|
`--includedInMyFilesScope [includedInMyFilesScope]`
|
|
131
|
-
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string
|
|
131
|
+
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string "myfiles" by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list.
|
|
132
132
|
|
|
133
133
|
`--irmEnabled [irmEnabled]`
|
|
134
134
|
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list.
|