For Azure Local deployments, if we do not have connectivity from NCHostAgent to NC API service, look at the certs present on the system to see if the AzureStackCertificationAuthority cert was recently generated and provide advise to install the cert to trusted root on each of the NC VMs
Copy-SdnFileToComputer -Path 'C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\AzureStackCertificateAuthority\AzureStackCertificationAuthority.cer' -Destination (Get-SdnWorkingDirectory) -ComputerName 'NC1','NC2','NC3'
Invoke-SdnCommand -ComputerName 'NC1','NC2','NC3' -ScriptBlock {
$cert = Get-ChildItem -Path "$(Get-SdnWorkingDirectory)\AzureStackCertificationAuthority.cer"
Import-SdnCertificate -FilePath $cert.FullName -CertStore 'Cert:\LocalMachine\Root'
}