Microsoft Graph CLI v1.0.0 is now generally available
Overview
Microsoft Graph CLI v1.0.0 is now generally available. This command-line tool provides convenient methods to access Microsoft Graph API capabilities on any operating system and any shell. It includes various authentication options, a new "me" command, and support for the Graph Beta experience.
What's new?
- Added authentication options, including managed identity for app-only authentication.
- Introduced the "me" command to get information about signed-in users.
- Added support for Microsoft Graph CLI beta, accessible through the msgraph-beta-cli GitHub repo.
- Improved CLI experience with the new "--headers" option.
- Recommended platforms for usage: Windows Terminal 1.18, macOS (minimum version: 10.12 Sierra) terminal, and PowerShell version 7.3.2.
Installation
Download the CLI from the assets link of the latest release for Windows, Mac, Linux, or Docker. Platform-specific installation details can be found in the CLI Read Me.
Usage
Once installed, you can use the Microsoft Graph CLI to interact with the Microsoft Graph API. Examples of commands include getting information about a specific user, creating a new group, and uploading a file to OneDrive. Refer to the CLI documentation for a complete list of available commands and options.
Additional resources
Explore the documentation for installation instructions, authentication guidance, API discovery, and more. Follow Microsoft365Dev on Twitter for the latest updates. Thank you for your support and feedback!