Microsoft to Retire Microsoft Graph CLI in 2026

MS Graph CLI

Microsoft has announced the upcoming retirement of the Microsoft Graph command-line interface (CLI). The deprecation phase will begin on September 1, 2025, with full retirement scheduled for August 28, 2026.

Why It’s Being Retired

The Microsoft Graph CLI was introduced as a lightweight, cross-platform tool to interact with Microsoft Graph APIs using simple terminal commands. It enabled automation, scripting, and quick access to Microsoft 365 data. However, its limited extensibility and overlap with more powerful alternatives have led to declining usage. Developers and IT pros are increasingly adopting Microsoft Graph PowerShell, which offers deeper integration with automation environments, stronger community support, and broader API coverage.

Deprecation Timeline

  • September 1, 2025 – Deprecation phase begins.

  • August 28, 2026 – Full retirement.

During this time:

  • No new features will be added.

  • Only critical security fixes will be provided.

  • The CLI will remain open source but will no longer be actively maintained.

Transition to PowerShell

Microsoft recommends all users migrate to the Microsoft Graph PowerShell SDK, which provides:

  • Comprehensive API coverage with regular updates.

  • Seamless scripting and automation integration.

  • Strong community support and documentation.

  • Enterprise-ready servicing and long-term support.

Migration guidance will be available in the Microsoft Graph PowerShell documentation to help users adapt their scripts and workflows.

Looking Ahead

Microsoft thanked the community for using and contributing to the CLI, noting that feedback has been key in shaping its developer tools. The company’s focus now shifts toward delivering robust, secure, and enterprise-ready experiences through PowerShell and supported SDKs.