Skip to content

Step 7: Provision users and groups with SCIM

Who
Entra adminEnterprise owner
Hands-on
≈ 45 min
Then wait
Sync runs on a schedule

Have ready

  • Single sign-on from step 6
  • The personal access token from step 2
  • An Entra account with Application Administrator or Cloud Application Administrator, or an owner of the app
  • One test user, and the Entra groups you want in GitHub
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

SCIM creates an account on SUBDOMAIN.ghe.com for everyone you assign in Entra ID, keeps names and groups in sync, and removes access when someone leaves. Their usernames end with your shortcode.

  1. In the Microsoft Entra admin center, open Entra ID › Enterprise apps and select GitHub Enterprise Managed User (OIDC), the app from step 6.

  2. Open Provisioning and click + New configuration.

  3. Under Admin Credentials, enter the Tenant URL and paste the token from step 2 as Secret token:

    https://api.SUBDOMAIN.ghe.com/scim/v2/enterprises/SUBDOMAIN
  4. Click Test Connection, then Create.

  5. Under Properties, add a notification email and turn on accidental deletion prevention, then click Apply.

  6. Keep the default Attribute Mapping unless you have a reason to change it.

  1. Click Add user/group and add your test user first.

  2. Pick a role for each assignment, for example Enterprise Owner for at least one admin and User for everyone else. The role becomes the person’s role in your enterprise.

  3. Add the groups whose members should get access.

  4. Back in Provisioning, click Start provisioning.

Use Provision on demand for your test user, so you don’t have to wait for the next sync. Then ask them to sign in at https://SUBDOMAIN.ghe.com with their Entra account.

Test Connection fails

Check the tenant URL: your subdomain appears twice and there’s no trailing text. Make sure the token was copied completely, belongs to the setup user, has the scim:enterprise scope and hasn’t been revoked.

Users don’t show up in GitHub

Check that they’re assigned to the app directly or through a non-nested group, that provisioning is started, and what the provisioning logs say.

Should you turn on “Open SCIM configuration” in GitHub?

No. That setting is for provisioning through the REST API without a partner identity provider. With Entra ID and OIDC, leave it off.

  • Test Connection succeeds in the Entra admin center.
  • Users and groups are assigned to the app and provisioning is running.
  • A test user signs in to SUBDOMAIN.ghe.com with their Entra account.
All checkpoints on one printable page →