Microsoft Graph CLI Preview 5
Pre-release
Pre-release
calebkiage
released this
10 Jun 08:09
·
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-id
tomgc users item get --user-id
- Add command samples.
- Add automatic page iteration via the
--all
command 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
count
commands e.g.mgc users count get
require theConsistencyLevel
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
- 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