This article describes the process for onboarding a new client organisation to GitHub Enterprise (GHE) and connecting it to an Azure DevOps project. The onboarding process ensures that client users are provisioned through Microsoft Entra ID, synchronized to GitHub Enterprise using SCIM, and assigned the appropriate access through GitHub teams. Following these steps establishes a secure, centrally managed access model and prepares the organisation for repository and project collaboration.
Step 1: Add the Entra ID security group to the GHE Enterprise Application in Entra ID
Add the client Entra ID security group to the GitHub Enterprise (GHE) Enterprise Application to enable user provisioning and access synchronization. This assignment ensures that group members are automatically provisioned to GitHub Enterprise through SCIM and can later be mapped to GitHub teams with the appropriate permissions.

Step 2: Validate that the SCIM provisioning is complete
After assigning the Entra ID security group to the GitHub Enterprise (GHE) Enterprise Application, verify that the SCIM provisioning process has successfully synchronized the group to GitHub Enterprise. Depending on the size of the group and provisioning cycle, synchronization may take several minutes to complete.
Open the External Groups page in the enterprise and confirm that the newly assigned Entra ID group appears in the list:
https://{–your-enterprise–}.ghe.com/enterprises/{–name–}/external_groups
Verify that the group name matches the Entra ID security group and that the expected users have been provisioned. The group must be visible before it can be linked tohe next step.

Step 3: Create the GHE organisation
Create a new organisation at the GitHub Enterprise level.

Step 4: Create a GitHub team using the IdP group
Create a GitHub team within the newly created organisation and link it to the provisioned Entra ID (IdP) group. Team synchronization ensures that membership is managed centrally in Entra ID, with users automatically added to or removed from the GitHub team based on group membership.

Create the team and use the Entra ID security group.

Assign the appropriate team role and repository permissions according to the client’s access requirements. This approach simplifies administration, enforces consistent access control, and eliminates the need to manage GitHub memberships manually.

Links
https://jessehouwing.net/configure-azure-pipelines-app-in-ghe-com
https://learn.microsoft.com/en-us/azure/devops/boards/github/?view=azure-devops
https://learn.github.com/well-architected/scenarios/migrations/azure-devops-migration-guide/setup
