GitHub Copilot CLI adds Microsoft Entra sign-in as a preview
GitHub Copilot CLI added Microsoft Entra sign-in as a public preview. It works on Windows and macOS, with Linux support to follow. You need Copilot CLI 1.0.113 or later, and copilot update gets you there.
Run /login in the CLI and pick "Your organization (Microsoft Entra)". The CLI signs you in with your existing Entra account, and the models your entitlements allow show up in the /model picker. You can use Entra sign-in with a linked GitHub account, a Microsoft 365 Copilot license, or both, depending on what your organization has set up. It also means you can use the CLI without a GitHub sign-in if you go this route.
If your enterprise uses Enterprise Managed Users through OIDC, Entra gives you silent SSO to your linked GitHub account, with no separate GitHub login. You need a Copilot Business or Copilot Enterprise seat, and your organization has to turn on the Copilot CLI policy. Inference runs on GitHub and follows your organization's Copilot plan. This SSO currently only covers Copilot CLI and VS Code.
If your organization is in Frontier and has a Microsoft 365 Copilot license with usage-based billing, you can reach the models available through Microsoft Copilot from the terminal. In that case the CLI uses Microsoft 365 inference instead of GitHub's, and you don't need a GitHub account. Model access and limits are managed in your Microsoft 365 Copilot settings. Admins have a few settings to turn on in the Microsoft 365 admin center first, including the Microsoft Copilot Code spending policy and the Copilot Frontier setting. You can also add the Work IQ MCP server to give Copilot your Microsoft 365 work data as context.
Without a GitHub login, /delegate, the GitHub MCP server, and GitHub code search aren't available, so sign in to GitHub as well if you need them. The authentication docs cover the setup steps.