Skip to content

Step 0: Prepare: decisions and people

Who
Project lead
Hands-on
≈ 1–2 h
Then wait
Internal approvals
Needs
Nothing before this

Have ready

  • 30–60 minutes with whoever decides on tooling, identity and budget
  • Your network or proxy team, for the last item
Your setup, sketchedSketch: Microsoft Entra ID signs people in to your GHE.com enterprise (single sign-on) and syncs users and groups (SCIM). Your Azure subscription pays for usage. Developers sign in from their IDE or CLI and use Copilot.Entra IDGHE.comCopilotAzureIDESSOSCIMbillinglogin

The part of your setup this step touches

A few decisions now save you from starting over later. Two of them can’t be changed once the enterprise exists.

Take Path A · Full platform if your code is on GitHub or moving there. Take Path B · Copilot only if it stays in Azure DevOps, GitLab, Bitbucket or elsewhere. Not sure? Compare the paths.

Role Steps What they need
Enterprise owner 1–9 A work email address for the trial invitation and a personal account on github.com to start the trial
Entra admin 3, 6, 7, 8 Global Administrator for the consents in steps 3 and 6; Application Administrator, Cloud Application Administrator or owner of the app for provisioning in step 7
Azure subscription owner 3 The Owner role on the subscription that pays for GitHub
Your Microsoft or GitHub contact 5 Your enterprise’s subdomain, once it’s activated

One person can hold several roles. The journey map shows when each one is needed.

  • Region: where your code and data are stored. You can choose the EU (including the EFTA countries Norway and Switzerland), Australia, the US or Japan.
  • Subdomain: becomes SUBDOMAIN.ghe.com, the address everyone uses to sign in, and the name in your API and provisioning URLs. Keep it short and recognizable, such as your company name.

This guide uses Microsoft Entra ID with OIDC, which also brings your Conditional Access policies to GitHub. Two things to check:

  • Each Entra tenant supports one OIDC connection to a GitHub enterprise. If your tenant already has one, this enterprise needs SAML instead.
  • Using Okta or PingFederate? The flow is similar but uses SAML; follow the same SAML docs.

Pick the subscription that should pay for GitHub and note its subscription ID (how to find it). Some subscription types, such as free trials, student and Azure Pass subscriptions, can’t be used; check the supported payment methods first.

Developers and admins reach your enterprise through these hostnames. Send the list to whoever runs your proxy or firewall:

SUBDOMAIN.ghe.com
*.SUBDOMAIN.ghe.com
*.pages.SUBDOMAIN.ghe.com
*.actions.SUBDOMAIN.ghe.com
auth.ghe.com
*.githubassets.com
*.githubusercontent.com
*.blob.core.windows.net

If wildcards for blob.core.windows.net aren’t allowed, the network details explain how to get the exact storage hostnames, and list the IP ranges per region.

What works differently on GHE.com

A few GitHub.com features aren’t available or work differently in an enterprise with data residency, for example:

  • GitHub Marketplace isn’t available; apps and actions can still be installed from their source.
  • macOS runners for GitHub Actions aren’t available yet.
  • Public repositories and gists don’t exist, because all accounts are managed users.
  • Tools and scripts must use your addresses, such as api.SUBDOMAIN.ghe.com, instead of api.github.com.

The feature overview has the full, current list.

  • You picked Path A (full platform) or Path B (Copilot only).
  • You know who acts as enterprise owner, Entra Global Administrator and Azure subscription Owner.
  • The enterprise owner can sign in to github.com with a personal account, not a managed one.
  • Region and subdomain are decided. The subdomain can’t be changed later.
  • Your network team has the GHE.com hostnames to allow.
All checkpoints on one printable page →