1
0
mirror of synced 2025-12-19 18:10:59 -05:00

[Improvement]: Update docs about connecting an Azure subscription (#48860)

This commit is contained in:
Sophie
2024-02-01 12:10:51 +01:00
committed by GitHub
parent 72e0738ac9
commit a50658b0dd
2 changed files with 13 additions and 16 deletions

View File

@@ -71,20 +71,18 @@ To connect an Azure subscription, you'll need appropriate access permissions on
To see a demo of the process from beginning to end, see [Billing GitHub consumption through an Azure subscription](https://www.youtube.com/watch?v=DAiIhJKCt8s&ab_channel=GitHub) on {% data variables.product.company_short %}'s YouTube channel. This video demonstrates the process for an enterprise account. If you're connecting a subscription to an organization account, see "[Connecting your Azure subscription to your organization account](#connecting-your-azure-subscription-to-your-organization-account)."
{% ifversion fpt %}
## Connecting your Azure subscription to your organization account
To connect your Azure subscription, you must have owner permissions to the Azure subscription and be an organization owner on {% data variables.product.prodname_dotcom %}.
{% ifversion ghec %}
{% note %}
**Note**: If your organization account on {% data variables.location.product_location %} belongs an enterprise account, you must connect your Azure subscription to the enterprise account instead of the organization account. For more information, see "[Connecting your Azure subscription to your enterprise account](/billing/managing-the-plan-for-your-github-account/connecting-an-azure-subscription#connecting-your-azure-subscription-to-your-enterprise-account)."
{% endnote %}
{% endif %}
{% data reusables.profile.access_org %}
{% data reusables.profile.org_settings %}
1. In the "Access" section of the sidebar, click **{% octicon "credit-card" aria-hidden="true" %} Billing and plans**.
@@ -93,9 +91,10 @@ To connect your Azure subscription, you must have owner permissions to the Azure
1. Review the "Permissions requested" prompt. If you agree with the terms, click **Accept**.
{% data reusables.enterprise-accounts.azure-admin-approval-required-message %}
1. Under "Select a subscription", select the Azure Subscription ID that you want to connect to your enterprise. {% data reusables.enterprise-accounts.tenant-app-permissions %}
1. Click **Connect**.
1. To the right of "Metered billing via Azure", click **Enable**.
1. Under "Select a subscription", select the Azure Subscription ID that you want to connect to your organization. {% data reusables.enterprise-accounts.tenant-app-permissions %}
{% data reusables.enterprise-accounts.connect-azure %}
{% endif %}
{% ifversion ghec %}
@@ -113,18 +112,12 @@ To connect your Azure subscription, you must have owner permissions to the Azure
{% data reusables.enterprise-accounts.azure-admin-approval-required-message %}
1. Under "Select a subscription", select the Azure subscription ID that you want to connect to your enterprise. {% data reusables.enterprise-accounts.tenant-app-permissions %}
1. Click **Connect**.
1. Go back to the "Payment information" page in your enterprise billing settings. (To return to the "Payment information" page, follow steps three through five above.)
1. Under "Metered billing settings", select **Enable metered billing through Azure**, then click **Update metered billing settings**.
{% note %}
**Note:** If you pay for {% data variables.product.prodname_enterprise %} via invoice, you do not need to select **Enable metered billing through Azure**, as Azure will be targeted automatically.
{% endnote %}
{% data reusables.enterprise-accounts.connect-azure %}
{% endif %}
{% ifversion fpt %}
## Disconnecting your Azure subscription from your organization account
After you disconnect your Azure subscription from your organization account, your usage can no longer exceed the amounts included with your plan.
@@ -135,6 +128,8 @@ After you disconnect your Azure subscription from your organization account, you
1. Under "Billing Management", then under "Metered billing via Azure", to the right of the subscription ID you want to disconnect, click **{% octicon "trash" aria-label="The trash icon" %}**.
1. Review the prompt, then click **Remove**.
{% endif %}
{% ifversion ghec %}
## Disconnecting your Azure subscription from your enterprise account

View File

@@ -0,0 +1,2 @@
1. Select **By clicking "Connect", you are confirming that you want to be billed for metered services via the selected Azure subscription**.
1. Click **Connect**.