I have an O365 Hybrid environment with Exchange 2013 servers on Premise. I am in process of installing Exchange 2019 and need to run PrepareAD. Since it is a Hybrid, I understand I need to first run
Get-OrganizationConfig | Export-CliXML "C:\temp\OrganizationConfig.xml"
before I run
.\Setup.exe /PrepareAD /TenantOrganizationConfig "C:\temp\OrganizationConfig.xml" /IAcceptExchangeServerLicenseTerms
My question is do I run the command to Export the CliXML from the On premise Exchange Management Shell or do I log into my O365 tenant first and then run it?
I have exported it from both locations and the xml file is different.