How to Verify if Schema Prep Completed Successfully
Update 5/3/15 - Added Skype for Business Server 2015 greenfield schema version.
Update 11/26/12 - Updated Lync Server 2013 schema version for RTM.
Update 7/19/12 - Added Lync Server 2013 schema version.
Update 10/6/10 - Added Lync Server 2010 schema version.
Verifying that SchemaPrep completed successfully before turning back on outbound replication on the Schema Master in AD is always a good idea. Depending on the version OCS/Lync/Skype for Business that you are running, there are differeing ways to check the schema state.
OCS 2007/R2
The quickest way is to run the following LCSCmd after running the SchemaPrep step:
LCSCmd.exe /forest /action:CheckSchemaPrepState
If the report shows everything as successful, you can feel confident that everything completed properly.
Lync Server 2010/2013 and Skype for Business Server 2015
The best way in Lync or Skype for Business Server to check that SchemaPrep completed successfully is to run the Get-CsAdServerSchema cmdlet in Lync or Skype for Business Server Management Shell. If you get the following result back:
SCHEMA_VERSION_STATE_CURRENT
The SchemaPrep step should have completed successfully.
But, if you want to go that extra step, you can look in ADSIedit.
In ADSIedit, under the Schema Container, look for the ms-RTC-SIP-SchemaVersion. Opening the properties, look for the "rangeUpper" and "rangeLower" attributes. Check the list before for the correct values for your environment:
LCS 2005 - 1006
OCS 2007 R1 - 1007
OCS 2007 R2 - 1008
Lync Server 2010 - 1100
Lync Server 2013 - 1150 (rangeUpper) / 3 (rangeLower)
Skype for Business Server 2015 (Greenfield) - 1150 (rangeUpper) / 3 (rangeLower)
If you see the correct value for your environment, you can be sure that schema prep completed successfully.
Comments
- Anonymous
January 01, 2003
@Amanda Debler
No, if you're upgrading from Lync Server 2013 to Skype for Business 2015, no schema update is necessary. If you're deploying Skype for Business 2015 greenfield, then the above applies. - Anonymous
January 01, 2003
@Melek Attia
The rangeLower value for Lync Server 2013 is 3. I updated the post to reflect that. - Anonymous
October 07, 2014
Use Windows PowerShell to discover what schema updates have been applied to your Active Directory environment. - Anonymous
May 05, 2015
The comment has been removed - Anonymous
May 07, 2015
I noticed in a recent Lync Server 2013 that the rangeLower is 3, I think the LDF files were updated in the Lync ISO.