This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Microsoft Graph CLI Preview 5
Pre-release
Pre-release
·
90 commits
to e6e147e35cd6b82bf183d289735db5781a46fef9
since this release
What's New
- Add item sub-command for indexer paths (paths with id).
GET /users/{user-id}changes frommgc users get --user-idtomgc users item get --user-id - Add command samples.
- Add automatic page iteration via the
--allcommand option. - 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 --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/03317b2b2c14957b1d3ce5258f0239a2070f4cd6/CHANGELOG.md#010-preview5---2022-06-10