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.

Two panels side by side. Left panel, personal accounts: a developer owns a GitHub account; the enterprise grants organization membership; SAML single sign-on at the organization or enterprise level links the account to an identity provider identity; team synchronization can map identity provider groups to teams. Right panel, Enterprise Managed Users: the identity provider creates and removes accounts through SCIM; usernames end with the enterprise shortcode; authentication uses SAML or OIDC; groups map to teams through SCIM; managed users cannot create public content or work outside the enterprise.
Two identity models. With personal accounts the person owns the account; with managed users the identity provider does.
QuestionPersonal accountsEnterprise Managed Users
Who owns the account?The personThe enterprise, through its identity provider
How are accounts created and removed?People create their own; the enterprise invites themSCIM from the identity provider, which is required
How do people sign in to enterprise resources?GitHub credentials, then SAML single sign-on if configuredSAML, or OIDC with Microsoft Entra ID
Public repositories and outside collaborationAllowed, subject to policyNot possible from a managed user account
Typical fitOpen source work, consultants, communitiesRegulated 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.

ItemWhat it isWhat it is for
Linked identityThe association between a GitHub account and an identity provider identityLets owners see who is who and revoke the link
Credential authorizationA one-time approval of a classic token or SSH key for a SAML organizationLets automation reach SSO-protected resources
Recovery codesSingle-use codes for when the identity provider is unavailableLets an owner or the setup user sign in to fix a broken SSO configuration
Setup userThe first account in a managed user enterprise, named with the shortcode and adminConfigures 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
  1. Deployment: personal accounts with SAML, so accounts are owned by people and are not provisioned.
  2. Goal: team membership follows a group; account creation unchanged.
  3. SCIM for managed users would change the account model entirely, which the constraint rules out.
  4. 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.

Four stacked layers. Top, enterprise: enterprise owner, billing manager, member, guest collaborator for managed users, and enterprise teams. Second, organization: owner, member, moderator, billing manager, security manager, custom organization roles and base permission. Third, team: team maintainer and member, with nested teams inheriting parent access. Bottom, repository: Read, Triage, Write, Maintain, Admin and custom repository roles. A side note says the highest role a person receives from any path applies.
Roles at each level. When someone receives access by several paths, the most permissive applies.

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.

NeedSmallest role or feature that meets it
Manage labels and close issues, without pushing codeTriage
Push to a branch and merge pull requestsWrite
Manage some repository settings, without deleting the repository or managing accessMaintain
View and manage billing without access to codeBilling manager
Manage security alerts and settings across an organizationSecurity manager
Write plus one extra permission, such as managing webhooksA 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
  1. Export the repository access list for the checkout repositories, which shows each person's role and the path that gives it.
  2. Compare teams and organization roles with the identity provider groups that feed them, since connected teams change only when the groups change.
  3. Export the enterprise owners list and confirm each owner against the Entra group that grants the role.
  4. 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.

  1. 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.

  2. Which identity protocol lets GitHub evaluate Entra Conditional Access for managed users?

    Show answer

    OIDC.

  3. 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.

Take the quiz