Cloud Connector Edition Upgrade Issues
Since i was facing some isssues last time with upgrading our company Cloud Connector Edition it’s a good thing to keep old installers (check below for Archive).
We had the CCE 1.4.2 version running, due to some accounting issues the upgrade to 2.0.0 never has started. You can use Set-CcCredential -AccountType TenantAdmin to set the new global admin account. (Global admin role required for 1.4.2, from 2.0.0 and newer Skype Admin role is required) So after setting the right O365 account i tried to start upgrading the appliance.
Because of the release 2.0.1 the Start-CcDownload cmdlet started downloading the 2.0.1 installer. Started cmdlet Install-CcAppliance -Upgrade and after 1,5 hour the setup stopped with all kind of errors, no sql installed on Edge, certificate issues and so on.
Error Messages SQL
Checking prerequisite SqlUpgradeInstanceRtcLocal...prerequisite satisfied.
Installing SQLEXPR_x64.exe(/Q /IACCEPTSQLSERVERLICENSETERMS /UPDATEENABLED=0 /HIDECONSOLE /ACTION=Install /FEATURES=SQL
Engine,Tools /INSTANCENAME=RTCLOCAL /TCPENABLED=1 /SQLSVCACCOUNT="NT AUTHORITY\NetworkService" /SQLSYSADMINACCOUNTS="Bu
iltin\Administrators" /BROWSERSVCSTARTUPTYPE="Automatic" /AGTSVCACCOUNT="NT AUTHORITY\NetworkService" /SQLSVCSTARTUPTYP
E=Automatic)...failure code -2068774911
Log file was: %TEMP%\Bootstrap-CsMachine-[2017_08_15][18_26_51].html
Check the failure code (was not highlighted in red or any other color).
Error Messaged Certificates
WARNING: Set-CsCertificate failed.
WARNING: Detailed results can be found at
"C:\Users\Administrator.CCE\AppData\Local\Temp\Set-CsCertificate-97a1c2d7-5d54-4d4f-87ef-99d5dd3b7a24.html".
Certificate "ccedge.contoso.com" added to store.
CertUtil: -importPFX command completed successfully.
WARNING: Set-CsCertificate failed.
WARNING: Detailed results can be found at
"C:\Users\Administrator.CCE\AppData\Local\Temp\Set-CsCertificate-a9a262f0-2bb9-463c-a903-23bf179cb9cc.html".
Parent registry key for CCE server role doesn't exist on VM : Edge, will create a new one.
Creating server role registry key on VM : Edge.
NotSpecified: (:String) [], RemoteException
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtSetup.ps1:355 char:13
+ Invoke-Command -ComputerName $machineIP -Credential $domainAdminCred ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Trying to exit current manual maintenance mode.
Successfully exit manual maintenance mode.
NotSpecified: (:String) [], RemoteException
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtSetup.ps1:355 char:13
+ Invoke-Command -ComputerName $machineIP -Credential $domainAdminCred ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
+ PSComputerName : 192.168.213.5
The Solution
So after a good night sleep i came up with the idea of installing the 2.0.0 version, Microsoft wasn’t providing any download of this version anymore so i asked my fellow Twitter followers and Shawn Harry could help me with the 2.0.0 installer (thanks for that mate). Uninstalled the 2.0.1 installer, removed all Hyper-V machines with version 2.0.1 and Removed the created Virtual Switches in the Hyper-V managed. Installed the 2.0.0 version and started the Install-CcAppliance -Upgrade again. Everything worked out smootly! After the succesfull upgrade i switched to 2.0.0 with the cmdlet Switch-CcVersion.
After some testing i followed the normal procedure for upgrading to 2.0.1 and everything worked out fine!
Download Archive:
/