GITHUB ENTERPRISE CLOUD / ADMINISTRATOR GUIDE

Your enterprise.
Your identities.
Set up step by step.

Create an enterprise with Enterprise Managed Users (EMU). Connect Microsoft Entra ID, provision your first managed account and verify organization access. Start with the foundation. Add billing and Copilot afterwards.

For your GitHub and identity administrators. Confirm enterprise type and region before you begin.

BEFORE YOU START

Bring the right people and decisions.

This guide follows the EMU path. Confirm that choice before creating the account. No existing project migration is required.

Enterprise type + region

Agree on EMU versus personal accounts, then GitHub.com versus regional GHE.com hosting. Data residency and its exceptions need a security review.

Choose the creation path →

GitHub + Entra administrators

A GitHub setup-user custodian and an Entra Global Administrator are needed for OIDC setup. Arrange application-management access for provisioning.

Review identity requirements →

A small test scope

Prepare one test identity, an Entra pilot group and a company password vault. Start with sample content and expand to your approved pilot group after verification.

Plan user provisioning →

HOW IT FITS TOGETHER

Identity is the foundation.

Entra authenticates and provisions. GitHub holds organizations and repositories. Azure billing and Copilot are separate follow-on connections.

Keep existing repositories and CI/CD workflows unchanged, outside the pilot.

Data residency covers certain GitHub data at rest, with exceptions. It does not mean all data, including Copilot processing, stays in the EU. Region selection remains open. Review covered data, processing exceptions and Copilot-specific policies before approval. Residency scope and exceptions.

THE MAIN JOURNEY / 6 STEPS

Set up your EMU enterprise.

Complete these steps in order. The first milestone is working managed-user access, not Copilot activation.

01CREATE THE ACCOUNT

Create an enterprise with managed users

IT lead + GitHub administrator

Prerequisites: EMU and hosting location approved by security; administrator contact mailbox available.

  1. Confirm the enterprise type. Review managed-user lifecycle and collaboration restrictions. If EMU is not approved, use the personal-account enterprise path instead.
  2. Choose the host. Select GitHub.com, or a supported regional GHE.com deployment if data residency is required. Region selection remains open until approved. Review covered data, exceptions and Copilot-specific processing terms.
  3. Start enterprise creation. Open GitHub's enterprise signup from the trial guide. Select the enterprise with managed users option and follow the prompts for the approved host. If your account team is arranging creation, use that route instead of creating a duplicate.
  4. Confirm the details. Review the enterprise name, slug, managed-user shortcode and contact mailbox in the signup flow. Keep the resulting enterprise URL in your internal runbook.
  5. Check the invitation. Find the email to set the setup-user password. A payment method is not required to start a trial. Creating a standalone organization is not the same as creating an EMU enterprise.

Expected result An EMU enterprise exists on the approved host, and the setup-user invitation is available.

02IF EMU IS SELECTED

Activate and secure the setup user

Setup-user custodian

Prerequisites: Invitation from step 1; company password vault; designated recovery custodians.

  1. Open a private browsing window. Follow the invitation and set the password. The setup user's name is the enterprise shortcode plus _admin, for example example_admin. This initial owner is not SCIM-provisioned.
  2. Enable 2FA. Store the account's two-factor authentication recovery codes in the vault.
  3. Download enterprise recovery codes. These are separate from the account's 2FA codes. Follow GitHub's recovery guide and save them securely. Save the enterprise codes presented during OIDC setup in step 3 as well.
  4. Document emergency access. Record the enterprise URL, vault location and authorized custodians internally. Retain the setup user for authentication changes and recovery, not daily development. Never enter credentials or recovery material on this page.

Expected result Setup-user sign-in works with 2FA, and account and enterprise recovery material are secured.

03AUTHENTICATION FIRST

Configure Entra ID sign-in with OIDC

Setup-user custodian + Entra Global Administrator

Prerequisites: Secured setup user; correct Entra tenant; Global Administrator available to consent to the OIDC application.

  1. Check the OIDC constraint. GitHub recommends OIDC for Entra ID, including Conditional Access support. Each tenant supports one EMU OIDC integration. Use the documented SAML alternative for additional enterprises from that tenant. Azure billing is not required.
  2. Open GitHub as the setup user. Go to the enterprise's Identity provider > Single sign-on configuration. Select Enable OIDC configuration, then Save.
  3. Complete Microsoft consent. On the redirected Entra page, sign in as Global Administrator in the correct tenant. Review the GitHub Enterprise Managed User (OIDC) application's permissions, select Consent on behalf of your organization and accept.
  4. Save recovery codes and enable OIDC. Back in GitHub, securely save the enterprise recovery codes, then click Enable OIDC Authentication. Review Conditional Access with the identity team.
  5. Proceed to SCIM. Authentication does not create user accounts. For OIDC, users start sign-in from GitHub rather than an IdP-initiated launch. Test their sign-in after step 4 creates the accounts.

Expected result OIDC authentication is enabled for the correct tenant, ready for user provisioning.

04ENTRA / SCIM

Provision your first managed users

Setup-user custodian + Entra application administrator

