Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Schema

Direct answer

Schema class and attribute definitions live in the forest Schema naming context. Schema changes affect the entire forest and replicate to all domain controllers, so extensions require strict change control and compatibility planning.

When to use this

Use this topic to understand object/attribute definitions, schema scope, extension impact and why application-driven schema updates are forest-wide operations.

First 30 seconds

1. Schema version: Get-ADObject (Get-ADRootDSE).schemaNamingContext -Properties objectVersion.

2. Extensions (Exchange, LAPS) applied?

3. Schema Master online.

4. Changes are forest-wide and irreversible.

5. Test in a lab first.

Operational verification

schema defines classes/attributes → replicated forest-wide

Evidence · next step

Verify forest replication and then test the dependent application/object operation on controlled endpoints.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not add custom schema elements merely because a new field is desired. Reuse supported existing attributes or external data stores when appropriate, and never treat a schema edit as a local-domain change.

Platform / version applicability
Windows Server Active Directory and identity
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server Active Directory and identity
Scope / prerequisiteUse this topic to understand object/attribute definitions, schema scope, extension impact and why application-driven sc…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Read the schema definition from a known DC, verify Schema Master/forest state for change operations, then confirm replication and application behavior after an approved extension.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • There is one shared AD DS schema per forest.
  • Classes define object types; attributes define properties and syntax.
  • Schema updates are forest-wide and generally difficult to reverse semantically.
  • Schema Master coordinates specific schema update operations but the schema itself is replicated forest-wide.
Key checks
  • Get-ADDomain — domain details and FSMO holders
  • Get-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog — DCs
  • dcdiag /v /e /q — DC health tests (errors only with /q)
  • repadmin /replsummary — replication summary
  • nltest /dsgetdc:<domain> — DC locator
ReferenceWhat it is1 section · depth on demand

Core model

The schema is the type system of AD DS. Every user, group, computer and configuration object must conform to schema definitions. Because every domain in the forest shares it, careless extensions can create forest-wide operational and support risk.

ReferenceImportant terms & boundaries2 sections · depth on demand

What the evidence shows

Prefer inspection over modification. Record schema object identifiers, forest/schema version, extension source/vendor and exact change package. Test application assumptions and replication before production rollout.

In depth

The schema defines object classes and attributes for the whole forest. Extensions (Exchange, LAPS, SCCM, vendor apps) are forest-wide and irreversible — attributes can be defunct but not deleted.

Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion | Select objectVersion   # 88 = Server 2019/2022, 91 = 2025
Get-ADObject -SearchBase (Get-ADRootDSE).schemaNamingContext -Filter "name -like 'ms-LAPS*'"

Schema changes require Schema Admins (keep the group empty except during changes) and are made on the Schema Master. Test extensions in a lab forest first.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server Active Directory and identity current

Authoritative/upstream documentation reviewed for bounded claims in Active Directory Domain Services → Schema. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
ad schemaactive directory schemaschema naming contextclassschema attributeschema
Embedded reference data

Quick lookup tables

Active Directory Domain Services → Schema reference map

Fast lookup boundaries for Active Directory Domain Services → Schema.

BoundaryMeaningEvidence limit
ClassDefines object typecontains allowed/required attributes
AttributeDefines property/syntaxshared by classes
Schema NCStores definitionsforest-wide replicated
Schema MasterCoordinates updatesFSMO role, not only schema replica
Confirmation

Confirm action

Continue?