@pnp/cli-microsoft365 7.1.0-beta.d53f0d9 → 7.2.0-beta.0642f3a
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 +0 -1
- package/.eslintrc.cjs +4 -0
- package/Dockerfile +0 -1
- package/dist/Auth.js +1 -1
- package/dist/Command.js +18 -28
- package/dist/cli/Cli.js +6 -4
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-add.js +61 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-get.js +80 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-list.js +25 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-remove.js +96 -0
- package/dist/m365/aad/commands/group/group-user-list.js +146 -0
- package/dist/m365/aad/commands/m365group/m365group-remove.js +109 -15
- package/dist/m365/aad/commands.js +5 -0
- package/dist/m365/base/AppCommand.js +3 -12
- package/dist/m365/cli/commands/cli-doctor.js +11 -6
- package/dist/m365/commands/setup.js +6 -1
- package/dist/m365/{search/commands/externalconnection/externalconnection-add.js → external/commands/connection/connection-add.js} +16 -13
- package/dist/m365/{search/commands/externalconnection/externalconnection-get.js → external/commands/connection/connection-get.js} +16 -13
- package/dist/m365/{search/commands/externalconnection/externalconnection-list.js → external/commands/connection/connection-list.js} +7 -4
- package/dist/m365/{search/commands/externalconnection/externalconnection-remove.js → external/commands/connection/connection-remove.js} +17 -14
- package/dist/m365/{search/commands/externalconnection/externalconnection-schema-add.js → external/commands/connection/connection-schema-add.js} +14 -11
- package/dist/m365/external/commands.js +15 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.1-rc.0.js +21 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014010_CODE_settings_filesexclude_jest.js +44 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.1-rc.0.js +57 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
- package/dist/m365/spo/commands/site/site-set.js +33 -1
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +15 -14
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +22 -22
- package/dist/m365/teams/commands/app/app-update.js +9 -6
- package/dist/m365/tenant/commands/people/people-profilecardproperty-add.js +131 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-get.js +75 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-list.js +53 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-remove.js +84 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-set.js +118 -0
- package/dist/m365/tenant/commands/people/profileCardProperties.js +24 -0
- package/dist/m365/tenant/commands.js +5 -0
- package/dist/m365/todo/commands/task/task-list.js +8 -10
- package/dist/m365/todo/commands/task/task-remove.js +36 -36
- package/dist/m365/todo/commands/task/task-set.js +11 -13
- package/dist/m365/yammer/commands/group/group-user-remove.js +22 -23
- package/dist/utils/aadAdministrativeUnit.js +25 -0
- package/dist/utils/aadGroup.js +3 -1
- package/dist/utils/odata.js +20 -19
- package/dist/utils/prompt.js +16 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-add.mdx +119 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-get.mdx +102 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-list.mdx +87 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-remove.mdx +56 -0
- package/docs/docs/cmd/aad/group/group-user-list.mdx +135 -0
- package/docs/docs/cmd/aad/m365group/m365group-remove.mdx +11 -1
- package/docs/docs/cmd/{search/externalconnection/externalconnection-add.mdx → external/connection/connection-add.mdx} +16 -10
- package/docs/docs/cmd/{search/externalconnection/externalconnection-get.mdx → external/connection/connection-get.mdx} +16 -11
- package/docs/docs/cmd/{search/externalconnection/externalconnection-list.mdx → external/connection/connection-list.mdx} +12 -7
- package/docs/docs/cmd/external/connection/connection-remove.mdx +54 -0
- package/docs/docs/cmd/external/connection/connection-schema-add.mdx +41 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-rename.mdx +2 -0
- package/docs/docs/cmd/spo/site/site-set.mdx +15 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +126 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +101 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +98 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +61 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +120 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +36 -18
- package/dist/m365/search/commands.js +0 -9
- package/docs/docs/cmd/search/externalconnection/externalconnection-remove.mdx +0 -48
- package/docs/docs/cmd/search/externalconnection/externalconnection-schema-add.mdx +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0-beta.0642f3a",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -31,21 +31,41 @@
|
|
|
31
31
|
"lint": "eslint --ext .ts src"
|
|
32
32
|
},
|
|
33
33
|
"keywords": [
|
|
34
|
-
"
|
|
34
|
+
"adaptive card",
|
|
35
|
+
"ai builder",
|
|
36
|
+
"azure active directory",
|
|
37
|
+
"azure ad",
|
|
38
|
+
"azure",
|
|
39
|
+
"bookings",
|
|
40
|
+
"dataverse",
|
|
41
|
+
"entra id",
|
|
42
|
+
"graph",
|
|
43
|
+
"m365",
|
|
35
44
|
"microsoft 365",
|
|
36
|
-
"
|
|
45
|
+
"microsoft",
|
|
37
46
|
"o365",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
47
|
+
"office 365",
|
|
48
|
+
"onedrive",
|
|
49
|
+
"onenote",
|
|
50
|
+
"outlook",
|
|
51
|
+
"planner",
|
|
52
|
+
"power apps",
|
|
53
|
+
"power automate",
|
|
54
|
+
"power platform",
|
|
55
|
+
"purview",
|
|
56
|
+
"search",
|
|
57
|
+
"sharepoint framework",
|
|
40
58
|
"sharepoint online",
|
|
41
59
|
"sharepoint",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
60
|
+
"skype",
|
|
61
|
+
"spfx",
|
|
62
|
+
"teams",
|
|
63
|
+
"tenant",
|
|
64
|
+
"todo",
|
|
65
|
+
"viva connections",
|
|
66
|
+
"viva engage",
|
|
67
|
+
"viva",
|
|
68
|
+
"yammer"
|
|
49
69
|
],
|
|
50
70
|
"author": "https://github.com/pnp/cli-microsoft365/graphs/contributors",
|
|
51
71
|
"maintainers": [
|
|
@@ -64,11 +84,6 @@
|
|
|
64
84
|
"email": "appie@digiwijs.nl",
|
|
65
85
|
"web": "https://www.cloudappie.nl/"
|
|
66
86
|
},
|
|
67
|
-
{
|
|
68
|
-
"name": "Patrick Lamber",
|
|
69
|
-
"email": "patrick@nubo.eu",
|
|
70
|
-
"web": "https://www.nubo.eu/"
|
|
71
|
-
},
|
|
72
87
|
{
|
|
73
88
|
"name": "Arjun Menon",
|
|
74
89
|
"email": "arjun.umenon@gmail.com",
|
|
@@ -136,6 +151,7 @@
|
|
|
136
151
|
"Hunt, Geoffrey <info@runningdeveloper.com>",
|
|
137
152
|
"Hvam, Allan <ahp@delegate.dk>",
|
|
138
153
|
"Jaakke, Robert <robert.jaakke@mavention.nl>",
|
|
154
|
+
"Junker Aaron <aaron.junker@outlook.com>",
|
|
139
155
|
"Kailasam, Balamurugan <kshsbala@engineer.com>",
|
|
140
156
|
"Karda, Akash <akashkarda@gmail.com>",
|
|
141
157
|
"Kasireddy, Prasad <prasad.gietcse@gmail.com>",
|
|
@@ -153,6 +169,8 @@
|
|
|
153
169
|
"Lengelle, Veronique <25181757+veronicageek@users.noreply.github.com>",
|
|
154
170
|
"Levert, Sebastien <slevert@outlook.com>",
|
|
155
171
|
"Lingstuyl, Martin <mlingstuyl@live.com>",
|
|
172
|
+
"Macháček, Martin <machacek@edhouse.cz>",
|
|
173
|
+
"Maestrini Tobias <tobias@bee365.ch>",
|
|
156
174
|
"Maillot, Michaël <battosaimykle@gmail.com>",
|
|
157
175
|
"Mastykarz, Waldek <waldek@mastykarz.nl>",
|
|
158
176
|
"McDonnell, Kevin <kevin@mcd79.com>",
|
|
@@ -209,7 +227,7 @@
|
|
|
209
227
|
"Thangavel, Sekar <sekar.thangavel@gmail.com>",
|
|
210
228
|
"Thorild, Fredrik <fredrik.thorild@sogeti.com>",
|
|
211
229
|
"Trinder, Garry <garry.trinder@live.com>",
|
|
212
|
-
"Tripathi, Saurabh <
|
|
230
|
+
"Tripathi, Saurabh <saurabh7019@gmail.com>",
|
|
213
231
|
"Vaghasia, Siddharth <siddh.vaghasia@gmail.com>",
|
|
214
232
|
"Van de Voorde, Tim <tim.vdv1995@hotmail.com>",
|
|
215
233
|
"van Dijk, Mark <mark@ichicraft.com>",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const prefix = 'search';
|
|
2
|
-
export default {
|
|
3
|
-
EXTERNALCONNECTION_ADD: `${prefix} externalconnection add`,
|
|
4
|
-
EXTERNALCONNECTION_GET: `${prefix} externalconnection get`,
|
|
5
|
-
EXTERNALCONNECTION_LIST: `${prefix} externalconnection list`,
|
|
6
|
-
EXTERNALCONNECTION_REMOVE: `${prefix} externalconnection remove`,
|
|
7
|
-
EXTERNALCONNECTION_SCHEMA_ADD: `${prefix} externalconnection schema add`
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=commands.js.map
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
-
|
|
3
|
-
# search externalconnection remove
|
|
4
|
-
|
|
5
|
-
Allow the administrator to remove a specific external connection used in Microsoft Search.
|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
m365 search externalconnection remove [options]
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Options
|
|
14
|
-
|
|
15
|
-
```md definition-list
|
|
16
|
-
`-i, --id [id]`
|
|
17
|
-
: ID of the External Connection to remove. Specify either `id` or `name`
|
|
18
|
-
|
|
19
|
-
`-n, --name [name]`
|
|
20
|
-
: Name of the External Connection to remove. Specify either `id` or `name`
|
|
21
|
-
|
|
22
|
-
`-f, --force`
|
|
23
|
-
: Don't prompt for confirming removing the connection
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
<Global />
|
|
27
|
-
|
|
28
|
-
## Remarks
|
|
29
|
-
|
|
30
|
-
If the command finds multiple external connections used in Microsoft Search with the specified name, it will prompt you to disambiguate which external connection it should remove, listing the discovered IDs.
|
|
31
|
-
|
|
32
|
-
## Examples
|
|
33
|
-
|
|
34
|
-
Removes external connection with id _MyApp_
|
|
35
|
-
|
|
36
|
-
```sh
|
|
37
|
-
m365 search externalconnection remove --id "MyApp"
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Removes external connection with name _Test_. Will NOT prompt for confirmation before removing.
|
|
41
|
-
|
|
42
|
-
```sh
|
|
43
|
-
m365 search externalconnection remove --name "Test" --force
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## Response
|
|
47
|
-
|
|
48
|
-
The command won't return a response on success.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
-
|
|
3
|
-
# search externalconnection schema add
|
|
4
|
-
|
|
5
|
-
This command allows the administrator to add a schema to a specific external connection for use in Microsoft Search.
|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
m365 search externalconnection schema add [options]
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Options
|
|
14
|
-
|
|
15
|
-
```md definition-list
|
|
16
|
-
`-i, --externalConnectionId <externalConnectionId>`
|
|
17
|
-
: ID of the External Connection.
|
|
18
|
-
|
|
19
|
-
`-s, --schema [schema]`
|
|
20
|
-
: The schema object to be added.
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
<Global />
|
|
24
|
-
|
|
25
|
-
## Examples
|
|
26
|
-
|
|
27
|
-
Adds a new schema to a specific external connection.
|
|
28
|
-
|
|
29
|
-
```sh
|
|
30
|
-
m365 search externalconnection schema add --externalConnectionId 'CliConnectionId' --schema '{"baseType":"microsoft.graph.externalItem","properties":[{"name":"ticketTitle","type":"String","isSearchable":"true","isRetrievable":"true","labels":["title"]},{"name":"priority","type":"String","isQueryable":"true","isRetrievable":"true","isSearchable":"false"},{"name":"assignee","type":"String","isRetrievable":"true"}]}'
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Response
|
|
34
|
-
|
|
35
|
-
The command won't return a response on success.
|