Skip to main content

Setting up Visual Studio subscriptions with GitHub Enterprise

Your team's subscription to Visual Studio can also provide access to GitHub Enterprise.

About setup of 包含 GitHub Enterprise 的 Visual Studio 订阅

包含 GitHub Enterprise 的 Visual Studio 订阅 是 Microsoft 的组合产品,允许订阅者使用 Visual Studio 和 GitHub Enterprise。 See "About Visual Studio subscriptions with GitHub Enterprise."

This guide shows you how your team can get Visual Studio subscribers licensed and started with GitHub Enterprise.

Roles for 包含 GitHub Enterprise 的 Visual Studio 订阅

Before setting up 包含 GitHub Enterprise 的 Visual Studio 订阅, it's important to understand the roles for this combined offering.

RoleServiceDescriptionMore information
Subscriptions adminVisual Studio subscriptionPerson who assigns licenses for Visual Studio subscriptionOverview of admin responsibilities in Microsoft Docs
SubscriberVisual Studio subscriptionPerson who uses a license for Visual Studio subscriptionVisual Studio Subscriptions documentation in Microsoft Docs
Enterprise ownerGitHubPerson who has a personal account that's an administrator of an enterprise on GitHub.com"企业中的角色"
Organization ownerGitHubPerson who has a personal account that's an owner of an organization in your team's enterprise on GitHub.com"组织中的角色"
Enterprise memberGitHubPerson who has a personal account that's a member of an enterprise on GitHub.com"企业中的角色"

Prerequisites

Setting up 包含 GitHub Enterprise 的 Visual Studio 订阅

To set up 包含 GitHub Enterprise 的 Visual Studio 订阅, members of your team must complete the following tasks.

One person may be able to complete the tasks because the person has all of the roles, but you may need to coordinate the tasks with multiple people. For more information, see "Roles for 包含 GitHub Enterprise 的 Visual Studio 订阅."

  1. An enterprise owner must create at least one organization in your enterprise on GitHub.com. For more information, see "将组织添加到企业."

  2. The subscription admin must assign a license for Visual Studio to a subscriber in Visual Studio 订阅的管理员门户. For more information, see Overview of the Visual Studio Subscriptions Administrator Portal and Assign Visual Studio Licenses in the Visual Studio Subscriptions Administration Portal in Microsoft Docs.

  3. Optionally, if the subscription admin assigned licenses to subscribers in Visual Studio before adding GitHub Enterprise to the subscription, the subscription admin can move the subscribers to the combined offering in the Visual Studio administration portal. For more information, see Manage Visual Studio subscriptions with GitHub Enterprise in Microsoft Docs.

  4. If the subscription admin has not disabled email notifications, the subscriber will receive two confirmation emails. For more information, see Visual Studio subscriptions with GitHub Enterprise in Microsoft Docs.

  5. An organization owner must invite the subscriber to the organization on GitHub.com from step 1. The subscriber can accept the invitation with an existing personal account on GitHub.com or create a new account. After the subscriber joins the organization, the subscriber becomes an enterprise member. For more information, see "Inviting users to join your organization(邀请用户加入你的组织)."

    Tips:

    • While not required, we recommend that the organization owner sends an invitation to the same email address used for the subscriber's User Primary Name (UPN). When the email address on GitHub.com matches the subscriber's UPN, you can ensure that another enterprise does not claim the subscriber's license.
    • If the subscriber accepts the invitation to the organization with an existing personal account on GitHub.com, we recommend that the subscriber add the email address they use for Visual Studio to their personal account on GitHub.com. For more information, see "添加电子邮件地址到 GitHub 帐户."
    • If the organization owner must invite a large number of subscribers, a script may make the process faster. For more information, see the sample PowerShell script in the github/platform-samples repository.

After 包含 GitHub Enterprise 的 Visual Studio 订阅 is set up for subscribers on your team, enterprise owners can review licensing information on GitHub.com. For more information, see "查看企业帐户的订阅和使用情况."

Further reading