MSBA-299 · Lesson 4 of 12 · 19 min
Domain review: the enterprise environment
▶ Video coming soon A video version of this lesson is on the way.
Priya had been dreading this one. On Thursday afternoon, November 12, after the Skerry working session, she stayed on the call with Wren and confessed that she had answered the licensing questions on the practice assessment by instinct and got most of them wrong. "Tidewater has one bill on the Team plan," she said. "I have never had to think about who consumes a license." Wren pulled up her own notes from 2025. "Then we treat domain 2 as a new subject, not a review. It is small, but it is the part of the exam where experience as a developer does not help you."
Domain 2, Administer GitHub Enterprise environment, is weighted 10 to 15 percent. Its two objective groups are supporting GitHub Enterprise users and project contributors, and managing deployment and licensing. The first covers which problems administrators can solve and which need GitHub Support, generating support bundles and diagnostics, and recommending standards for development processes, workflows, branching, reviews and approvals. The second covers the four deployment scenarios, licensing and billing models, and monitoring license use. MSBA-290 lessons 1, 10 and 11 and MSBA-291 lesson 10 taught this material.
Who fixes what
The first bullet asks you to identify issues that administrators can resolve and issues that need GitHub Support. The dividing line is control. If the problem is governed by something an owner can change, such as a role, a team, a policy, a ruleset, a token policy, an identity provider assignment or a runner group, it is the administrator's problem. If it lies in the service itself or in data only GitHub can reach, such as an outage, a platform bug, a billing error on GitHub's side, recovering an enterprise when every owner has lost access, or a change that requires GitHub staff, it goes to Support. On Enterprise Server the line moves: the customer runs the appliance, so storage, networking, backups and upgrades are the administrator's job, and Support helps diagnose problems the administrator cannot.
| Problem | Who resolves it | Why |
|---|---|---|
| A developer cannot push to a protected branch | Administrator or repository admin | A ruleset or branch protection is a setting owners control |
| A leaver still appears in an organization with personal accounts and SAML | Administrator | Membership is removed by an owner; SAML alone does not remove members |
| GitHub.com is slow for every customer | GitHub, through its status page | A service incident is not an enterprise setting |
| All enterprise owners lost access after an identity provider change | GitHub Support, after the recovery codes have been tried | Only GitHub can restore access when no owner can sign in |
| An Enterprise Server appliance runs out of disk | Administrator | The customer runs the appliance and its storage |
| An Enterprise Server upgrade fails with an unexplained error | Administrator with GitHub Support | Support diagnoses from a support bundle; the administrator runs the fix |
Support bundles and diagnostics
On Enterprise Server, two artifacts carry evidence to GitHub Support. A diagnostics file is a plain-text overview of the instance's settings and environment: license details, version, architecture, host name and SSL settings, network and authentication settings, and counts of users and repositories. A support bundle is a compressed archive that contains a diagnostics file plus sanitized logs from many services, with tokens, keys and secrets removed. Site administrators and enterprise owners can provide them. Both can be downloaded from the Support section of the Management Console, or created over the administrative SSH connection: ghe-diagnostics produces the diagnostics file and ghe-support-bundle produces the bundle.
# Diagnostics file for the ticket
ssh -p 122 admin@HOSTNAME -- 'ghe-diagnostics' > diagnostics.txt
# Standard support bundle (recent logs)
ssh -p 122 admin@HOSTNAME -- 'ghe-support-bundle -o' > support-bundle.tgz
# Extended bundle with a longer log window, uploaded directly
ssh -p 122 admin@HOSTNAME -- 'ghe-support-bundle -u -x'The details that turn up in questions: a standard bundle covers the past two days of logs by default; an extended bundle covers the past eight days and can only be created over SSH, not from the Management Console; bundles include only logs that have not yet been rotated and compressed; and bundles can be uploaded through the link in a Support ticket, from the enterprise's license settings, or directly from the appliance if it can reach GitHub's upload endpoints over HTTPS. If a problem began a week ago, a standard bundle will not contain it, which is the point of the extended option.
Enterprise Cloud has no appliance, so there is no support bundle. Evidence for a Cloud ticket is the time of the problem with its time zone, the affected enterprise, organization and repository, the request ID from an error page or API response, audit log entries and screenshots. Roderick Pemberton-Quaye, who ran Skerry's old Enterprise Server appliance until the store systems moved to Cloud, told Priya that the single most useful habit was attaching the bundle to the first message rather than waiting to be asked.
Standards for developers
Two bullets ask you to recommend developer process standards and to define standards for workflows, branching, reviews and approvals. These are judgment questions. The exam is looking for standards that are enforced by configuration rather than by hope: a default branch protected by a ruleset at the right level, required pull request reviews with an appropriate number of approvals, code owners for sensitive paths, required status checks, signed commits where the risk justifies them, templates for issues and pull requests, and a documented branching model such as short-lived feature branches merged into a protected main branch. Skerry put its standards in a governance repository with a one-page developer guide, then enforced the critical ones through an enterprise baseline ruleset and left the rest as guidance.
| Standard | How it is enforced | Level to set it |
|---|---|---|
| Every change to main goes through a pull request | Ruleset requiring a pull request | Enterprise or organization, targeting default branches |
| At least one approval; two for sensitive code | Ruleset approvals, and code owners for sensitive paths | Organization ruleset by custom property, plus CODEOWNERS |
| Builds must pass before merging | Required status checks or required workflows | Organization ruleset |
| No force pushes to release branches | Ruleset blocking force pushes and deletion | Organization ruleset on release branch patterns |
| Consistent issue and pull request descriptions | Templates in the organization's .github repository | Organization |
The four deployment scenarios
The second objective group begins with the four deployment scenarios the study guide names. Each answers two questions: who runs the platform, and who owns the accounts.
| Scenario | Runs it | Accounts | Choose it when |
|---|---|---|---|
| Enterprise Cloud with managed users | GitHub, on GitHub.com | Owned and provisioned by the identity provider | Central control of identity matters more than public collaboration |
| Enterprise Cloud with data residency | GitHub, on a GHE.com subdomain in a chosen region | Managed users, which are required | Code and data must be stored in a particular region |
| Enterprise Cloud with personal accounts | GitHub, on GitHub.com | Owned by people; SAML optional | Developers work in public or with outside communities |
| Enterprise Server | The customer, on its own infrastructure | Built-in, LDAP, SAML or CAS | The platform must run on premises or in an isolated network |
Data residency deserves attention because the details are specific. Enterprises on GHE.com get their own subdomain, and the API is reached at an api. address on that subdomain rather than at api.github.com. Regions available in 2026 were the European Union (with Norway and Switzerland covered), Australia, the United States and Japan. Some features differ or arrive later on GHE.com, and integrations must be pointed at the right host names. Skerry planned a small separate GHE.com enterprise for a European franchise partner rather than moving its main enterprise, because only the partner's data had a location requirement.
Enterprise Server questions tend to be about responsibilities. The customer installs the appliance on a supported hypervisor or cloud, sizes its storage, configures backups with GitHub's backup utilities, applies patch releases and upgrades to new feature releases before the old ones leave support. Feature releases arrive several times a year, and each is supported for a limited period; GitHub Enterprise Server 3.22 became generally available in September 2026. GitHub Connect links a Server instance to Enterprise Cloud for features such as license synchronization and access to actions from GitHub.com.
Licensing and billing models
A GitHub Enterprise license is assigned per unique user, not per organization. One license covers a person in any number of organizations on Cloud and, when license use is synchronized from Server, on Server too, so that someone who uses both counts once. Broadly, anyone with access to the enterprise's private or internal resources consumes a license: organization members and owners, outside collaborators on private or internal repositories in a personal account enterprise, and guest collaborators with managed users. Pending invitations do not consume a license until accepted, and suspended managed users do not consume one.
GitHub sells licenses in two models. Under volume licensing the customer commits to a number of licenses for a term and pays for that number. Under usage-based billing the customer pays monthly for licenses actually used; enterprises that started an Enterprise Cloud trial on or after August 1, 2024 are on it automatically. Usage-based billing separates consumed licenses, those in use at a moment, from billable licenses, the unique users who held a license at any time in the billing cycle, with proration for people who join partway through.
Worked problem
Consumed or billable?
A usage-based enterprise starts November with 520 licensed users. On November 9 it provisions 60 more; on November 20 it suspends 25 leavers through SCIM. How many licenses are consumed on November 30, and how many are billable for November?
Show solution
- Consumed at month end: 520 + 60 - 25 = 555.
- Billable for the cycle: every unique user who held a license during November, 520 + 60 = 580.
- The 60 added on November 9 are prorated for the part of the month they held a license.
- The 25 suspended leavers drop off the December bill.
Answer: 555 consumed on November 30; 580 billable for November, with the additions prorated.
Several products sit on top of licenses. GitHub Secret Protection and GitHub Code Security, the two products that replaced the single Advanced Security license in April 2025, are billed per active committer: a person who committed to a repository with the product enabled during the period, counted once however many repositories they touch. Actions minutes and storage beyond the included allowance, larger runners, Codespaces, Packages storage and transfer, and Git LFS are metered. Copilot is billed per seat or, for some GitHub Enterprise customers since October 2026, included with the license and metered against an enterprise budget. Enterprises that buy GitHub Enterprise bundled with Visual Studio subscriptions keep those bundled licenses on a volume agreement and should match subscribers to their accounts before adding people to Server.
Monitoring license use
The last bullet asks you to monitor license usage and consumption. The enterprise's licensing settings show consumed licenses and offer a downloadable list of who holds one and why, including whether they are a member, an outside collaborator or a Server user synchronized through GitHub Connect. Lorcan Adeyemi-Brooke, Skerry's finance partner, reviewed that list monthly with a billing manager. The dormant users report adds the activity view: accounts with no recent activity, which in a personal account enterprise are candidates for removal and in a managed user enterprise usually mean the identity provider still assigns GitHub to someone who no longer needs it. Lesson 8 returns to usage reports for metered products.
Keeping Enterprise Server healthy
Because the customer runs Enterprise Server, several routine duties fall to administrators and appear in questions about who does what. Backups are taken with GitHub's backup utilities on a separate host, on a schedule, and restores are tested. Patch releases fix bugs and security issues within a feature release and should be applied promptly; some can be applied as hotpatches without a long maintenance window. Upgrades to a new feature release need a maintenance window, a fresh backup and a check that the target version is a supported upgrade path from the current one. Monitoring covers disk, memory, CPU and replication, and high availability uses a replica appliance that can be promoted. When the exam asks for the first step before an upgrade, the answer is almost always a verified backup.
| Evidence for a Cloud ticket | Why Support needs it |
|---|---|
| Exact time with time zone | Lets GitHub find the event in its logs |
| Enterprise, organization and repository names | Narrows the search to the right tenant |
| Request ID from the error page or API response | Identifies the single failed request |
| Relevant audit log entries | Shows what changed before the problem |
| Steps already tried | Avoids a round of basic questions |
Common mistakes
MistakeOpening a Support ticket for a problem caused by a ruleset or a team.
InsteadCheck settings, roles and policies first; Support handles the service, not your configuration.
MistakeUsing a standard support bundle for a problem that started a week ago.
InsteadCreate an extended bundle over SSH; it covers eight days instead of two.
MistakeAssuming data residency works with personal accounts.
InsteadGHE.com data residency requires managed users.
MistakeCounting licenses per organization.
InsteadLicenses are per unique user across the enterprise, and across Server with license sync.
MistakeExpecting someone removed mid-month to vanish from that month's bill.
InsteadThey remain billable for the cycle and drop off the next one.
Summary and key terms
- Administrators fix what settings, roles, policies and memberships control; GitHub Support handles the service and cases only GitHub can reach.
- On Server, diagnostics and support bundles come from the Management Console or ghe-diagnostics and ghe-support-bundle; extended bundles cover eight days and need SSH.
- Developer standards should be enforced by rulesets, code owners, required checks and templates at the right level.
- The four scenarios: Cloud with managed users, Cloud with data residency (managed users required), Cloud with personal accounts, and Server.
- Licenses are per unique user; usage-based billing separates consumed from billable licenses; security products are billed per active committer.
- Support bundle
- A sanitized archive of Enterprise Server logs and diagnostics for GitHub Support.
- Diagnostics file
- A plain-text summary of an Enterprise Server instance's configuration and environment.
- Data residency
- Enterprise Cloud on a GHE.com subdomain with data stored in a chosen region.
- GitHub Connect
- The link between Enterprise Server and Enterprise Cloud that enables license sync and other shared features.
- Billable license
- A unique license used at any time during a billing cycle.
- Active committer
- A person who committed to a repository with a security product enabled during the period.
Practice problems
Work each problem on paper first, then reveal the answer to check.
How many days of logs does an extended support bundle cover, and how is it created?
Show answer
Eight days; over the administrative SSH connection with the extended option, not from the Management Console.
Which deployment scenario requires managed users?
Show answer
Enterprise Cloud with data residency on GHE.com.
Do pending invitations consume a license?
Show answer
No, not until they are accepted.
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.