Skip to main content

管理企业中 Copilot 的策略和功能

企业所有者可以针对企业中的所有组织控制 Copilot 的可用性及功能。

谁可以使用此功能?

Enterprise owners

Copilot Enterprise or Copilot Business

About policies for Copilot in your enterprise

You can set policies that control the availability of Copilot and its features in your enterprise and organizations.

There are two enforcement options for Copilot policies in your enterprise:

  • Enabled - The feature is available in all organizations with Copilot enabled in your enterprise.
  • Disabled - The feature is blocked for all organizations with Copilot enabled in your enterprise.

If a policy is enabled or disabled at the enterprise level, the same policy cannot be changed at the organization level.

You can configure policies for your enterprise. If no policy is chosen at the enterprise level, and multiple organizations within the enterprise choose different policies and grant access to the same users, the policy will be enforced as listed in the table.

Policy NameEnforced policy for multiple organizations
Copilot in .comleast restrictive
Copilot in the CLIleast restrictive
Copilot in Desktop (public preview)least restrictive
Copilot Chat in the IDEleast restrictive
Editor preview featuresleast restrictive
Copilot Chat in Mobileleast restrictive
Copilot Extensionsleast restrictive
Suggestions matching public codemost restrictive
Give Copilot access to Bingleast restrictive
Copilot access to alternative AI modelsleast restrictive
Copilot Metrics API accessmost restrictive

Copilot in .com

With a Copilot Enterprise license, you can enable "Copilot in .com" to provide members of your enterprise access to AI features on the website, including:

  • Copilot Chat in .com - You can ask Copilot coding-related questions within a chat interface on . You can ask general questions or questions within a specific context such as a repository, issue, file, or symbol.
  • Copilot pull request summaries - Copilot can generate a summary of the changes made in a pull request, as well as a list of impacted files, using natural language. This overview helps reviewers quickly understand the proposed changes.
  • Copilot knowledge bases - Organization owners can create knowledge bases consisting of Markdown documentation across one or more repositories, allowing organization members to use that documentation as context when they ask questions in Copilot Chat in , Copilot Chat in Visual Studio Code, and Copilot Chat in Visual Studio.

If you enable "Copilot in .com", you can also configure additional features:

  • Opt in to user feedback collection: If enabled, users can provide feedback on Copilot pull request summaries. For more information, see Creating a pull request summary with Copilot.

  • Opt in to preview features: If enabled, users can test new Copilot features that are not yet generally available. Be aware that previews of features may have flaws, and the features may be changed or discontinued at any time. Current previews of Copilot features include:

Copilot in the CLI

Copilot in the CLI is an extension for CLI which provides a chat-like interface in the terminal. You can ask Copilot for command suggestions, or for explanations of commands they run.

Copilot in Desktop (public preview)

You can generate commit messages and descriptions in Desktop based on the changes you make to your project.

Copilot Chat in the IDE

You can chat with Copilot in your IDE to get code suggestions and answers to coding-related questions without context switching.

Editor preview features

Some features of Copilot are available as preview features in your editor. You can enable or disable these features for your enterprise.

Copilot Chat in Mobile

Copilot Chat in Mobile is a chat interface that lets you interact with Copilot to ask and receive answers to coding-related questions within Mobile.

Copilot Extensions

Copilot Extensions integrate external tools with Copilot Chat, helping members of your enterprise reduce context switching, interact with tools using natural language, and customize their Copilot Chat experience.

Suggestions matching public code

Copilot includes a filter which detects code suggestions that match public code on . When the filter is enabled, Copilot checks code suggestions with their surrounding code of about 150 characters against public code on . If there is a match or near match, the suggestion will not be shown.

Give Copilot access to Bing

Copilot Chat can use Bing to provide enhanced responses by searching the internet for information related to a question. Bing search is particularly helpful when discussing new technologies or highly specific subjects.

Copilot access to alternative AI models

Note

Support for GPT-4.5 is only available on Copilot Enterprise.

By default, Copilot Chat uses a base model. If you grant access to the alternative models, members of your enterprise can choose to use these models rather than the base model. The available alternative models are:

Copilot Metrics API access

Enable this policy to allow users to use the Copilot Metrics API. See REST API endpoints for Copilot metrics.

Configuring policies for Copilot

  1. In the top-right corner of , click your profile photo.
  2. Depending on your environment, click Your enterprise, or click Your enterprises then click the enterprise you want to view.
  3. At the top of the page, click Policies.
  4. In the " Policies" section, click Copilot.
  5. On the " Copilot" page, click the Policies tab.
  6. For each policy you want to configure, click the dropdown menu and select an enforcement option.