Connecting an Azure subscription to your enterprise

You can use your Microsoft Enterprise Agreement to enable and pay for GitHub Actions and GitHub Packages usage beyond the included amounts for your enterprise.

Enterprise accounts are available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "About enterprise accounts."

In this article

About Azure subscriptions and GitHub

If you purchased GitHub Enterprise through a Microsoft Enterprise Agreement, you can connect your Azure Subscription ID to your enterprise account to enable and pay for GitHub Actions and GitHub Packages usage beyond the amounts including with your account. For more information, see "About billing for GitHub Actions and "About billing for GitHub Packages."

After you connect an Azure subscription, you can also manage your spending limit. For information on managing and changing your account's spending limit, see "Managing your spending limit for GitHub Packages" and "Managing your spending limit for GitHub Actions."

Connecting your Azure subscription to your enterprise account

To connect your Azure subscription, you must have owner permissions to the subscription.

  1. In the top-right corner of GitHub, click your profile photo, then click Your enterprises. "Your enterprises" in drop-down menu for profile photo on GitHub

  2. In the list of enterprises, click the enterprise you want to view. Name of an enterprise in list of your enterprises

  3. In the enterprise account sidebar, click Settings. Settings tab in the enterprise account sidebar

  4. In the left sidebar, click Billing. Billing tab in the enterprise account settings sidebar

  5. Under "Billing", click Payment information.

  6. Under "Payment Information", click Add Azure Subscription.

  7. To sign in to your Microsoft account, follow the prompts.

  8. Review the "Permissions requested" prompt. If you agree with the terms, click Accept.

  9. Under "Select a subscription", select the Azure Subscription ID that you want to connect to your enterprise.

  10. Click Connect.

Disconnecting your Azure subscription from your enterprise account

After you disconnect your Azure subscription from your enterprise account, your usage can no longer exceed the amounts included with your plan.

  1. In the top-right corner of GitHub, click your profile photo, then click Your enterprises. "Your enterprises" in drop-down menu for profile photo on GitHub

  2. In the list of enterprises, click the enterprise you want to view. Name of an enterprise in list of your enterprises

  3. In the enterprise account sidebar, click Settings. Settings tab in the enterprise account sidebar

  4. In the left sidebar, click Billing. Billing tab in the enterprise account settings sidebar

  5. Under "Billing", click Payment information.

  6. Under "Azure subscription", to the right of the subscription ID you want to disconnect, click .

  7. Review the prompt, then click Remove.

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.