Hello all,
I'm attempting to configure our On-Premise CRM 2016 to work with Sharepoint Online via server-based authentication. I'm following the steps in https://technet.microsoft.com/en-us/library/mt171421.aspx and running into some issues.
Specifically, step 2 is to "Prepare the certificate" using the powershell commands:
$CertificateScriptWithCommand = “.\CertificateReconfiguration.ps1 -certificateFile c:\Personalcertfile.pfx
-password personal_certfile_password -updateCrm -certificateType S2STokenIssuer
-serviceAccount contoso\CRMAsyncService -storeFindType FindBySubjectDistinguishedName”
Invoke-Expression -command $CertificateScriptWithCommand
I've exported our certificate (wildcard, being used for remote gateway etc so I know it works) via the Certificates MMC with a private key, and used the password in the command above (I'm listing the generic command for obvious reason).
When I run the Invoke-Expression I get the message:
"Certificate private key is not found"
I've tried exporting the certificate on a different server, tried changing the password, none seems to get around this error. A search here as well as on Google doesn't seem to find anything, so I must be doing something glaringly wrong.
Any ideas are greatly appreciated.
Thanks
Garrett
*This post is locked for comments