Microsoft Graph CLI Preview 1
Pre-release
Pre-release
What's New
- Login and logout
- Configuration file support. See app-settings.sample.json for an example configuration
- Commands generated for all endpoints in the graph API's openapi.yaml file
Known Issues
- Requests fail when we add
--select
or--expand
options to a command - When the API responds with an error, the application crashes.
- If a user isn't logged in, the application prompts them to log in but no scopes are requested.
Install instructions
- Download and extract the application archive for your OS
- Update the
app-settings.json
file adding a tenant id and client id. Look at the app-settings.sample.json file for a sample. - 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/commits/0.1.0-preview.1