Skip to content

cli doctor

Retrieves diagnostic information about the current environment

Usage

m365 cli doctor [options]

Options

-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

This command gets all the necessary diagnostic information needed to triage and debug CLI issues without exposing any security-sensitive details

Examples

Retrieve diagnostic information

m365 cli doctor