Microsoft has begun canceling Claude Code licenses for thousands of its own developers, signaling a strategic shift away from Anthropic's popular AI coding tool toward its own GitHub Copilot CLI. The decision, effective by the end of June, comes after Microsoft first opened access to Claude Code in December of last year, inviting project managers, designers, and other non-programmers to experiment with coding. Over the past six months, Claude Code proved highly popular inside Microsoft—perhaps too popular, according to sources familiar with the matter.
Why Microsoft is walking back Claude Code
Microsoft is planning to remove most of its Claude Code licenses and push developers to use Copilot CLI instead. While Claude Code has been a popular addition, it has also undermined Microsoft's new GitHub Copilot CLI coding tool—a command line version of GitHub Copilot that runs outside development apps like Visual Studio Code. According to internal sources, Microsoft's Experiences + Devices team, which includes engineers responsible for Windows, Microsoft 365, Outlook, Microsoft Teams, and Surface, is winding down its usage of Claude Code by the end of June. Engineers are being encouraged to start transitioning their workflows to GitHub Copilot CLI in the coming weeks, ahead of the cutoff.
Microsoft is telling employees that the decision is about converging on Copilot CLI as its main agentic command line interface tool across Experiences + Devices. However, sources indicate the decision is also a financial one. The June 30th cutoff is the last day of Microsoft's current financial year, and canceling Claude Code licenses is an easy way to cut operating expenses when the new financial year starts in July.
Internal memo from Rajesh Jha
Rajesh Jha, executive vice president of Microsoft's experiences and devices group, addressed the transition in an internal memo seen by Notepad. “When we began offering both Copilot CLI and Claude Code, our goal was to learn quickly, benchmark the tools in real engineering workflows, and understand what best supported our teams,” Jha wrote. “Claude Code was an important part of that learning… at the same time, Copilot CLI has given us something especially important: a product we can help shape directly with GitHub for Microsoft's repos, workflows, security expectations, and engineering needs.”
The transition away from Claude Code won't be easy. Microsoft had originally encouraged employees without coding experience to experiment with Claude Code, allowing designers and project managers to prototype ideas. The company had also expected employees to use both tools and provide feedback. However, Microsoft's own developers have favored Claude Code over GitHub Copilot CLI in recent months, creating gaps between the products that now need to be addressed.
Broader context: Microsoft's AI strategy
Microsoft had reportedly considered acquiring Cursor in recent months to close the GitHub Copilot gap but has started looking at different AI startups to bolster its AI ambitions and avoid potential regulatory scrutiny. The decision to cancel Claude Code licenses does not affect Microsoft's broader relationship with Anthropic. Anthropic's models will remain accessible through Copilot CLI, alongside internal-only Microsoft models and OpenAI's range. Microsoft quickly became one of Anthropic's top customers earlier this year, counting sales of Anthropic AI models toward its own Azure sales quotas. The company also signed a deal with Anthropic in November that allows Microsoft Foundry customers to access Claude Sonnet 4.5, Claude Opus 4.1, and Claude Haiku 4.5.
Microsoft continues to favor Anthropic's Claude models inside Microsoft 365 apps and Copilot, where they are more capable at certain tasks than OpenAI's counterparts. The company recently worked closely with Anthropic to bring the technology behind Claude Cowork into Microsoft 365 Copilot. Thus, the license cancellation is not a rejection of Anthropic's technology but a strategic reorientation toward internally controlled tooling.
Pressure on GitHub Copilot CLI
The pressure is now on Microsoft's GitHub team to improve Copilot CLI and surpass Claude Code. Microsoft told reporters last year that 91 percent of its engineering teams were using GitHub Copilot, but Claude Code usage over the past six months has impacted that number. Microsoft now wants to turn GitHub Copilot usage around and have its own engineers once again improving its own AI coding tool. Jha wrote in the memo, “We are partnering closely with GitHub and continue to improve Copilot CLI for Microsoft engineers. The GitHub team has already shipped significant improvements based on Microsoft feedback, and Experiences + Devices will remain closely involved in shaping the product. This is a shared accountability across GitHub and E+D leadership: to make Copilot CLI the best agentic coding experience for Microsoft engineers.”
Microsoft is encouraging developers to file bug reports and feedback on Copilot CLI ahead of Claude Code's removal. The company plans to invest more in Copilot CLI so it becomes deeply integrated into Microsoft's engineering workflows. This move mirrors a broader industry trend where large tech companies are consolidating around their own AI tools to reduce dependency on external vendors and control costs.
Historical background: Microsoft's relationship with Anthropic
Microsoft's journey with Anthropic began in 2023 when the company invested heavily in the AI startup, later becoming one of its largest customers. The partnership allowed Microsoft to offer Claude models through Azure, competing with OpenAI's GPT series. In 2025, Microsoft opened Claude Code to thousands of internal employees as part of a grassroots effort to democratize coding. The tool's ease of use and natural language interface made it popular among non-engineers, enabling rapid prototyping of scripts, automation, and simple applications. However, this popularity created internal competition with GitHub Copilot CLI, which Microsoft had developed as a strategic alternative to third-party coding agents.
The decision to cancel Claude Code licenses also comes amid a broader cost-cutting drive at Microsoft. The company has laid off thousands of employees across multiple divisions in recent quarters, including a 5 percent cut at LinkedIn. By canceling Claude Code subscriptions, Microsoft can reduce operational expenses without affecting its core engineering capabilities. The financial year-end alignment suggests that executives are prioritizing immediate cost savings to present a leaner balance sheet to investors.
Impact on developers and workflows
The transition will be disruptive for developers who have integrated Claude Code into their daily workflows. Microsoft's engineers have used Claude Code for tasks ranging from generating test scripts to refactoring legacy code. The tool's ability to understand natural language instructions and generate working code snippets made it a favorite among teams working on Windows and Office. With the cutoff approaching, engineers must adapt to GitHub Copilot CLI, which has a different interface and capabilities. Some developers have expressed frustration that Copilot CLI lacks the polish of Claude Code, particularly in understanding complex multi-step tasks.
Microsoft acknowledges the gap but insists that Copilot CLI will improve rapidly based on internal feedback. The company has also promised that Anthropic models will remain accessible through Copilot CLI, allowing engineers to leverage Claude's strengths within the Microsoft ecosystem. This hybrid approach may ease the transition, though it remains to be seen whether Copilot CLI can match the user experience that made Claude Code so popular.
Broader implications for the AI coding market
The decision highlights the growing tension between using best-of-breed third-party AI tools and developing proprietary alternatives. As companies like Microsoft, Google, and Amazon invest heavily in their own AI assistants, they face the challenge of convincing internal teams to adopt them over more polished external options. Microsoft's move to cancel Claude Code licenses is a bet that Copilot CLI can eventually surpass it, but the immediate disruption may slow productivity in the short term.
Analysts note that the AI coding tool market is becoming increasingly competitive. GitHub Copilot, Amazon CodeWhisperer, and Google's Gemini Code Assist are vying for developer attention, while startups like Cursor and Replit offer innovative alternatives. Microsoft's decision to consolidate around Copilot CLI signals a long-term commitment to owning the developer toolchain, reducing reliance on Anthropic despite continued use of Claude models in other products.
For now, Microsoft's engineers must adapt to a new toolset. The company is providing training resources and encouraging early migration to minimize last-minute chaos. Whether Copilot CLI will fulfill Microsoft's ambitions remains to be seen, but the financial and strategic rationale is clear: Microsoft wants to control the AI coding experience for its own workforce, and Claude Code is the first casualty of that strategy.
Source: The Verge News