Exchange 2016 Domain Schema change in Hybrid

Brass Contributor

Hi All,

 

  We have a Hybrid setup with O365. On-premise Exchange 2010. We are planning to set up new Exchange 2016 server and noticed two ways to Prepare Active Directory and please clarify? 

 

1. Prepare Active Directory

Examples:  
E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareSchema 

E:\Setup.exe /IAcceptExchangeServerLicenseTerms /PrepareAD  

 

 

 2. To extend your AD schema for the Exchange 2016 attributes.  This is done as follows;

 

Connect to Exchange Online PowerShell as below;

 

$Cred=GET-CREDENTIAL 

$s = NEW-PSSESSION -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $Cred -Authentication Basic -AllowRedirection 

$importresults=import-pssession $s 

 

Export the tenantconfig.xml file by running the following;

 

Get-OrganizationConfig | Export-Clixml -Path TenantConfig.XML

 

Next, prepare the schema as below - setting the folder path to where you saved the xml file.,

 

./Setup.exe /PrepareAD /TenantOrganizationConfig c:\temp\TenantConfig.xml /IAcceptExchangeServerLicenseTerms

 

Then, prepare the domains 

 

./Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseterms

 

 

As

3 Replies

@aussupport 

 

Hi, I'm not quite sure what your question is here as you have all of the appropriate steps listed already.  Please can you explain a little further?

@PeterRising Hi Peter,

 

  Want to know the difference between above 1 and 2? 

 

     I mean one without TenantConfig.XML?

 

As

@aussupport  Came to know that few Exchange 2016 servers were decommissioned with the O365 migration. So when I install a new server, need to run the forest prep and domain again?