MSBA-299 · Lesson 3 of 12 · 22 min
Domain review: identities and access
▶ Video coming soon A video version of this lesson is on the way.
On Tuesday evening, November 10, Wren opened the first domain review with a question rather than a slide. "Skerry chose managed users. Why?" Priya answered without hesitating: the identity provider had to be the single source of truth, leavers had to lose access the moment HR closed their account, and nobody at Skerry needed to contribute to public projects from their work identity, except the two open source libraries, which went into a separate enterprise. Wren nodded. "That is a full-marks answer at work. On the exam you also need the reverse: when would managed users be the wrong choice? Domain 1 tests both directions."
Domain 1, Manage GitHub identities and access, is weighted 15 to 20 percent. It has two objective groups. The first, managing user identities and authentication, covers the difference between managed users and personal accounts, SAML single sign-on and two-factor authentication, SCIM and team synchronization, choosing and configuring identity providers, and GitHub's authentication and authorization model. The second, managing access and permissions, covers organization and repository roles, enterprise teams, monitoring access and the settings, policies, rulesets and roles that shape what people can do. MSBA-290 lessons 2 to 7 taught this material in depth; this lesson reviews it the way the exam asks about it.
Managed users or personal accounts
The first objective asks you to describe the differences between managed users and personal accounts. In an enterprise with personal accounts, each developer owns a GitHub account and the enterprise grants it membership of its organizations. SAML single sign-on can protect access to the enterprise's resources, but the account itself belongs to the person, keeps its public activity and outlives their job. In an enterprise with Enterprise Managed Users, the enterprise's identity provider creates, updates, suspends and removes the accounts through SCIM. The account belongs to the enterprise. Its username carries the enterprise shortcode as a suffix, its profile name and email come from the identity provider, and it cannot create public content or collaborate on repositories outside the enterprise.
| Question | Personal accounts | Enterprise Managed Users |
|---|---|---|
| Who owns the account? | The person | The enterprise, through its identity provider |
| How are accounts created and removed? | People create their own; the enterprise invites them | SCIM from the identity provider, which is required |
| How do people sign in to enterprise resources? | GitHub credentials, then SAML single sign-on if configured | SAML, or OIDC with Microsoft Entra ID |
| Public repositories and outside collaboration | Allowed, subject to policy | Not possible from a managed user account |
| Typical fit | Open source work, consultants, communities | Regulated companies that need central control of identity |
The reverse question is worth rehearsing. Managed users are the wrong choice when developers must contribute to public projects or to repositories outside the enterprise from their work identity, when the organization has no identity provider able to provision through SCIM, or when the community around a project needs to use its own accounts. Skerry solved the first problem with a second, small enterprise that uses personal accounts for its two open source libraries. Exam options sometimes offer to "allow managed users to create public repositories"; no such setting exists.
Choosing the model also decides the identity provider options. For managed users, GitHub documents partner identity providers that support both authentication and provisioning: Microsoft Entra ID, Okta and PingFederate. Mixing them, for example authenticating with Okta and provisioning from Entra ID, is not supported. With Entra ID you can choose OIDC instead of SAML, and only OIDC lets GitHub evaluate Entra Conditional Access policies, including IP conditions, when users sign in and use tokens. Other identity providers that meet GitHub's integration requirements can be used, but the partner identity providers are the supported, paved path.
SAML single sign-on and two-factor authentication
For personal account enterprises, SAML single sign-on can be configured on one organization or across the whole enterprise. Enterprise-level configuration applies to every organization and overrides organization-level settings, which is why exam options that configure SAML separately in each organization are usually wrong when the stem says "all organizations". After SAML is enabled, each member has a linked identity connecting their GitHub account to their identity provider identity, and administrators can view and revoke linked identities and active SAML sessions. Personal access tokens (classic) and SSH keys must be authorized for single sign-on before they can reach the protected organization's resources; fine-grained tokens and GitHub Apps are handled through their own approval flows, covered in lesson 6.
Two-factor authentication works differently for the two models. In a personal account enterprise, owners can require 2FA for every member of every organization; members who do not comply are removed from the organizations, and outside collaborators without 2FA lose their access. GitHub.com also requires 2FA for accounts that contribute code, so most developers already have it. In a managed user enterprise, authentication happens at the identity provider, so multifactor authentication is enforced there; the setup user, which is not provisioned through SCIM, is the account that needs GitHub's own 2FA and safely stored recovery codes.
| Item | What it is | What it is for |
|---|---|---|
| Linked identity | The association between a GitHub account and an identity provider identity | Lets owners see who is who and revoke the link |
| Credential authorization | A one-time approval of a classic token or SSH key for a SAML organization | Lets automation reach SSO-protected resources |
| Recovery codes | Single-use codes for when the identity provider is unavailable | Lets an owner or the setup user sign in to fix a broken SSO configuration |
| Setup user | The first account in a managed user enterprise, named with the shortcode and admin | Configures authentication and provisioning before anyone else can sign in |
SCIM and team synchronization
The study guide asks you to understand SCIM and team synchronization, how each is implemented and the key differences. Both connect GitHub to identity provider groups; they solve different problems. SCIM manages the existence and lifecycle of accounts or memberships: create, update, suspend and remove. In a managed user enterprise, SCIM is mandatory and authoritative; when the identity provider removes someone, their managed user account is suspended. Identity provider groups can be connected to teams through SCIM, and connected teams cannot be edited by hand on GitHub. Team synchronization belongs to the personal account model: in an organization or enterprise that uses SAML with Entra ID or Okta, it keeps the membership of chosen teams in step with identity provider groups, adding and removing existing GitHub accounts from teams.
Worked problem
SCIM or team synchronization?
A personal account enterprise uses SAML with Microsoft Entra ID. The security team wants membership of the "payments-reviewers" team to follow an Entra group automatically, so that leaving the group removes the team membership the same day. The company does not want to change how accounts are created. Which feature fits?
Show solution
- Deployment: personal accounts with SAML, so accounts are owned by people and are not provisioned.
- Goal: team membership follows a group; account creation unchanged.
- SCIM for managed users would change the account model entirely, which the constraint rules out.
- Team synchronization maps an identity provider group to a team in a SAML organization or enterprise.
Answer: Team synchronization. It keeps the team in step with the Entra group without changing how accounts are created.
The authentication and authorization model
The last identity objective asks you to explain GitHub's authentication and authorization model. Authentication answers "who is this?": a password with 2FA, an identity provider session, an SSH key, a personal access token, a GitHub App's installation token or a user access token. Authorization answers "what may they do?": roles at enterprise, organization and repository level, token scopes or fine-grained permissions, app permissions and policies. The exam likes the overlap. A fine-grained personal access token, for example, can do only what both the token's permissions and its owner's roles allow, and a GitHub App acting on behalf of a user is limited by both the app's permissions and the user's access.
Organization and repository roles
The second objective group begins with roles. At organization level the predefined roles include owner, member, moderator, billing manager and security manager; organizations can also use predefined organization roles that grant access across all repositories, such as read or write to every repository, and custom organization roles. At repository level the five predefined roles are Read, Triage, Write, Maintain and Admin. An organization's base permission gives every member a minimum role on every repository. Custom repository roles inherit one of Read, Triage, Write or Maintain and add specific permissions; current documentation allows up to 20 per organization. Outside collaborators have access to specific repositories without organization membership.
Access is additive. If a person is a member with base permission Read, belongs to a team with Write on a repository and is also given Triage directly, they have Write. The exam often hides this in a scenario where someone "should only have read access" but keeps writing; the answer is to find the other path, usually a team, a base permission or an organization role, rather than to lower the role that was set directly. A related trap: enterprise owners do not automatically have access to every repository. They can manage settings and can make themselves organization owners, which is recorded in the audit log, but ownership of the enterprise is not membership of its organizations.
| Need | Smallest role or feature that meets it |
|---|---|
| Manage labels and close issues, without pushing code | Triage |
| Push to a branch and merge pull requests | Write |
| Manage some repository settings, without deleting the repository or managing access | Maintain |
| View and manage billing without access to code | Billing manager |
| Manage security alerts and settings across an organization | Security manager |
| Write plus one extra permission, such as managing webhooks | A custom repository role inheriting Write |
Enterprise teams
Enterprise teams, which became generally available in June 2026, are a newer objective. An enterprise team is defined once at enterprise level and can be given access across organizations, used as a bypass actor in rulesets and given licences such as Copilot seats. In a managed user enterprise its membership can come from an identity provider group through SCIM. Skerry's platform-oncall team is an enterprise team that can bypass the enterprise baseline ruleset, through pull requests only. The exam may ask when to use an enterprise team instead of a team in each organization: when the same group of people needs the same access or role in many organizations, one enterprise team is less work and less likely to drift.
Monitoring access and managing settings
Granting access is half the objective; monitoring it is the other half. The enterprise People pages list members, owners, outside collaborators and pending invitations, and can be exported. Each organization shows members, roles and the repositories each person can reach, and repository settings show who has access and by which path. The audit log records role changes, team membership changes, invitations and SSO events. Skerry ran a quarterly access review from these exports and from the audit log stream in its SIEM. The last bullet, managing settings, policies, rulesets and roles, overlaps with domain 3; in domain 1 the exam tends to ask who can change a setting and at which level it should be set.
How domain 1 questions are worded
Domain 1 questions tend to fall into three patterns. The first describes a company and asks which identity model fits; the answer turns on whether people must work in public or outside the enterprise, and on whether the identity provider can provision. The second describes a symptom, such as a leaver who can still push, a team that cannot be edited or a token that is rejected by an organization, and asks for the cause; the answer is usually a path the stem mentions in passing, such as a team, a connected group or a missing SSO authorization. The third asks for the least-privilege way to grant something, and the answer is the smallest predefined role, or a custom role built on it, at the narrowest level that covers the need.
Worked problem
A quarterly access review
Skerry's internal audit lead asks the platform team to show, each quarter, that nobody outside the commerce group can write to the checkout repositories and that every enterprise owner still needs the role. What should the review use?
Show solution
- Export the repository access list for the checkout repositories, which shows each person's role and the path that gives it.
- Compare teams and organization roles with the identity provider groups that feed them, since connected teams change only when the groups change.
- Export the enterprise owners list and confirm each owner against the Entra group that grants the role.
- Search the audit log, or the stream in the SIEM, for role and membership changes since the last review and explain each one.
Answer: Repository access exports, group-to-team comparisons, the owners list and audit events for the quarter. The evidence is kept with the review so the auditors can see the same data.
Common mistakes
MistakeChoosing managed users when developers must contribute to public projects from work accounts.
InsteadManaged users cannot create public content or collaborate outside the enterprise; use personal accounts or a separate enterprise.
MistakeTreating SCIM and team synchronization as the same thing.
InsteadSCIM manages accounts or memberships; team synchronization keeps team membership in step with groups in SAML organizations.
MistakeExpecting Conditional Access to apply with SAML.
InsteadGitHub evaluates Entra Conditional Access only with OIDC for managed users.
MistakeLowering a direct role to remove write access.
InsteadFind the other path: team, base permission or organization role.
MistakeAssuming enterprise owners can see every repository.
InsteadThey manage settings; access to repositories needs organization membership or ownership.
Summary and key terms
- Personal accounts belong to people; managed user accounts belong to the enterprise and are provisioned by SCIM from the identity provider.
- Managed users cannot create public content or collaborate outside the enterprise; partner identity providers are Entra ID, Okta and PingFederate.
- Enterprise-level SAML covers all organizations; classic tokens and SSH keys need SSO authorization; OIDC with Entra ID enables Conditional Access.
- SCIM manages accounts; team synchronization maps groups to teams in SAML organizations with personal accounts.
- Access is additive across base permissions, teams, direct roles and organization roles; enterprise teams give one group access across organizations.
- Enterprise Managed Users
- An enterprise model in which the identity provider owns and provisions GitHub accounts.
- SCIM
- System for Cross-domain Identity Management; the protocol that provisions and deprovisions accounts and groups.
- Team synchronization
- Keeping GitHub team membership in step with identity provider groups in a SAML organization or enterprise.
- Linked identity
- The link between a GitHub account and an identity provider identity created by SAML sign-on.
- Base permission
- The minimum repository role every organization member receives.
- Enterprise team
- A team defined at enterprise level that can be given access and roles across organizations.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Name two situations in which managed users are the wrong choice.
Show answer
Any two of: developers must contribute to public or outside repositories from work identities; no identity provider that can provision through SCIM; a community that needs its own accounts.
Which identity protocol lets GitHub evaluate Entra Conditional Access for managed users?
Show answer
OIDC.
A member keeps pushing although their direct role is Read. What do you check?
Show answer
Their team memberships, the base permission and any organization roles; access is additive.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.