GitHub Copilot CLI: Sign In with Microsoft Entra (Preview)

GitHub CopilotView original changelog

GitHub Copilot CLI now supports Microsoft Entra authentication in public preview. Users can sign in with an Entra account to silently authenticate to a linked Enterprise Managed User account, use a Microsoft 365 Copilot license, or both, depending on organization entitlements. It works on Windows and macOS, with Linux to follow.

Key Takeaways

  • Copilot CLI can now sign in with Microsoft Entra, in public preview, on Windows and macOS.
  • Enterprises using EMUs via OIDC get silent SSO to GitHub with no separate GitHub sign-in.
  • Organizations in Frontier with a Microsoft 365 Copilot license can use Microsoft Copilot models from the terminal without a GitHub account.
  • The two paths use different inference and billing: GitHub inference under the Copilot plan versus Microsoft 365 inference under M365 settings.
  • The Work IQ MCP server can give Copilot access to Microsoft 365 work data as context.
  • CLI version 1.0.113 or later is required, and copilot update performs the upgrade.

Sign In to Copilot CLI with Microsoft Entra

GitHub Copilot CLI now supports Microsoft Entra authentication in public preview. A user can sign in with a Microsoft Entra account to silently authenticate to a linked GitHub Enterprise Managed User (EMU) account, to use a Microsoft 365 Copilot license, or both, depending on what the organization has entitled. Entra authentication for both scenarios is supported on Windows and macOS today, and Linux support will follow.

Enterprise Managed User Support

For enterprises that use EMUs through OIDC, Copilot CLI now supports silent single sign-on with Entra. Users reach GitHub from the CLI with their Entra identity and no separate GitHub sign-in. This requires an assigned Copilot Business or Copilot Enterprise license, and the organization must enable the Copilot CLI policy. In this scenario the CLI uses GitHub inference, and usage is governed by the organization's Copilot plan.

The silent SSO experience is currently limited to Copilot CLI and VS Code and is available only to enterprises using OIDC for EMU. Enterprise Managed Authorization must be enabled for the enterprise on GitHub Enterprise Cloud.

Microsoft 365 Copilot License Support

If an organization is in Frontier and has a Microsoft 365 Copilot license with usage-based billing, Entra authentication gives access to models available through Microsoft Copilot directly from the terminal. Here the CLI uses Microsoft 365 inference rather than GitHub inference, and no GitHub account is needed. Model access and usage limits are managed in the organization's Microsoft 365 Copilot settings, not on GitHub. Users can also connect the Work IQ MCP server so Copilot can use Microsoft 365 work data as context.

Getting Started

Copilot CLI version 1.0.113 or later is required. Running copilot update upgrades the CLI. Steps for enabling each capability are in the Copilot CLI documentation, and GitHub invites feedback in the GitHub Community.

Copilot CLI Adds Microsoft Entra Sign-In (Preview) | Yet Another Changelog