GitHub Enterprise Managed Users with Microsoft Entra ID - Part 1

Part 1 - You're reading it now!
Part 2 - (coming soon)
Introduction
When creating a new Enterprise in GitHub you have to make a couple of important choices up front. Once your Enterprise is created you can not switch or alter these settings. Therefore, it’s important you understand the full ramifications of these choices before creating your Enterprise!
Choice 1: Managed Users or Personal Accounts?
The first choice is regarding how you want your users to be managed in the new Enterprise. Will they be able to login with their personal GitHub accounts? Or, will they need to use "managed" accounts which connect back to your identity management system?
This decision also affects which GitHub features your users can utilize. Below is a table comparing some of the key differences between Managed Users and Personal Accounts. This is not a full list, and I highly encourage you to read the docs for the full comparison.
Managed Users | Personal Accounts | |
|---|---|---|
GitHub account | Provisioned by an admin | Created & managed by the user |
GitHub profile (username, email, etc.) | Tied to data stored in the identity management system | Chosen by the user |
Authentication | Must authenticate with an identity management system (OIDC or SAML) | Can optionally authenticate with an identity management system (SAML only) |
Users can contribute to repos outside the Enterprise | ❌ Not supported | ✅ Supported |
Users can create public repos | ❌ Not supported | ✅ Supported |
Data Residency | ✅ Supported | ❌ Not supported |
Choice 2: Data Residency?
The second important choice you need to make is regarding Data Residency. By default, GitHub stores your Enterprise data in the United States. If you would like your Enterprise’s data to be hosted in a different region then you can choose the Data Residency option. At the time of this writing, Data Residency allows you to choose from the following regions: Australia, Europe, Japan, and United States. However, GitHub states in their docs that they are working on adding more regions.
Data Residency is only supported by an Enterprise with Managed Users, it cannot be enabled on an Enterprise with Personal Accounts. If you choose to enable Data Residency, then instead of your Enterprise being available on GitHub.com it will now be available on your own dedicated subdomain of GHE.com.
It is important to note that Data Residency comes with its own set of restrictions and changes, apart from the already mentioned ones from Enterprise Managed Users. Below is a table comparing some of the key differences between with Data Residency. This is not a full list, and I highly encourage you to read the docs for the full comparison.
No Data Residency | Data Residency Enabled | |
|---|---|---|
Enterprise domain | github.com | Dedicated subdomain on GHE.com |
Data storage location | United States | Choose one: - Australia - Europe - Japan - United States |
macOS runners for GitHub Actions | ✅ Supported | ❌ Not supported |
Maven & Gradle support for GitHub Packages | ✅ Supported | ❌ Not supported |
GitHub features marked as "Preview" | ✅ Supported | ⚠️ Not always supported |
Wrapping up and Summary
There are 2 important choices you need to make when creating your new Enterprise. This post highlighted some important details about each decision. Remember, you can not change these settings at a later point. Therefore, it's best you understand them clearly up front.
For the rest of this blog series, we will focus on the process of setting up a new GitHub Enterprise which uses the following configuration:
GitHub Enterprise with Managed Users
No Data Residency
Microsoft Entra ID as the identity management system
OIDC (OpenID Connect) for authentication
SCIM (System for Cross-domain Identity Management) for user provisioning

Comments