Hello,
I am attempting to configure an On Prem. CRM 2016 environment. We have already configured Single Sign on between our Active Directory and Azure AD and I am currently trying to work through prepping our SSL Cert (referenced here: https://technet.microsoft.com/en-us/library/mt171421.aspx); however I am falling at the first hurdle.
When running the following command:
$CertificateScriptWithCommand = “.\CertificateReconfiguration.ps1 -certificateFile c:\Personalcertfile.pfx -password personal_certfile_password -updateCrm -certificateType S2STokenIssuer -serviceAccount contoso\CRMAsyncService -storeFindType FindBySubjectDistinguishedName”
Invoke-Expression -command $CertificateScriptWithCommand
I receive the following Error:
A parameter cannot be found that matches parameter name 'storeFindType'.
+ CategoryInfo : InvalidArgument: <:> [CertificateReconfiguration.ps1], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,CErtificateReconfiguration.ps1
Obviously, I have replaced the parameters Certificate path, Service Account and Password to match my scenario.
I can't find anything online to assist with this. I have updated the Management Tools to the latest version (v.5), am running PowerShell v.3 and have the latest version of Azure Active Directory Module installed.
Does anyone have any suggestions why the above parameter is not recognised?
Many thanks in advance.
David.