Skip to content

Microsoft Graph CLI Preview 4

Pre-release
Pre-release
Compare
Choose a tag to compare
@calebkiage calebkiage released this 20 Apr 10:20
· 392 commits to main since this release
41e94a2

What's New

  • Default values for client id and tenant id.
  • Add documented headers as command options.
  • Make config file optional.
  • Bug fixes. See CHANGELOG.md for more detailed changes
  • Commands generated for all endpoints in the graph API's openapi.yaml file

Known Issues

  • Some of the new count commands e.g. mgc users count get require the ConsistencyLevel header set. However, the endpoint definitions don't document it and so the command doesn't have an option generated to allow the user to provide a value for it.

Install instructions

  1. Download and extract the application archive for your OS
  2. Run the login command e.g. ./mgc login --scopes User.ReadWrite --scopes Mail.ReadWrite
  3. Run any other commands. For a list of available commands, run ./mgc -h

Full Changelog: https://github.com/microsoftgraph/msgraph-cli/blob/87bbcdea2b9383b7e441feeecf9cdea888509421/CHANGELOG.md#010-preview4---2022-04-19