import CLISettings from '../../../_clisettings.mdx'; import Global from '../../_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 ofFollowing 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 outputWhen retrieving the output key, responses will look like this:
"json"json
jsonjson