Skip to main content

Managing Copilot policies as an individual subscriber

Who can use this feature?

Copilot Pro, Copilot Pro+, and Copilot Free

In addition to the configuration for the Copilot plugin in your supported IDE, you can configure settings for Copilot on . The settings apply wherever you use Copilot.

Note

If you are a member of an organization on Enterprise Cloud who has been assigned a Copilot seat through your organization, you will not be able to configure suggestions matching public code in your personal account settings. Your setting for suggestions matching public code will be inherited from your organization or enterprise.

Your personal settings for Copilot include an option to either allow or block code suggestions that match publicly available code. If you choose to block suggestions matching public code, Copilot checks code suggestions with their surrounding code of about 150 characters against public code on . If there is a match, or a near match, the suggestion is not shown to you.

If you choose to allow suggestions matching public code, when Copilot suggests matching code you can display details of the matches and click through to the relevant repositories on . For more information, see Finding public code that matches Copilot suggestions.

  1. In the upper-right corner of any page on , click your profile photo, then click Your Copilot.
  2. To the right of Suggestions matching public code, select the dropdown menu, then click Allow to allow suggestions matching public code, or Block to block suggestions matching public code.

Copilot coding agent allows you to assign Copilot to issues, or ask Copilot to raise a pull request from a prompt in Copilot Chat.

Note

  • Copilot coding agent is available with the Copilot Pro+ and Copilot Enterprise plans in repositories where it has not been disabled. Copilot coding agent is not available in repositories owned by managed user accounts.
  • Copilot coding agent is in public preview and subject to change. During the preview, use of the feature is subject to License Terms.

Copilot coding agent is enabled in all repositories by default, but you can block it from being used in repositories owned by your own personal account by changing your account settings.

  1. In the upper-right corner of any page on , click your profile photo, then click Your Copilot.
  2. In the sidebar, under Copilot, click Coding agent.
  3. On the Copilot coding agent page, under "Policies," click the dropdown button for "Repository access," then choose either No repositories, All repositories, or Only selected repositories.
  4. If you choose Only selected repositories, click Select repositories and choose the repositories where you want to enable Copilot coding agent.

For Copilot Enterprise subscribers, the ability to use Copilot coding agent is controlled by policy settings defined at the organization level. See Adding Copilot coding agent to your organization.

If the organization is owned by an enterprise, enablement may be controlled at the enterprise level. See Managing Copilot coding agent in your enterprise.

You can choose whether your prompts and Copilot's suggestions are collected and retained by , and further processed and shared with Microsoft. For more information about data that Copilot may collect depending on your settings, see Terms for Additional Products and Features and the Copilot privacy FAQ.

  1. In the upper-right corner of any page on , click your profile photo, then click Your Copilot.
  2. To allow or prevent using your data, select or deselect Allow to use my code snippets from the code editor for product improvements.

You can choose whether to allow the following AI models to be used as an alternative to Copilot's default model.

  1. In the upper-right corner of any page on , click your profile photo, then click Your Copilot.
  2. To the right of the model name, select the dropdown menu, then click Enabled or Disabled.

You can enable web search for Copilot Chat. This setting is disabled by default. If you enable this setting, Copilot Chat will use Bing to search the internet for information related to a question. Bing search is particularly helpful when discussing new technologies or highly specific subjects.

  1. In the upper-right corner of any page on , click your profile photo, then click Your Copilot.
  2. To the right of Copilot access to Bing, select the dropdown menu, and then click Enabled or Disabled.

By default, , its affiliates, and third parties will not use your data, including prompts, suggestions, and code snippets, for AI model training. This is reflected in your personal settings for Copilot and cannot be enabled.