Hello everyone,
I'm going through the steps outlined in the Microsoft document for D365 on-premises setup to configure a sandbox environment for testing.
After configuring the Service Fabric Cluster, which strangely runs only when I enter the IP Address in the browser and not with DNS name I went through the steps in the "Step15: Configure LCS connectivity for the tenant".
Initially, the login screen didn't appear even after disabling IE Enhanced Security. As a workaround, I installed Google chrome on the test server and was able to get the login screen while running the script:
.\Add-CertToServicePrincipal.ps1 -CertificateThumbprint 'OnPremLocalAgent Certificate Thumbprint' -Test
But then it threw this error:
Unable to find the certificate in the Local machine or Current User store
At \\...\infrastructure\Scripts\Add-CertToServicePrincipal.ps1:70 char:9
+ throw "Unable to find the certificate in the Local machine or ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Unable to find ...rent User store:String) [], RuntimeExc
+ FullyQualifiedErrorId : Unable to find the certificate in the Local machine or Current User store
When I look at the certificate store (Current user) on the server where I'm running this script, I can see this certificate:
What am I missing here? How do I register the certificate with the Azure portal?
Many thanks for you help in advance.
regards
Mandeep