This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Microsoft Graph CLI Preview 4
Pre-release
Pre-release
·
441 commits
to main
since this release
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
countcommands e.g.mgc users count getrequire theConsistencyLevelheader 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
- Download and extract the application archive for your OS
- Run the login command e.g.
./mgc login --scopes User.ReadWrite --scopes Mail.ReadWrite - 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