@pnp/cli-microsoft365 10.1.0-beta.10765f6 → 10.1.0-beta.63210ca
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/README.md +2 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/AuthServer.js +1 -1
- package/dist/Command.js +2 -2
- package/dist/cli/cli.js +2 -2
- package/dist/m365/base/AppCommand.js +5 -2
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +18 -4
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +34 -2
- package/dist/m365/entra/commands/app/app-get.js +17 -5
- package/dist/m365/entra/commands/app/app-list.js +34 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +3 -0
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +3 -0
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +3 -0
- package/dist/m365/entra/commands/group/group-get.js +6 -3
- package/dist/m365/entra/commands/group/group-list.js +16 -1
- package/dist/m365/entra/commands/m365group/m365group-add.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +21 -6
- package/dist/m365/entra/commands/m365group/m365group-get.js +29 -7
- package/dist/m365/entra/commands/m365group/m365group-list.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-remove.js +21 -9
- package/dist/m365/entra/commands/m365group/m365group-renew.js +19 -7
- package/dist/m365/entra/commands/m365group/m365group-set.js +1 -1
- package/dist/m365/entra/commands/m365group/m365group-teamify.js +12 -21
- package/dist/m365/file/commands/convert/convert-pdf.js +3 -4
- package/dist/m365/file/commands/file-add.js +5 -6
- package/dist/m365/graph/commands/subscription/subscription-add.js +46 -5
- package/dist/m365/pp/commands/{chatbot/chatbot-get.js → copilot/copilot-get.js} +24 -20
- package/dist/m365/pp/commands/{chatbot/chatbot-list.js → copilot/copilot-list.js} +16 -12
- package/dist/m365/pp/commands/{chatbot/chatbot-remove.js → copilot/copilot-remove.js} +28 -24
- package/dist/m365/pp/commands.js +3 -0
- package/dist/m365/spfx/commands/package/package-generate.js +1 -1
- package/dist/m365/spfx/commands/project/JsonRule.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016004_TS_property_pane_property_import.js +2 -2
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +2 -2
- package/dist/m365/spo/commands/contenttype/contenttype-list.js +6 -3
- package/dist/m365/spo/commands/file/file-add.js +1 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -2
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -2
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -2
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -2
- package/dist/m365/spo/commands/list/list-contenttype-list.js +5 -2
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +10 -8
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +1 -2
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +1 -2
- package/dist/m365/spo/commands/page/page-add.js +1 -1
- package/dist/m365/spo/commands/site/site-admin-add.js +4 -12
- package/dist/m365/spo/commands/site/site-admin-list.js +3 -11
- package/dist/m365/spo/commands/site/site-admin-remove.js +4 -12
- package/dist/m365/spo/commands/site/site-set.js +1 -1
- package/dist/m365/spp/commands/model/model-remove.js +105 -0
- package/dist/m365/spp/commands.js +2 -1
- package/dist/m365/teams/commands/user/user-app-list.js +1 -1
- package/dist/m365/tenant/commands/report/report-office365activationcounts.js +2 -8
- package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +2 -8
- package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +2 -8
- package/dist/m365/todo/commands/list/list-remove.js +2 -1
- package/dist/m365/todo/commands/list/list-set.js +2 -1
- package/dist/m365/todo/commands/task/task-add.js +2 -1
- package/dist/m365/todo/commands/task/task-get.js +2 -1
- package/dist/m365/todo/commands/task/task-list.js +2 -1
- package/dist/m365/todo/commands/task/task-remove.js +2 -1
- package/dist/m365/todo/commands/task/task-set.js +1 -1
- package/dist/m365/viva/commands/engage/engage-community-set.js +111 -0
- package/dist/m365/viva/commands.js +1 -0
- package/dist/utils/entraAdministrativeUnit.js +14 -2
- package/dist/utils/entraGroup.js +49 -6
- package/dist/utils/formatting.js +8 -20
- package/dist/utils/spo.js +5 -4
- package/dist/utils/spp.js +3 -3
- package/dist/utils/urlUtil.js +11 -14
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +10 -3
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +16 -1
- package/docs/docs/cmd/entra/app/app-get.mdx +13 -8
- package/docs/docs/cmd/entra/app/app-list.mdx +16 -1
- package/docs/docs/cmd/entra/group/group-get.mdx +10 -3
- package/docs/docs/cmd/entra/group/group-list.mdx +9 -2
- package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +12 -3
- package/docs/docs/cmd/entra/m365group/m365group-get.mdx +29 -5
- package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +7 -4
- package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +11 -2
- package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +12 -3
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +2 -2
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +6 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +3 -3
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +30 -5
- package/docs/docs/cmd/login.mdx +45 -44
- package/docs/docs/cmd/pp/{chatbot/chatbot-get.mdx → copilot/copilot-get.mdx} +24 -18
- package/docs/docs/cmd/pp/{chatbot/chatbot-list.mdx → copilot/copilot-list.mdx} +20 -14
- package/docs/docs/cmd/pp/{chatbot/chatbot-remove.mdx → copilot/copilot-remove.mdx} +16 -10
- package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +7 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +7 -1
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +7 -1
- package/docs/docs/cmd/spp/model/model-remove.mdx +57 -0
- package/docs/docs/cmd/viva/engage/engage-community-set.mdx +61 -0
- package/npm-shrinkwrap.json +6 -0
- package/package.json +4 -2
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# pp
|
|
5
|
+
# pp copilot get
|
|
6
6
|
|
|
7
|
-
Get information about the specified
|
|
7
|
+
Get information about the specified copilot
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 pp copilot get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 pp chatbot get [options]
|
|
13
19
|
```
|
|
@@ -19,10 +25,10 @@ m365 pp chatbot get [options]
|
|
|
19
25
|
: The name of the environment.
|
|
20
26
|
|
|
21
27
|
`-i, --id [id]`
|
|
22
|
-
: The id of the
|
|
28
|
+
: The id of the copilot. Specify either `id` or `name` but not both.
|
|
23
29
|
|
|
24
30
|
`-n, --name [name]`
|
|
25
|
-
: The name of the
|
|
31
|
+
: The name of the copilot. Specify either `id` or `name` but not both.
|
|
26
32
|
|
|
27
33
|
`--asAdmin`
|
|
28
34
|
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
@@ -32,28 +38,28 @@ m365 pp chatbot get [options]
|
|
|
32
38
|
|
|
33
39
|
## Examples
|
|
34
40
|
|
|
35
|
-
Get a specific
|
|
41
|
+
Get a specific copilot in a specific environment based on name.
|
|
36
42
|
|
|
37
43
|
```sh
|
|
38
|
-
m365 pp
|
|
44
|
+
m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Copilot"
|
|
39
45
|
```
|
|
40
46
|
|
|
41
|
-
Get a specific
|
|
47
|
+
Get a specific copilot in a specific environment based on name as admin.
|
|
42
48
|
|
|
43
49
|
```sh
|
|
44
|
-
m365 pp
|
|
50
|
+
m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Copilot" --asAdmin
|
|
45
51
|
```
|
|
46
52
|
|
|
47
|
-
Get a specific
|
|
53
|
+
Get a specific copilot in a specific environment based on id.
|
|
48
54
|
|
|
49
55
|
```sh
|
|
50
|
-
m365 pp
|
|
56
|
+
m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893"
|
|
51
57
|
```
|
|
52
58
|
|
|
53
|
-
Get a specific
|
|
59
|
+
Get a specific copilot in a specific environment based on id as admin.
|
|
54
60
|
|
|
55
61
|
```sh
|
|
56
|
-
m365 pp
|
|
62
|
+
m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893" --asAdmin
|
|
57
63
|
```
|
|
58
64
|
|
|
59
65
|
## Response
|
|
@@ -71,7 +77,7 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
|
|
|
71
77
|
"schemaname": "new_bot_23f5f58697fd43d595eb451c9797a53d",
|
|
72
78
|
"_ownerid_value": "5fa787c1-1c4d-ed11-bba1-000d3a2caf7f",
|
|
73
79
|
"overwritetime": "1900-01-01T00:00:00Z",
|
|
74
|
-
"name": "CLI 365
|
|
80
|
+
"name": "CLI 365 Copilot",
|
|
75
81
|
"solutionid": "fd140aae-4df4-11dd-bd17-0019b9312238",
|
|
76
82
|
"ismanaged": false,
|
|
77
83
|
"versionnumber": 1421457,
|
|
@@ -119,7 +125,7 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
|
|
|
119
125
|
botid : 3a081d91-5ea8-40a7-8ac9-abbaa3fcb893
|
|
120
126
|
createdon : 2022-11-19T10:42:22Z
|
|
121
127
|
modifiedon : 2022-11-19T10:42:24Z
|
|
122
|
-
name : CLI 365
|
|
128
|
+
name : CLI 365 Copilot
|
|
123
129
|
publishedon: 2022-11-19T10:43:24Z
|
|
124
130
|
```
|
|
125
131
|
|
|
@@ -128,18 +134,18 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
|
|
|
128
134
|
|
|
129
135
|
```csv
|
|
130
136
|
name,botid,publishedon,createdon,modifiedon
|
|
131
|
-
CLI 365
|
|
137
|
+
CLI 365 Copilot,3a081d91-5ea8-40a7-8ac9-abbaa3fcb893,2022-11-19T10:43:24Z,2022-11-19T10:42:22Z,2022-11-19T10:42:24Z
|
|
132
138
|
```
|
|
133
139
|
|
|
134
140
|
</TabItem>
|
|
135
141
|
<TabItem value="Markdown">
|
|
136
142
|
|
|
137
143
|
```md
|
|
138
|
-
# pp
|
|
144
|
+
# pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893"
|
|
139
145
|
|
|
140
146
|
Date: 9/1/2023
|
|
141
147
|
|
|
142
|
-
## CLI 365
|
|
148
|
+
## CLI 365 Copilot
|
|
143
149
|
|
|
144
150
|
Property | Value
|
|
145
151
|
---------|-------
|
|
@@ -151,7 +157,7 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
|
|
|
151
157
|
schemaname | new\_bot\_23f5f58697fd43d595eb451c9797a53d
|
|
152
158
|
\_ownerid\_value | 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
153
159
|
overwritetime | 1900-01-01T00:00:00Z
|
|
154
|
-
name | CLI 365
|
|
160
|
+
name | CLI 365 Copilot
|
|
155
161
|
solutionid | fd140aae-4df4-11dd-bd17-0019b9312238
|
|
156
162
|
ismanaged | false
|
|
157
163
|
versionnumber | 1445843
|
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# pp
|
|
5
|
+
# pp copilot list
|
|
6
6
|
|
|
7
|
-
Lists Microsoft Power Platform
|
|
7
|
+
Lists Microsoft Power Platform copilots in the specified Power Platform environment
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 pp copilot list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 pp chatbot list [options]
|
|
13
19
|
```
|
|
@@ -26,16 +32,16 @@ m365 pp chatbot list [options]
|
|
|
26
32
|
|
|
27
33
|
## Examples
|
|
28
34
|
|
|
29
|
-
List
|
|
35
|
+
List copilots in a specific environment.
|
|
30
36
|
|
|
31
37
|
```sh
|
|
32
|
-
m365 pp
|
|
38
|
+
m365 pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
|
|
33
39
|
```
|
|
34
40
|
|
|
35
|
-
List
|
|
41
|
+
List copilots in a specific environment as admin.
|
|
36
42
|
|
|
37
43
|
```sh
|
|
38
|
-
m365 pp
|
|
44
|
+
m365 pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --asAdmin
|
|
39
45
|
```
|
|
40
46
|
|
|
41
47
|
## Response
|
|
@@ -59,7 +65,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
59
65
|
"isManaged": false,
|
|
60
66
|
"versionNumber": 1429641,
|
|
61
67
|
"timezoneRuleVersionNumber": 0,
|
|
62
|
-
"name": "CLI
|
|
68
|
+
"name": "CLI Copilot",
|
|
63
69
|
"statusCode": 1,
|
|
64
70
|
"owner": "Doe, John",
|
|
65
71
|
"overwriteTime": "1900-01-01T00:00:00Z",
|
|
@@ -77,9 +83,9 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
77
83
|
<TabItem value="Text">
|
|
78
84
|
|
|
79
85
|
```text
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
CLI
|
|
86
|
+
name botid publishedOn createdOn botModifiedOn
|
|
87
|
+
----------- ------------------------------------ -------------------- -------------------- --------------------
|
|
88
|
+
CLI Copilot 23f5f586-97fd-43d5-95eb-451c9797a53d 2022-11-19T19:19:53Z 2022-11-19T10:42:22Z 2022-11-19T20:19:57Z
|
|
83
89
|
```
|
|
84
90
|
|
|
85
91
|
</TabItem>
|
|
@@ -87,18 +93,18 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
87
93
|
|
|
88
94
|
```csv
|
|
89
95
|
name,botid,publishedOn,createdOn,botModifiedOn
|
|
90
|
-
CLI
|
|
96
|
+
CLI Copilot,23f5f586-97fd-43d5-95eb-451c9797a53d,2022-11-19T19:19:53Z,2022-11-19T10:42:22Z,2022-11-19T20:19:57Z
|
|
91
97
|
```
|
|
92
98
|
|
|
93
99
|
</TabItem>
|
|
94
100
|
<TabItem value="Markdown">
|
|
95
101
|
|
|
96
102
|
```md
|
|
97
|
-
# pp
|
|
103
|
+
# pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
|
|
98
104
|
|
|
99
105
|
Date: 9/1/2023
|
|
100
106
|
|
|
101
|
-
## CLI
|
|
107
|
+
## CLI Copilot
|
|
102
108
|
|
|
103
109
|
Property | Value
|
|
104
110
|
---------|-------
|
|
@@ -115,7 +121,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
115
121
|
isManaged | false
|
|
116
122
|
versionNumber | 1429641
|
|
117
123
|
timezoneRuleVersionNumber | 0
|
|
118
|
-
name | CLI
|
|
124
|
+
name | CLI Copilot
|
|
119
125
|
statusCode | 1
|
|
120
126
|
owner | Doe, John
|
|
121
127
|
overwriteTime | 1900-01-01T00:00:00Z
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# pp
|
|
3
|
+
# pp copilot remove
|
|
4
4
|
|
|
5
|
-
Removes the specified
|
|
5
|
+
Removes the specified copilot
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 pp copilot remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 pp chatbot remove [options]
|
|
11
17
|
```
|
|
@@ -17,10 +23,10 @@ m365 pp chatbot remove [options]
|
|
|
17
23
|
: The name of the environment.
|
|
18
24
|
|
|
19
25
|
`-i, --id [id]`
|
|
20
|
-
: The id of the
|
|
26
|
+
: The id of the copilot. Specify either `id` or `name` but not both.
|
|
21
27
|
|
|
22
28
|
`-n, --name [name]`
|
|
23
|
-
: The name of the
|
|
29
|
+
: The name of the copilot. Specify either `id` or `name` but not both.
|
|
24
30
|
|
|
25
31
|
`--asAdmin`
|
|
26
32
|
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
@@ -33,22 +39,22 @@ m365 pp chatbot remove [options]
|
|
|
33
39
|
|
|
34
40
|
## Examples
|
|
35
41
|
|
|
36
|
-
Removes the specified Microsoft Power Platform
|
|
42
|
+
Removes the specified Microsoft Power Platform copilot owned by the currently signed-in user based on name
|
|
37
43
|
|
|
38
44
|
```sh
|
|
39
|
-
m365 pp
|
|
45
|
+
m365 pp copilot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name"
|
|
40
46
|
```
|
|
41
47
|
|
|
42
|
-
Removes the specified Microsoft Power Platform
|
|
48
|
+
Removes the specified Microsoft Power Platform copilot owned by the currently signed-in user based on id without confirmation
|
|
43
49
|
|
|
44
50
|
```sh
|
|
45
|
-
m365 pp
|
|
51
|
+
m365 pp copilot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e --force
|
|
46
52
|
```
|
|
47
53
|
|
|
48
|
-
Removes the specified Microsoft Power Platform
|
|
54
|
+
Removes the specified Microsoft Power Platform copilot owned by another user based on name
|
|
49
55
|
|
|
50
56
|
```sh
|
|
51
|
-
m365 pp
|
|
57
|
+
m365 pp copilot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name" --asAdmin
|
|
52
58
|
```
|
|
53
59
|
|
|
54
60
|
## Response
|
|
@@ -29,7 +29,7 @@ m365 pp managementapp add [options]
|
|
|
29
29
|
|
|
30
30
|
## Remarks
|
|
31
31
|
|
|
32
|
-
To execute this command the first time you'll need sign in using the Microsoft Azure PowerShell
|
|
32
|
+
To execute this command the first time you'll need sign in using the Microsoft Azure PowerShell application registration. You can do this by executing `m365 login --appId 1950a258-227b-4e31-a9cf-717495945fc2`. To register the Microsoft Entra application registration that CLI for Microsoft 365 uses by default, execute `m365 pp managementapp add--appId 31359c7f-bd7e-475c-86db-fdb8c937548e`.
|
|
33
33
|
|
|
34
34
|
For best performance use the `appId` option to reference the Microsoft Entra application registration to update. If you use `objectId` or `name`, this command will first need to find the corresponding `appId` for that application.
|
|
35
35
|
|
|
@@ -108,6 +108,12 @@ m365 spo contenttype get --webUrl https://contoso.sharepoint.com/sites/contoso-s
|
|
|
108
108
|
"NewFormTarget": 0,
|
|
109
109
|
"NewFormTemplateName": "ListForm",
|
|
110
110
|
"NewFormUrl": "",
|
|
111
|
+
"Parent": {
|
|
112
|
+
"StringId": "0x01000B1208C5D23DF",
|
|
113
|
+
"Name": "Item",
|
|
114
|
+
"Group": "List items",
|
|
115
|
+
"Id": { "StringId": "0x01000B1208C5D23DF" }
|
|
116
|
+
},
|
|
111
117
|
"ReadOnly": false,
|
|
112
118
|
"SchemaXml": "<ContentType ID=\"0x01007926A45D687BA842B947286090B8F67D\" Name=\"PnP Alert\" Group=\"PnP Content Types\" Description=\"Create a new list item.\" Version=\"0\"><Folder TargetName=\"_cts/PnP Alert\" /><Fields><Field ID=\"{c042a256-787d-4a6f-8a8a-cf6ab767f12d}\" Name=\"ContentType\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"ContentType\" Group=\"_Hidden\" Type=\"Computed\" DisplayName=\"Content Type\" Sealed=\"TRUE\" Sortable=\"FALSE\" RenderXMLUsingPattern=\"TRUE\" PITarget=\"MicrosoftWindowsSharePointServices\" PIAttribute=\"ContentTypeID\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\"><FieldRefs><FieldRef ID=\"{03e45e84-1992-4d42-9116-26f756012634}\" Name=\"ContentTypeId\" /></FieldRefs><DisplayPattern><MapToContentType><Column Name=\"ContentTypeId\" /></MapToContentType></DisplayPattern></Field><Field ID=\"{fa564e0f-0c70-4ab9-b863-0177e6ddd247}\" Name=\"Title\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"Title\" Group=\"_Hidden\" Type=\"Text\" DisplayName=\"Title\" Required=\"TRUE\" FromBaseType=\"TRUE\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\" ShowInNewForm=\"TRUE\" ShowInEditForm=\"TRUE\"></Field></Fields><XmlDocuments><XmlDocument NamespaceURI=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><FormTemplates xmlns=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",
|
|
113
119
|
"Scope": "/sites/contoso-sales",
|
|
@@ -170,7 +176,7 @@ m365 spo contenttype get --webUrl https://contoso.sharepoint.com/sites/contoso-s
|
|
|
170
176
|
|
|
171
177
|
Date: 10/2/2023
|
|
172
178
|
|
|
173
|
-
## PnP Alert (
|
|
179
|
+
## PnP Alert (0x01007926A45D687BA842B947286090B8F67D)
|
|
174
180
|
|
|
175
181
|
Property | Value
|
|
176
182
|
---------|-------
|
|
@@ -75,6 +75,12 @@ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso
|
|
|
75
75
|
"NewFormTarget": 0,
|
|
76
76
|
"NewFormTemplateName": "ListForm",
|
|
77
77
|
"NewFormUrl": "",
|
|
78
|
+
"Parent": {
|
|
79
|
+
"StringId": "0x01000B1208C5D23DF",
|
|
80
|
+
"Name": "Item",
|
|
81
|
+
"Group": "List items",
|
|
82
|
+
"Id": { "StringId": "0x01000B1208C5D23DF" }
|
|
83
|
+
},
|
|
78
84
|
"ReadOnly": false,
|
|
79
85
|
"SchemaXml": "<ContentType ID=\"0x01007926A45D687BA842B947286090B8F67D\" Name=\"PnP Alert\" Group=\"PnP Content Types\" Description=\"Create a new list item.\" Version=\"0\"><Folder TargetName=\"_cts/PnP Alert\" /><Fields><Field ID=\"{c042a256-787d-4a6f-8a8a-cf6ab767f12d}\" Name=\"ContentType\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"ContentType\" Group=\"_Hidden\" Type=\"Computed\" DisplayName=\"Content Type\" Sealed=\"TRUE\" Sortable=\"FALSE\" RenderXMLUsingPattern=\"TRUE\" PITarget=\"MicrosoftWindowsSharePointServices\" PIAttribute=\"ContentTypeID\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\"><FieldRefs><FieldRef ID=\"{03e45e84-1992-4d42-9116-26f756012634}\" Name=\"ContentTypeId\" /></FieldRefs><DisplayPattern><MapToContentType><Column Name=\"ContentTypeId\" /></MapToContentType></DisplayPattern></Field><Field ID=\"{fa564e0f-0c70-4ab9-b863-0177e6ddd247}\" Name=\"Title\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"Title\" Group=\"_Hidden\" Type=\"Text\" DisplayName=\"Title\" Required=\"TRUE\" FromBaseType=\"TRUE\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\" ShowInNewForm=\"TRUE\" ShowInEditForm=\"TRUE\"></Field></Fields><XmlDocuments><XmlDocument NamespaceURI=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><FormTemplates xmlns=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",
|
|
80
86
|
"Scope": "/sites/contoso-sales",
|
|
@@ -108,7 +114,7 @@ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso
|
|
|
108
114
|
# spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"
|
|
109
115
|
|
|
110
116
|
Date: 10/2/2023
|
|
111
|
-
## PnP Alert (
|
|
117
|
+
## PnP Alert (0x01007926A45D687BA842B947286090B8F67D)
|
|
112
118
|
|
|
113
119
|
Property | Value
|
|
114
120
|
---------|-------
|
|
@@ -87,6 +87,12 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
|
|
|
87
87
|
"NewFormTarget": 0,
|
|
88
88
|
"NewFormTemplateName": "ListForm",
|
|
89
89
|
"NewFormUrl": "",
|
|
90
|
+
"Parent": {
|
|
91
|
+
"StringId": "0x01000B1208C5D23DF",
|
|
92
|
+
"Name": "Item",
|
|
93
|
+
"Group": "List items",
|
|
94
|
+
"Id": { "StringId": "0x01000B1208C5D23DF" }
|
|
95
|
+
},
|
|
90
96
|
"ReadOnly": false,
|
|
91
97
|
"SchemaXml": "<ContentType ID=\"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E\" Name=\"Item\" Group=\"List Content Types\" Description=\"Create a new list item.\" Version=\"0\" FeatureId=\"{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}\" FeatureIds=\"{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}\"><Folder TargetName=\"Item\"/><Fields><Field ID=\"{c042a256-787d-4a6f-8a8a-cf6ab767f12d}\" Type=\"Computed\" DisplayName=\"Content Type\" Name=\"ContentType\" DisplaceOnUpgrade=\"TRUE\" RenderXMLUsingPattern=\"TRUE\" Sortable=\"FALSE\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"ContentType\" Group=\"_Hidden\" PITarget=\"MicrosoftWindowsSharePointServices\" PIAttribute=\"ContentTypeID\" FromBaseType=\"TRUE\"><FieldRefs><FieldRef Name=\"ContentTypeId\"/></FieldRefs><DisplayPattern><MapToContentType><Column Name=\"ContentTypeId\"/></MapToContentType></DisplayPattern></Field><Field ID=\"{fa564e0f-0c70-4ab9-b863-0177e6ddd247}\" Type=\"Text\" Name=\"Title\" DisplayName=\"Title\" Required=\"TRUE\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"Title\" FromBaseType=\"TRUE\" ColName=\"nvarchar1\" ShowInNewForm=\"TRUE\" ShowInEditForm=\"TRUE\"/></Fields><XmlDocuments><XmlDocument NamespaceURI=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><FormTemplates xmlns=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",
|
|
92
98
|
"Scope": "/Lists/Test",
|
|
@@ -121,7 +127,7 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
|
|
|
121
127
|
|
|
122
128
|
Date: 2/20/2023
|
|
123
129
|
|
|
124
|
-
## Document (
|
|
130
|
+
## Document (0x01000B1208C5D23DF44B9F1AEE7373DE9D5E)
|
|
125
131
|
|
|
126
132
|
Property | Value
|
|
127
133
|
---------|-------
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spp model remove
|
|
6
|
+
|
|
7
|
+
Deletes a document understanding model
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spp model remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --siteUrl <siteUrl>`
|
|
19
|
+
: The URL of the content center site.
|
|
20
|
+
|
|
21
|
+
`-i, --id [id]`
|
|
22
|
+
: The unique ID of the model. Specify either `id` or `title` but not both.
|
|
23
|
+
|
|
24
|
+
`-t, --title [title]`
|
|
25
|
+
: The display name of the model. Specify either `id` or `title` but not both.
|
|
26
|
+
|
|
27
|
+
`-f, --force`
|
|
28
|
+
: Don't prompt for confirmation.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Remarks
|
|
34
|
+
|
|
35
|
+
:::note
|
|
36
|
+
|
|
37
|
+
The model must be removed from all libraries before it can be deleted.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
## Examples
|
|
42
|
+
|
|
43
|
+
Delete a SharePoint Premium document understanding model using the model’s UniqueId.
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Delete a SharePoint Premium document understanding model using the model’s title.
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "climicrosoft365Model.classifier"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Response
|
|
56
|
+
|
|
57
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# viva engage community set
|
|
6
|
+
|
|
7
|
+
Updates an existing Viva Engage community
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 viva engage community set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id [id]`
|
|
19
|
+
: The id of the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
|
|
20
|
+
|
|
21
|
+
`-d, --displayName [displayName]`
|
|
22
|
+
: The name of the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
|
|
23
|
+
|
|
24
|
+
`--entraGroupId [entraGroupId]`
|
|
25
|
+
: The id of the Microsoft Entra group associated with the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
|
|
26
|
+
|
|
27
|
+
`--newDisplayName [newDisplayName]`
|
|
28
|
+
: New name for the community. The maximum length is 255 characters.
|
|
29
|
+
|
|
30
|
+
`--description [description]`
|
|
31
|
+
: The description of the community. The maximum length is 1024 characters.
|
|
32
|
+
|
|
33
|
+
`--privacy [privacy]`
|
|
34
|
+
: Defines the privacy level of the community. The possible values are: `public`, and `private`.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
Update info about the community specified by id
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 viva engage community set --id eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI0NzY5MTM1ODIwOSJ9 --newDisplayName 'Developers' --description 'Community for all devs' --privacy public
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Update info about the community specified by name
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 viva engage community set --displayName 'Developrs' --newDisplayName 'Developers'
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Update info about the community specified by Entra group id
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 viva engage community set --entraGroupId '0bed8b86-5026-4a93-ac7d-56750cc099f1' --newDisplayName 'Developers'
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Response
|
|
60
|
+
|
|
61
|
+
The command won't return a response on success.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
25
|
"clipboardy": "^4.0.0",
|
|
26
26
|
"configstore": "^7.0.0",
|
|
27
|
+
"csv-parse": "^5.5.6",
|
|
27
28
|
"csv-stringify": "^6.5.1",
|
|
28
29
|
"easy-table": "^1.2.0",
|
|
29
30
|
"jmespath": "^0.16.0",
|
|
@@ -3401,6 +3402,11 @@
|
|
|
3401
3402
|
"node": ">= 8"
|
|
3402
3403
|
}
|
|
3403
3404
|
},
|
|
3405
|
+
"node_modules/csv-parse": {
|
|
3406
|
+
"version": "5.6.0",
|
|
3407
|
+
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.6.0.tgz",
|
|
3408
|
+
"integrity": "sha512-l3nz3euub2QMg5ouu5U09Ew9Wf6/wQ8I++ch1loQ0ljmzhmfZYrH9fflS22i/PQEvsPvxCwxgz5q7UB8K1JO4Q=="
|
|
3409
|
+
},
|
|
3404
3410
|
"node_modules/csv-stringify": {
|
|
3405
3411
|
"version": "6.5.1",
|
|
3406
3412
|
"resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-6.5.1.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "10.1.0-beta.
|
|
3
|
+
"version": "10.1.0-beta.63210ca",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"test:version": "node scripts/check-version.js",
|
|
29
29
|
"test:cov": "c8 npm run test:test",
|
|
30
30
|
"test:test": "mocha",
|
|
31
|
-
"lint": "eslint --ext .ts src"
|
|
31
|
+
"lint": "eslint --ext .ts src --cache --cache-strategy content"
|
|
32
32
|
},
|
|
33
33
|
"keywords": [
|
|
34
34
|
"adaptive card",
|
|
@@ -237,6 +237,7 @@
|
|
|
237
237
|
"Trinder, Garry <garry.trinder@live.com>",
|
|
238
238
|
"Tripathi, Saurabh <saurabh7019@gmail.com>",
|
|
239
239
|
"Vaghasia, Siddharth <siddh.vaghasia@gmail.com>",
|
|
240
|
+
"van Brug, Herco <hercovanbrug@hotmail.com>",
|
|
240
241
|
"Van de Voorde, Tim <tim.vdv1995@hotmail.com>",
|
|
241
242
|
"van Dijk, Mark <mark@ichicraft.com>",
|
|
242
243
|
"van Hunen, Erwin <erwin.van.hunen@outlook.com>",
|
|
@@ -267,6 +268,7 @@
|
|
|
267
268
|
"chalk": "^5.3.0",
|
|
268
269
|
"clipboardy": "^4.0.0",
|
|
269
270
|
"configstore": "^7.0.0",
|
|
271
|
+
"csv-parse": "^5.5.6",
|
|
270
272
|
"csv-stringify": "^6.5.1",
|
|
271
273
|
"easy-table": "^1.2.0",
|
|
272
274
|
"jmespath": "^0.16.0",
|