Insights Installation Fails With “The Provided Credentials Are Not Valid"

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

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




Resolution:
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