@pnp/cli-microsoft365 7.1.0 → 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/cli/Cli.js +3 -2
- 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.js +4 -0
- package/dist/m365/base/AppCommand.js +3 -12
- 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/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/utils/aadAdministrativeUnit.js +25 -0
- package/dist/utils/aadGroup.js +3 -1
- 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/{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/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 +5 -7
- 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
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# tenant people profilecardproperty list
|
|
6
|
+
|
|
7
|
+
Lists all profile card properties
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people profilecardproperty list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
<Global />
|
|
18
|
+
|
|
19
|
+
## Remarks
|
|
20
|
+
|
|
21
|
+
:::info
|
|
22
|
+
|
|
23
|
+
To use this command you must be either **Tenant Administrator** or **Global Administrator**.
|
|
24
|
+
|
|
25
|
+
:::
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Lists all profile card properties
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 tenant people profilecardproperty list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="JSON">
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
[
|
|
42
|
+
{
|
|
43
|
+
"directoryPropertyName": "customAttribute1",
|
|
44
|
+
"annotations": [
|
|
45
|
+
{
|
|
46
|
+
"displayName": "Cost center",
|
|
47
|
+
"localizations": [
|
|
48
|
+
{
|
|
49
|
+
"languageTag": "de",
|
|
50
|
+
"displayName": "Kostenstelle"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
<TabItem value="Text">
|
|
61
|
+
|
|
62
|
+
```text
|
|
63
|
+
directoryPropertyName displayName displayName de
|
|
64
|
+
--------------------- -------------- --------------
|
|
65
|
+
customAttribute1 Cost center Kostenstelle
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
</TabItem>
|
|
69
|
+
<TabItem value="CSV">
|
|
70
|
+
|
|
71
|
+
```csv
|
|
72
|
+
directoryPropertyName,displayName,displayName de
|
|
73
|
+
customAttribute1,Cost center,Kostenstelle
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
</TabItem>
|
|
77
|
+
<TabItem value="Markdown">
|
|
78
|
+
|
|
79
|
+
```md
|
|
80
|
+
# tenant people profilecardproperty list
|
|
81
|
+
|
|
82
|
+
Date: 11/4/2023
|
|
83
|
+
|
|
84
|
+
## Cost center
|
|
85
|
+
|
|
86
|
+
Property | Value
|
|
87
|
+
---------|-------
|
|
88
|
+
directoryPropertyName | customAttribute1
|
|
89
|
+
displayName | Cost center
|
|
90
|
+
displayName de | Kostenstelle
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
</Tabs>
|
|
95
|
+
|
|
96
|
+
## More information
|
|
97
|
+
|
|
98
|
+
- https://learn.microsoft.com/graph/add-properties-profilecard
|
|
@@ -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
|
+
# tenant people profilecardproperty remove
|
|
6
|
+
|
|
7
|
+
Removes an additional attribute from the profile card properties
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people profilecardproperty remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the property to remove. Allowed values: `UserPrincipalName`, `Fax`, `StreetAddress`, `PostalCode`, `StateOrProvince`, `Alias`, `customAttribute1`, `customAttribute2`, `customAttribute3`, `customAttribute4`, `customAttribute5`, `customAttribute6`, `customAttribute7`, `customAttribute8`, `customAttribute9`, `customAttribute10`, `customAttribute11`, `customAttribute12`, `customAttribute13`, `customAttribute14`, `customAttribute15`.
|
|
20
|
+
|
|
21
|
+
`-f, --force`
|
|
22
|
+
: Don't prompt for confirmation.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
:::info
|
|
30
|
+
|
|
31
|
+
To use this command you must be either **Tenant Administrator** or **Global Administrator**.
|
|
32
|
+
|
|
33
|
+
:::
|
|
34
|
+
|
|
35
|
+
:::caution
|
|
36
|
+
|
|
37
|
+
When removing an attribute from a profile card, it takes up to 24 hours for the change to be displayed.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
## Examples
|
|
42
|
+
|
|
43
|
+
Removes the UPN as a profile property from the profile cards
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
m365 tenant people profilecardproperty remove --name UserPrincipalName
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Removes the UPN as a profile property from the profile cards, without showing a confirmation prompt
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 tenant people profilecardproperty remove --name UserPrincipalName --force
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Response
|
|
56
|
+
|
|
57
|
+
The command won't return a response on success.
|
|
58
|
+
|
|
59
|
+
## More information
|
|
60
|
+
|
|
61
|
+
- https://learn.microsoft.com/graph/add-properties-profilecard
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# tenant people profilecardproperty set
|
|
6
|
+
|
|
7
|
+
Updates a custom attribute to the profile card property
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people profilecardproperty set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the property to update. Allowed values: `customAttribute1`, `customAttribute2`, `customAttribute3`, `customAttribute4`, `customAttribute5`, `customAttribute6`, `customAttribute7`, `customAttribute8`, `customAttribute9`, `customAttribute10`, `customAttribute11`, `customAttribute12`, `customAttribute13`, `customAttribute14`, `customAttribute15`.
|
|
20
|
+
|
|
21
|
+
`-d, --displayName <displayName>`
|
|
22
|
+
: The display name of the property.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
:::info
|
|
30
|
+
|
|
31
|
+
To use this command you must be either **Tenant Administrator** or **Global Administrator**.
|
|
32
|
+
|
|
33
|
+
:::
|
|
34
|
+
|
|
35
|
+
:::info
|
|
36
|
+
|
|
37
|
+
You can specify localized values for the `displayName` as well. These can be entered by suffixing the displayName option with a language code: `--displayName-nl-NL "Kostencentrum"`, `--displayName-de "Kostenstelle"`.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
:::caution
|
|
42
|
+
|
|
43
|
+
When updating an attribute to a profile card, it takes up to 24 hours for the addition to be displayed.
|
|
44
|
+
|
|
45
|
+
:::
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
Updates a custom extension attribute to Cost Center
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 tenant people profilecardproperty set --name customAttribute1 --displayName "Cost Center"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Updates a custom extension attribute with translations
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 tenant people profilecardproperty set --name customAttribute1 --displayName "Cost Center" --displayName-nl-NL "Kostencentrum" --displayName-de "Kostenstelle"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Response
|
|
62
|
+
|
|
63
|
+
<Tabs>
|
|
64
|
+
<TabItem value="JSON">
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"directoryPropertyName": "customAttribute1",
|
|
69
|
+
"annotations": [
|
|
70
|
+
{
|
|
71
|
+
"displayName": "Cost center",
|
|
72
|
+
"localizations": [
|
|
73
|
+
{
|
|
74
|
+
"languageTag": "nl-NL",
|
|
75
|
+
"displayName": "Kostenplaats"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
</TabItem>
|
|
84
|
+
<TabItem value="Text">
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
directoryPropertyName: customAttribute1
|
|
88
|
+
displayName : Cost center
|
|
89
|
+
displayName nl-NL : Kostenplaats
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
</TabItem>
|
|
93
|
+
<TabItem value="CSV">
|
|
94
|
+
|
|
95
|
+
```csv
|
|
96
|
+
directoryPropertyName,displayName,displayName nl-NL
|
|
97
|
+
customAttribute1,Cost center,Kostenplaats
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
</TabItem>
|
|
101
|
+
<TabItem value="Markdown">
|
|
102
|
+
|
|
103
|
+
```md
|
|
104
|
+
# tenant people profilecardproperty set --name 'customAttribute1' --displayName 'Cost center' --displayName-nl-NL 'Kostenplaats'
|
|
105
|
+
|
|
106
|
+
Date: 11/2/2023
|
|
107
|
+
|
|
108
|
+
Property | Value
|
|
109
|
+
---------|-------
|
|
110
|
+
directoryPropertyName | customAttribute1
|
|
111
|
+
displayName | Cost center
|
|
112
|
+
displayName nl-NL | Kostenplaats
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
</TabItem>
|
|
116
|
+
</Tabs>
|
|
117
|
+
|
|
118
|
+
## More information
|
|
119
|
+
|
|
120
|
+
- https://learn.microsoft.com/graph/add-properties-profilecard
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365",
|
|
9
|
-
"version": "7.
|
|
9
|
+
"version": "7.2.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-common": "^13.2.1",
|
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",
|
|
@@ -84,11 +84,6 @@
|
|
|
84
84
|
"email": "appie@digiwijs.nl",
|
|
85
85
|
"web": "https://www.cloudappie.nl/"
|
|
86
86
|
},
|
|
87
|
-
{
|
|
88
|
-
"name": "Patrick Lamber",
|
|
89
|
-
"email": "patrick@nubo.eu",
|
|
90
|
-
"web": "https://www.nubo.eu/"
|
|
91
|
-
},
|
|
92
87
|
{
|
|
93
88
|
"name": "Arjun Menon",
|
|
94
89
|
"email": "arjun.umenon@gmail.com",
|
|
@@ -156,6 +151,7 @@
|
|
|
156
151
|
"Hunt, Geoffrey <info@runningdeveloper.com>",
|
|
157
152
|
"Hvam, Allan <ahp@delegate.dk>",
|
|
158
153
|
"Jaakke, Robert <robert.jaakke@mavention.nl>",
|
|
154
|
+
"Junker Aaron <aaron.junker@outlook.com>",
|
|
159
155
|
"Kailasam, Balamurugan <kshsbala@engineer.com>",
|
|
160
156
|
"Karda, Akash <akashkarda@gmail.com>",
|
|
161
157
|
"Kasireddy, Prasad <prasad.gietcse@gmail.com>",
|
|
@@ -173,6 +169,8 @@
|
|
|
173
169
|
"Lengelle, Veronique <25181757+veronicageek@users.noreply.github.com>",
|
|
174
170
|
"Levert, Sebastien <slevert@outlook.com>",
|
|
175
171
|
"Lingstuyl, Martin <mlingstuyl@live.com>",
|
|
172
|
+
"Macháček, Martin <machacek@edhouse.cz>",
|
|
173
|
+
"Maestrini Tobias <tobias@bee365.ch>",
|
|
176
174
|
"Maillot, Michaël <battosaimykle@gmail.com>",
|
|
177
175
|
"Mastykarz, Waldek <waldek@mastykarz.nl>",
|
|
178
176
|
"McDonnell, Kevin <kevin@mcd79.com>",
|
|
@@ -300,4 +298,4 @@
|
|
|
300
298
|
"sinon": "^15.2.0",
|
|
301
299
|
"source-map-support": "^0.5.21"
|
|
302
300
|
}
|
|
303
|
-
}
|
|
301
|
+
}
|
|
@@ -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.
|