{"id":24636,"date":"2025-08-29T12:59:21","date_gmt":"2025-08-29T19:59:21","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=24636"},"modified":"2025-08-29T13:00:16","modified_gmt":"2025-08-29T20:00:16","slug":"microsoft-graph-cli-retirement","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/microsoft-graph-cli-retirement\/","title":{"rendered":"Microsoft Graph CLI retirement"},"content":{"rendered":"<p><span style=\"font-family: arial, helvetica, sans-serif;\">We are announcing the retirement of the Microsoft Graph command-line interface (CLI). The Microsoft Graph CLI has served as a powerful tool for developers and IT professionals to interact with Microsoft Graph through simple terminal commands\u2014enabling automation, scripting, and streamlined access to Microsoft 365 data and services. As we evolve our developer tooling strategy, we\u2019re shifting focus to the more integrated and modern experiences found in PowerShell.<\/span><\/p>\n<h1><span style=\"font-family: arial, helvetica, sans-serif; font-size: 18pt;\">Why we\u2019re retiring the CLI<\/span><\/h1>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">We introduced the Microsoft Graph CLI to provide a lightweight, cross-platform tool for interacting with Microsoft Graph APIs. However, the CLI\u2019s limited extensibility, narrower ecosystem, and overlap with more powerful alternatives have led to a decline in its usage. Customers increasingly prefer tools offering deeper integration with automation environments, broader community support, and richer extensibility.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">As part of our ongoing efforts to streamline the Microsoft Graph developer experience, we are consolidating experiences around PowerShell, an alternative that offers significant value and flexibility to our users. This consolidation allows us to focus on delivering a more robust, consistent experience across our supported SDKs and tools.<\/span><\/p>\n<h1><span style=\"font-family: arial, helvetica, sans-serif; font-size: 18pt;\">Deprecation Timeline and Support<\/span><\/h1>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">The Microsoft Graph CLI will enter a deprecation phase starting September 1st, 2025, with full retirement planned for\u00a0August 28th, 2026. During this period:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: arial, helvetica, sans-serif;\">No new features will be introduced.<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif;\">Only critical security vulnerabilities will be addressed.<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif;\">The CLI will remain open source, but we will no longer actively maintain or support it.<\/span><\/li>\n<\/ul>\n<h1><span style=\"font-family: arial, helvetica, sans-serif; font-size: 18pt;\">Transitioning to Microsoft Graph PowerShell<\/span><\/h1>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">We recommend that all CLI users transition to the <a href=\"https:\/\/aka.ms\/MSGraphPowerShellDocs\">Microsoft Graph PowerShell SDK<\/a>. PowerShell provides a comprehensive, actively maintained, and widely adopted interface for working with Microsoft Graph. It offers:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: arial, helvetica, sans-serif;\">Broad API coverage and regular updates<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif;\">Seamless integration with scripting and automation workflows<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif;\">Strong community and documentation support<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif;\">Long-term support and compliance with Microsoft\u2019s servicing commitments<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">The Microsoft Graph PowerShell SDK is aligned with our long-term strategy for secure, scalable, and enterprise-ready tooling.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">We will provide migration guidance in the <a href=\"https:\/\/aka.ms\/MSGraphPowerShellDocs\">Microsoft Graph PowerShell documentation<\/a> to help users transition their scripts and workflows to PowerShell. We are grateful to everyone who used and contributed to the Microsoft Graph CLI. Your feedback has been invaluable in shaping our developer tools. As we move forward, we remain committed to delivering robust, secure, high-quality tools that empower you to build with Microsoft Graph.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">\u2014 The Microsoft Graph Developer Experience Team<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are announcing the retirement of the Microsoft Graph command-line interface (CLI). The Microsoft Graph CLI has served as a powerful tool for developers and IT professionals to interact with Microsoft Graph through simple terminal commands\u2014enabling automation, scripting, and streamlined access to Microsoft 365 data and services. As we evolve our developer tooling strategy, we\u2019re [&hellip;]<\/p>\n","protected":false},"author":72611,"featured_media":24638,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-24636","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph"],"acf":[],"blog_post_summary":"<p>We are announcing the retirement of the Microsoft Graph command-line interface (CLI). The Microsoft Graph CLI has served as a powerful tool for developers and IT professionals to interact with Microsoft Graph through simple terminal commands\u2014enabling automation, scripting, and streamlined access to Microsoft 365 data and services. As we evolve our developer tooling strategy, we\u2019re [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/24636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/72611"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=24636"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/24636\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/24638"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=24636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=24636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=24636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}