Prerequisites: OIDC enabled; Entra provisioning permissions; test identity and pilot group prepared.

  1. Create the provisioning credential. Sign in to GitHub as the setup user. In its personal settings, open Developer settings > Personal access tokens > Tokens (classic). Generate a classic token with scim:enterprise scope and no expiration, as GitHub's EMU guide requires. Store it in the vault and restrict custody; plan controlled replacement rather than setting an unsupported expiry.
  2. Open the correct Entra application. In the Entra admin center, go to Entra ID > Enterprise apps > GitHub Enterprise Managed User (OIDC) > Provisioning. Use the application associated with the authentication setup, checking the host-specific Microsoft instructions.
  3. Configure credentials. Create a provisioning configuration. Enter the tenant URL and token in Admin Credentials, then select Test Connection. For GitHub.com the URL is https://api.github.com/scim/v2/enterprises/{enterprise}. For GHE.com use https://api.{subdomain}.ghe.com/scim/v2/enterprises/{subdomain}. Replace placeholders only in your administrator console, not here.
  4. Limit the scope. Assign the pilot group and test identity in the application's Users and groups. Set provisioning scope to Sync only assigned users and groups. Review user/group attribute mappings, enable failure notifications and accidental-deletion prevention.
  5. Test, then start. Provision the test identity on demand, start provisioning and inspect provisioning logs. Confirm that GitHub shows the managed account. Assign a designated administrator the application's supported enterprise-owner role and provision that identity too; keep the test developer at member access.

Expected result Managed accounts exist in GitHub and provisioning logs show successful creation. Organization membership is configured next.

05GITHUB / ORGANIZATION

Create the organization and assign access

Managed enterprise owner + organization owner

Prerequisites: Managed enterprise-owner account provisioned; pilot group synced; approved organization name.

  1. Sign in as the managed enterprise owner. Start at the enterprise on the correct host and complete Entra sign-in. Use this account for routine administration, retaining the setup user for setup and recovery.
  2. Create an organization inside the enterprise. Open Organizations > New organization and follow the naming and creation prompts. EMU cannot add an existing organization to the enterprise. Keep current projects and CI/CD workflows where they are.
  3. Connect a team to the synced IdP group. In the organization, open Teams > New team. Under Identity Provider Groups > Select Groups, select the provisioned Entra pilot security group, then create the team. Microsoft 365 groups and nested group membership are not supported. Verify organization/team membership; provisioning an enterprise account alone does not grant repository access.
  4. Create a private sample repository. Add only non-sensitive sample code, give the pilot team the required repository role and review organization base permissions. Do not grant broad access or enable production integrations for this test.

Expected result A new organization contains a sample repository, and the managed test user has access through the intended team.

06VERIFY THE FOUNDATION

Test sign-in, permissions and recovery readiness

Test developer + GitHub owner + Entra administrator

Prerequisites: Steps 1-5 complete; designated disposable test identity; sample repository available.

  1. Test as a developer, not the setup user. Start a fresh private session at the enterprise's GitHub host. Complete Entra SSO and confirm the managed username, organization membership and pilot team.
  2. Verify repository permissions. Open the sample repository and perform the permitted action, such as a sample commit if write access is intended. Confirm that owner settings and unassigned private repositories are not accessible to the test member.
  3. Test the lifecycle. Remove the designated test identity's approved application assignment, run provisioning and verify account suspension/access revocation in GitHub and provisioning logs. Review existing sessions and tokens against documented lifecycle behavior. Restore the assignment and reprovision only if needed.
  4. Review recovery readiness. Confirm custodians can locate the setup-user credentials, 2FA recovery codes and enterprise SSO recovery codes in the vault. Do not simulate an outage or disable production authentication just to check the box.
  5. Record the result. Document successful sign-in, membership, repository permissions and offboarding in your internal runbook. Expand to your approved pilot group only after this check. Agree on a wider rollout separately.

Enterprise milestone complete A managed user can authenticate and access only the intended sample resources. Copilot is not needed to pass this milestone.

AFTER THE ENTERPRISE IS READY

Connect billing. Add capabilities.

Separate workstreams, not prerequisites for Entra sign-in. Open the relevant guide when you are ready.

FOR THE LATER COPILOT PILOT

Keep existing projects separate.

Once you enable Copilot, remember that a separate repository is not an IDE boundary. Repository hosting alone does not determine which files become editor context.

Use sample content first

Keep the existing workflow intact

No repository migration is required for the Copilot pilot. Leave your current source-control hosting and CI/CD pipelines unchanged. Use a dedicated sample solution and working directory in Visual Studio.

Configure exclusions. Understand the limits.

Organization owners can configure supported content exclusions, including patterns for local files and non-GitHub repositories. Follow GitHub's documented syntax, verify support in the installed Visual Studio version and ensure the policy applies to the licensed pilot users.

Exclusions do not cover every surface or mode. Review the current limitations, including agent mode and Copilot CLI. Do not paste sensitive material into prompts or attach it as context. Exclusions do not guarantee isolation or replace access controls.

Agree on the evaluation boundary

Keep production solutions closed during the initial evaluation. Use non-sensitive sample code and restricted pilot membership. Confirm the exact features and exclusion behavior with your security team and GitHub SE before using existing code.

ENTERPRISE SETUP CHECKLIST

Is your EMU foundation ready?

These six checks match the enterprise setup steps, not the optional add-ons. This page does not configure customer systems.

EMU SETUP PROGRESS

0 / 6

0 of 6

Start by creating the EMU enterprise.

Progress saving is inactive until JavaScript is available.

Only six completion flags are stored locally in this browser. No configuration values, credentials or personal data are collected or sent to a server.

Verified setup outcomes

Correct account type and approved host; invitation received.

Review step 01

Password, 2FA and separate recovery codes stored in the vault.

Review step 02

Correct tenant, administrator consent and SSO configuration.

Review step 03

Scoped test account and managed administrator provisioned.

Review step 04

Group mapping and sample repository permissions verified.

Review step 05

Fresh sign-in, access lifecycle and recovery readiness checked.

Review step 06