Skip to content

search externalconnection list

Lists external connections defined in Microsoft Search

Usage

m365 search externalconnection list [options]

Options

-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 is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

List external connections defined in Microsoft Search

m365 search externalconnection list

Response

[
  {
    "id": "CLITest",
    "name": "CLI-Test",
    "description": "CLI Test",
    "state": "draft",
    "configuration": {
      "authorizedApps": [
        "31359c7f-bd7e-475c-86db-fdb8c937548e"
      ],
      "authorizedAppIds": [
        "31359c7f-bd7e-475c-86db-fdb8c937548e"
      ]
    }
  }
]
id       name      state
-------  --------  -----
CLITest  CLI-Test  draft
id,name,state
CLITest,CLI-Test,draft