Skip to main content

external connection remove

Allow the administrator to remove a specific external connection

Usage

m365 external connection remove [options]

Alias

m365 search externalconnection remove

Options

-i, --id [id]

ID of the External Connection to remove. Specify either id or name.

-n, --name [name]

Name of the External Connection to remove. Specify either id or name.

-f, --force

Don't prompt for confirming removing the connection.

-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 options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

If the command finds multiple external connections with the specified name, it will prompt you to disambiguate which external connection it should remove, listing the discovered IDs.

Examples

Removes external connection by its id.

m365 external connection remove --id "MyApp"

Removes external connection by its name. Will NOT prompt for confirmation before removing.

m365 external connection remove --name "Test" --force

Response

The command won't return a response on success.

CTRL + M