Insights Installation Fails with “The provided credentials are not valid"

When providing the credentials for the Orchestrator Host account during the Insights install an error saying "The provided credentials are not valid." is returned.

           Issue :- 

When providing the credentials for the Orchestrator Host account, it says that the Credentials provided are invalid.





Solution:- 
 With the use of TLS 1.2 , it is required to support strong cryptograhy for .NET Framework . 
In order to do the same run the below scripts to enable strong cryptography. 

Open Powershell with elevated priviledge and  run the below command one by one. 


New-ItemProperty -Path 'HKLM:SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -PropertyType 'DWord' -Force | Out-Null

New-ItemProperty -Path 'HKLM:SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -PropertyType 'DWord' -Force | Out-Null


​​​​​​​