EASYENTRA Blog

News & Updates

How to Update AD Schema to Support Exchange Attributes

How to Update AD Schema to Support Exchange Attributes

When managing a hybrid Office 365 environment with tools like EasyEntra, your local Active Directory needs to know how to store Exchange-specific attributes. If your schema isn’t up to date, your administration tools won’t find the necessary fields, leading to errors like “The Specified Directory Service Attribute or Value Does Not Exist.” The easiest and quickest way to check your environment’s health is by checking both your Active Directory and Exchange schema versions using PowerShell.

Prepare AD and Domains for Exchange Server Using PowerShell

Open PowerShell as an Administrator and run the following script to extend the Active Directory Schema for Exchange server.

Import-Module ActiveDirectory 
$SchemaVersions = @() 
$SchemaPartition = (Get-ADRootDSE).NamingContexts | ? { $_.SubString(0, 9).ToLower() -eq 'cn=schema' } 
$SchemaVersionAD = (Get-ADObject $SchemaPartition -Property objectVersion).objectVersion 
$SchemaVersions += @{'Active Directory' = $SchemaVersionAD} 
$SchemaPathExchange = "CN=ms-Exch-Schema-Version-Pt,$SchemaPartition" 
if (Test-Path "AD:$SchemaPathExchange") { 
    $SchemaVersionExchange = (Get-ADObject $SchemaPathExchange -Property rangeUpper).rangeUpper 
    $SchemaVersions += @{'Exchange' = $SchemaVersionExchange} 
} else { 
    $SchemaVersions += @{'Exchange' = "-"} 
} 
Write-Output $SchemaVersions

When the script runs, it queries your Directory Service and outputs two critical numbers. Here is an example of a healthy, modern environment:

Here, the AD value tells you the base operating system level of your Active Directory schema.

  • Value 88: Indicates that your schema is updated to Windows Server 2019.
  • (Other common values include 87 for Windows Server 2016 and 69 for Windows Server 2012 R2).

The Exchange value corresponds to the rangeUpper attribute of your Exchange extensions.

  • Value 17003: Indicates that your schema has been successfully extended for Exchange Server 2019 (specifically Cumulative Update 14 / CU14 or later, extending into Exchange Server Subscription Edition).
  • The Threshold: To use fully supported hybrid management without throwing missing attribute errors, your Exchange version needs to read 14726 (Exchange 2010 SP1) or higher.

Active Directory and Exchange Schema Version Reference Tables

Use the following tables to interpret the schema version values returned by the PowerShell script.

Active Directory Schema Version

AD VersionSchema Version
Windows Server 201988
Windows Server 201687
Windows Server 2012 R269
Windows Server 201256
Windows Server 2008 R247
Windows Server 200844
Windows Server 2003 R231
Windows Server 200330
Windows 2000 Server13

Exchange Schema Version Numbers

Exchange VersionSchema Version
Exchange 2019 CU1217003
Exchange 2019 CU817002
Exchange 2019 CU217001
Exchange 2019 RTM17000
Exchange 2016 CU2115334
Exchange 2016 CU1915333
Exchange 2016 CU715332
Exchange 2016 CU615330
Exchange 2016 CU315326
Exchange 2016 CU215325
Exchange 2016 CU115323
Exchange 2016 RTM15317
Exchange 2013 CU715312
Exchange 2013 CU615303
Exchange 2013 CU515300
Exchange 2013 SP1 (CU4)15292
Exchange 2013 CU315283
Exchange 2013 CU215281
Exchange 2013 CU115254
Exchange 2013 RTM15137
Exchange 2010 SP314734
Exchange 2010 SP214732
Exchange 2010 SP114726
Exchange 2010 RTM14622
Exchange 2007 SP314625
Exchange 2007 SP214622
Exchange 2007 SP111116
Exchange 2007 RTM10637
Exchange 2003 RTM6870
Exchange 2000 SP24406
Exchange 2000 RTM4397

Free 30-minute demo

try 30 days for free

GET EASYENTRA NEWS

Opt out at any time

“One of the best products I've used.”
Gary Shurland
Chief Information Officer, Mirick, United States
“This tool has been invaluable in streamlining our IT processes.”
Tyson Mckay
Chief Information Officer, Southwest Network, United States
“EasyEntra includes offboarding steps we’d never even thought of, like removing inbox rules.”
Jerry Jacobson
IT Operations Manager, MetalTek International, United States
“This product has been a miracle for our Help Desk. EasyEntra has completely transformed how we handle Microsoft 365 administration.”
Doug Sanders
Manager of Technical Customer Support, Junior Achievement USA, United States
“Your product is such a time saver. I love it!”
Scott Fehr
IT Infrastructure, MEC Aerial Work Platforms, United States
“It's a good product and saves us lots of time for these ongoing quick admin tasks.” 
Chris McFerran
Managing Director, CTech IT Solutions Ltd, United Kingdom
“The speed of creating a user is magic.” 
John Duncan
IT Administrator, MetalTek International, United States
“EasyEntra has significantly streamlined our workflow, simplifying everything. It feels almost like a revolution.”
Johan Sadelius
IT-chef, Arjeplog Kommun, Sweden
I greatly appreciate your assistance and willingness to enhance the already outstanding product.”
Michael I. Wilson
Executive Director of Information Technology, Archdiocese Of Washington, United States
“It's great not having to switch back and forth between the O365 admin center and the Teams admin center to assign groups. I am sold!”
Thomas Madden
Director Information Technology, AutoPayPlus, United States
“I would highly recommend organizations use the solution as it greatly simplifies various tasks.”
S. Roger Singh
Chief Technology Officer, Prasad & Company LLP, Canada
“EasyEntra is time-saving. Love the copy/paste for user/computer groups and the copy to new user.”
Damian Nita
Associate Network Administrator, Shenandoah Valley Westminster-Canterbury, United States
“EasyEntra has transformed our daily IT operations by simplifying user management, reducing errors, and enhancing overall efficiency.”
Henrik Nefling
IT- and Digitalization Manager, Animal Protection Denmark, Denmark