{"meta":{"title":"创建企业帐户作为 Microsoft CSP 合作伙伴","intro":"了解作为 Microsoft 云解决方案提供商合作伙伴，如何为客户设置企业帐户。","product":"计费与付款","breadcrumbs":[{"href":"/zh/billing","title":"计费与付款"},{"href":"/zh/billing/how-tos","title":"操作指南"},{"href":"/zh/billing/how-tos/manage-for-client","title":"为客户端管理"},{"href":"/zh/billing/how-tos/manage-for-client/create-as-csp-partner","title":"创建为 CSP 合作伙伴"}],"documentType":"article"},"body":"# 创建企业帐户作为 Microsoft CSP 合作伙伴\n\n了解作为 Microsoft 云解决方案提供商合作伙伴，如何为客户设置企业帐户。\n\n## Prerequisites\n\n在开始之前，请确保知道：\n\n* GitHub 将成为你创建的企业的所有者的客户端的用户名\n* ```\n            CSP 合作伙伴的 GitHub 用户名，必须将其分配给客户的企业帐户，以管理按量计费和访问支持\n  ```\n* 客户希望使用的企业名称\n* 收据的电子邮件地址\n* 客户在企业中需要的席位数\n* 客户所需的企业帐户类型，请参阅“[为 GitHub Enterprise Cloud 选择企业类型](/zh/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/choose-an-enterprise-type)”\n\n## 步骤 1：在 Azure 门户中创建企业帐户\n\n作为微软云解决方案提供商 (CSP) 合作伙伴，你可以通过 Microsoft Azure 门户开始使用GitHub Enterprise。\n\n1. 登录到Microsoft Azure 门户。\n2. 在搜索栏中，键入“GitHub”，然后选择 **GitHub** 转到登陆页面。\n3. 选择**开始使用 GitHub Enterprise**。\n4. 选择企业类型。 若要帮助确定哪种选择最适合你的企业，请参阅[为 GitHub Enterprise Cloud 选择企业类型](/zh/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/choose-an-enterprise-type)。\n5. 在表单中填写客户信息。\n6. 单击“创建企业”。\n\n## 步骤 2：购买 GitHub Enterprise\n\n在试用期间的任何时候，你都可以通过将 GitHub Enterprise 关联到客户的 Azure 订阅，为客户购买该产品。 如果帐户稍后转移到客户，请确保Azure订阅完全由他们管理。\n\n1. 导航到您的企业。 例如，从 GitHub.com 上的 [公司](https://github.com/settings/enterprises?ref_product=ghec\\&ref_type=engagement\\&ref_style=text) 页面。\n\n2. 在页面顶部的蓝色横幅中，单击**激活企业**。\n\n3. 单击**添加 Azure 订阅**。\n\n4. 要登录到您的 Microsoft 帐户，请按照提示执行。\n\n5. 查看“请求的权限”提示。 如果同意条款，请单击“接受”。\n\n   如果未看到“请求的权限”提示，而是看到指示需要管理员批准的消息，请参阅“[排查 Azure 订阅连接问题](/zh/billing/how-tos/troubleshooting/azure-sub-connection)”。\n\n6. 在“选择订阅”下，选择要连接到组织的Azure订阅 ID。 要选择 Azure 订阅，必须对订阅拥有所有者权限。 如果默认租户没有正确的权限，则可能需要指定其他租户 ID。 有关详细信息，请参阅 [Azure订阅付款](/zh/billing/concepts/azure-subscriptions) 和 Microsoft Docs 中的 [Microsoft 标识平台和 OAuth 2.0 授权代码流](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code)。\n   1. 选择“通过单击‘连接’，代表你确认希望通过所选 Azure 订阅对按流量计费的服务计费”\\*\\*\\*\\*。\n   2. 单击“连接”。\n\n7. 单击**激活企业**。\n\n## 步骤 3：邀请客户成为企业所有者\n\n邀请客户成为企业所有者。 请参阅“[邀请人员管理企业](/zh/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise#inviting-an-enterprise-administrator-to-your-enterprise-account)”。\n\n## 步骤 4：将角色更改为账单管理员\n\n（可选）您可以将自己的角色更改为计费管理员来管理企业帐户的计费，而无需拥有完整的管理访问权限。\n\n1. 导航到您的企业。 例如，从 GitHub.com 上的 [公司](https://github.com/settings/enterprises?ref_product=ghec\\&ref_type=engagement\\&ref_style=text) 页面。\n2. 在页面顶部，单击“**<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-person\" aria-label=\"person\" role=\"img\"><path d=\"M10.561 8.073a6.005 6.005 0 0 1 3.432 5.142.75.75 0 1 1-1.498.07 4.5 4.5 0 0 0-8.99 0 .75.75 0 0 1-1.498-.07 6.004 6.004 0 0 1 3.431-5.142 3.999 3.999 0 1 1 5.123 0ZM10.5 5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z\"></path></svg> 人员**”。\n3. 在“<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-person\" aria-label=\"person\" role=\"img\"><path d=\"M10.561 8.073a6.005 6.005 0 0 1 3.432 5.142.75.75 0 1 1-1.498.07 4.5 4.5 0 0 0-8.99 0 .75.75 0 0 1-1.498-.07 6.004 6.004 0 0 1 3.431-5.142 3.999 3.999 0 1 1 5.123 0ZM10.5 5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z\"></path></svg> People”下，单击“管理员”\\*\\*\\*\\*。\n4. 确认客户已被列为企业所有者。\n5. 在用户名右侧，选择 <svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-kebab-horizontal\" aria-label=\"Administrator settings\" role=\"img\"><path d=\"M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"></path></svg> 下拉菜单，然后单击“更改角色”。\n\n   ![管理员列表中的用户的屏幕截图。 用橙色边框突出显示了标有烤肉串图标的下拉菜单。](/assets/images/help/business-accounts/administrator-settings.png)\n6. 选择“账单管理员”，然后单击“更改角色”。\n\n## 联系支持部门\n\n作为 Microsoft CSP 合作伙伴，你可以使用 [GitHub 支持Microsoft CSP ](https://support.github.com/contact?tags=partner-microsoft-csp)登陆页与 GitHub 支持 沟通。 有关创建支持工单的详细信息，请参阅[创建支持工单](/zh/support/contacting-github-support/creating-a-support-ticket)。"}