Step 7: Provision users and groups with SCIM
- Who
- Entra adminEnterprise owner
- Hands-on
- ≈ 45 min
- Then wait
- Sync runs on a schedule
- Needs
- 6Single sign-on
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
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.
Connect Entra to your enterprise
Section titled “Connect Entra to your enterprise”-
In the Microsoft Entra admin center, open Entra ID › Enterprise apps and select GitHub Enterprise Managed User (OIDC), the app from step 6.
-
Open Provisioning and click + New configuration.
-
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 -
Click Test Connection, then Create.
-
Under Properties, add a notification email and turn on accidental deletion prevention, then click Apply.
-
Keep the default Attribute Mapping unless you have a reason to change it.
Assign users and groups
Section titled “Assign users and groups”-
Click Add user/group and add your test user first.
-
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.
-
Add the groups whose members should get access.
-
Back in Provisioning, click Start provisioning.
Test with one person
Section titled “Test with one person”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.
Troubleshooting
Section titled “Troubleshooting”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.
Done when…
Section titled “Done when…”- 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.comwith their Entra account.