Skip to content

New command: cli doctor #2157

@waldekmastykarz

Description

@waldekmastykarz

Usage

cli doctor [options]

Description

Retrieves diagnostic information about the current environment

Options

global options only

Additional Information

This command retrieves diagnostic information that will help us debug issues:

  • OS
  • shell
  • CLI version
  • Node version
  • AAD app ID
  • AAD app tenant (common or single in case app tenant is a GUID)
  • authentication mode
  • security scopes from the access token(s)
  • value of the CLIMICROSOFT365_ENV env var

The idea is to help users get all the necessary information we need to help us triage and debug their issue without exposing any security-sensitive details

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions