This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Microsoft Graph CLI Preview 7
Pre-release
Pre-release
What's New
- Added certificate login (
mgc login --strategy ClientCertificate) - Added
--debugoption - 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 from assets below and extract the application archive for your OS
- Run the login command e.g.
./mgc login --scopes User.ReadWrite Mail.ReadWrite - Run any other commands. For a list of available commands, run
./mgc -h
Full Changelog: https://github.com/microsoftgraph/msgraph-cli/blob/278813e8d4fe58f9bcc36c49febbb60daa379b16/CHANGELOG.md#010-preview7---2022-09-28