external connection get
Allow the administrator to get a specific external connection
Usage
m365 external connection get [options]
Alias
m365 search externalconnection get
Options
-i, --id [id]
ID of the External Connection to get. Specify either
id
orname
.-n, --name [name]
Name of the External Connection to get. Specify either
id
orname
.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Examples
Get the External Connection by its id.
m365 external connection get --id "MyApp"
Get the External Connection by its name.
m365 external connection get --name "Test"
Response
- JSON
- Text
- CSV
- Markdown
{
"id": "CLITest",
"name": "CLI-Test",
"description": "CLI Test",
"state": "draft",
"configuration": {
"authorizedApps": [
"31359c7f-bd7e-475c-86db-fdb8c937548e"
],
"authorizedAppIds": [
"31359c7f-bd7e-475c-86db-fdb8c937548e"
]
}
}
configuration: {"authorizedApps":["31359c7f-bd7e-475c-86db-fdb8c937548e"],"authorizedAppIds":["31359c7f-bd7e-475c-86db-fdb8c937548e"]}
description : CLI Test
id : CLITest
name : CLI-Test
state : draft
id,name,description,state,configuration
CLITest,CLI-Test,CLI Test,draft,"{""authorizedApps"":[""31359c7f-bd7e-475c-86db-fdb8c937548e""],""authorizedAppIds"":[""31359c7f-bd7e-475c-86db-fdb8c937548e""]}"
# external connection get --id "CLITest"
Date: 2022-11-05
## CLI-Test (CLITest)
Property | Value
---------|-------
id | CLITest
name | CLI-Test
description | CLI Test
state | draft