connection set
Rename the specified connection
Usage
m365 connection set [options]
Options
-n, --name <name>The name of the connection to update.
--newName <newName>The new name of 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,permissions,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.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Remarks
The value for --name can be found by running m365 connection list. You can update the name of a connection to any value to make switching connections easier.
Examples
Update an existing connection
m365 connection set --name '0bb7cb89-7fae-4775-a01a-c372cc167371' --newName 'myworkaccount'
Response
The command won't return a response on success.