Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 5.13 KB

File metadata and controls

83 lines (52 loc) · 5.13 KB
title Administering Copilot CLI for your enterprise
shortTitle Administer for enterprise
intro Control the use of {% data variables.copilot.copilot_cli_short %} within your enterprise.
versions
feature
copilot
permissions Enterprise owners and AI managers
contentType how-tos
allowTitleToDifferFromFilename true
category
Manage Copilot for a team
Administer Copilot CLI
docsTeamMetrics
copilot-cli

{% data variables.copilot.copilot_cli_short %} brings agentic capabilities to developers' command line. When {% data variables.copilot.copilot_cli_short %} is enabled, developers can use it to ask {% data variables.product.prodname_copilot_short %} to work on tasks locally or delegate work to {% data variables.copilot.copilot_cloud_agent %}.

Enabling or disabling {% data variables.copilot.copilot_cli_short %}

You can control the use of {% data variables.copilot.copilot_cli_short %} by configuring a policy.

{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.ai-controls-tab %}

  1. To manage policies for {% data variables.product.prodname_copilot_short %}, in the sidebar, click {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}.
  2. In the "{% data variables.product.prodname_copilot_short %} Clients" section, for {% data variables.copilot.copilot_cli_short %}, select your preferred policy.

How do other AI controls affect {% data variables.copilot.copilot_cli_short %}?

Not all enterprise-level AI controls and policies apply to {% data variables.copilot.copilot_cli_short %}. These are the controls that do apply:

{% data variables.copilot.copilot_cli_short %} enablement

You can enable or disable {% data variables.copilot.copilot_cli_short %} at the enterprise or organization level.

Model selection

Users can only access AI models that are enabled at the enterprise level. When you enable or disable models in your enterprise settings, those changes are reflected in {% data variables.copilot.copilot_cli_short %}. Users can view which models are available to them using the /model command.

Enterprise and organization owners can provide keys for custom models. Users can select these like any other model: with the {% data variables.copilot.copilot_cli_short %} model selector, the --model flag, or environment variables. See AUTOTITLE.

Separately, users can also provide their own LLM keys locally. This is not controlled by enterprise policies. See AUTOTITLE.

Custom agents

Enterprise-configured custom agents are available to use with {% data variables.copilot.copilot_cli_short %}.

MCP server policies

Enterprise and organization MCP policies apply to {% data variables.copilot.copilot_cli_short %}. You can configure an MCP registry URL so developers can discover approved servers, and set an allowlist policy to restrict which MCP servers can run. For more information, see AUTOTITLE.

{% data variables.copilot.copilot_cloud_agent %} enablement

Both the {% data variables.copilot.copilot_cli_short %} policy and the {% data variables.copilot.copilot_cloud_agent %} policy must be enabled for users to be able to use the /delegate command in {% data variables.copilot.copilot_cli_short %}.

Audit logging

Updates to enterprise policies that affect {% data variables.copilot.copilot_cli_short %} are recorded as events in the enterprise audit log.

Seat assignment

Users must have an assigned {% data variables.product.prodname_copilot %} seat to access {% data variables.copilot.copilot_cli_short %}.

Controls that do not apply

All other controls do not affect {% data variables.copilot.copilot_cli_short %}, notably:

  • IDE-specific policies: Policies configured for specific IDEs or editor extensions
  • Content exclusions: File path-based content exclusions

Why can't my developers access {% data variables.copilot.copilot_cli_short %}?

If you expect a user to have access to {% data variables.copilot.copilot_cli_short %} and they don't:

  1. Ensure the user has a valid {% data variables.product.prodname_copilot %} seat assignment from an organization in your enterprise.
  2. Verify the enterprise-level policy. If you set the policy to "Enabled everywhere" or "Disabled everywhere," this overrides all organization-level settings.
  3. If the enterprise policy is set to "Let organizations decide," check the organizations where the user receives their {% data variables.product.prodname_copilot %} license. {% data variables.copilot.copilot_cli_short %} must be enabled in at least one of the organization granting them a {% data variables.product.prodname_copilot %} license.

One way to ensure consistent access across all organizations is to set the policy to Enabled everywhere at the enterprise level.

Further reading