import CLISettings from '/docs/_clisettings.mdx'; import Global from '/docs/cmd/_global.mdx'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Gets value of a CLI for Microsoft 365 configuration option
m365 cli config get [options]
`-k, --key <key>`
: Config key to get the value of
Following is the list of configuration settings available in CLI for Microsoft 365.
If the specified setting has not been configured, CLI will return no output.
Get the output configured for CLI for Microsoft 365
m365 cli config get --key output
When retrieving the output
key, responses will look like this:
"json"
json
json
json