web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Configure Server-based authentication with MSDynamics CRM on-premise and SharePoint on-premises

(0) ShareShare
ReportReport
Posted on by 780

We are running Dynamics CRM 2015.

I am following this article : https://technet.microsoft.com/en-us/library/dn949332.aspx

I am stuck at point no. 3 under "Prepare Microsoft Dynamics CRM Server for Server-based integration".  I get the following error:

PS C:\program files\Microsoft Dynamics CRM\tools> .\CertificateReconfiguration.ps1 -certificateFile "c:\Thawte Wildcard.pfx" -password xxxxxx -updateCrm -certificateType
 S2STokenIssuer -serviceAccount abc\CRMAsynchservice -StoreFindType FindBySubjectDistinguishedName
C:\program files\Microsoft Dynamics CRM\tools\CertificateReconfiguration.ps1 : A parameter cannot be found that
matches parameter name 'StoreFindType'.
At line:1 char:243
+ ... t\CRMAsynchSrv -StoreFindType FindBySubjectDistinguishedName
+                    ~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [CertificateReconfiguration.ps1], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,CertificateReconfiguration.ps1

The certificate (which was replaced yesterday) is a Public Trusted SSL Wildcard certificate and is already installed on the CRM 2015 server and the CRMSyncService has permissions to the Certificate.

Additional observations: Certificate with root and intermediate certificates have been imported into the personal Certificate store on the CRM server.  Since new certificate was installed,  when working from a client PC, Customizers cannot edit forms, but can edit Views! However if logged in on the CRM server with administrator account - then forms can be customised.  I am not sure if this is linked to the certificate change?  Is there a trust issue?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Arpita Saini Profile Picture
    on at

    I know this is weird but I found the file  .\CertificateReconfiguration.ps1 which we get in CRM 2015 is missing a complete section for storeFindType and hence this error. I compared it with CRM 2016 version's file available.

    [Parameter(Mandatory=$False,Position=6)]
     [string] $storeFindType = $null

    I copied CRM 2016 file in C RM 2015 location taking backup of original one and this command runs fine.

    I will report it internally to product team on this.

  • Rose Duley Profile Picture
    780 on at

    Hi Arpita

    Thanks for your answer.  In the meantime I decided to upgrade to CRM 2016.  I am now back on this article technet.microsoft.com/.../dn949332.aspx and note that it says "The App Management Service Application Proxy must be created and started.  More information: technet.microsoft.com/.../fp161236.aspx

    In the more information provided, it says that one needs to buy a domain (e.g. ConstosoApps.com) and get another wildcard certificate for the SharePoint Apps.  Why do I need to set up this App Management Service Application proxy and go through the expense if we are not going to use SharePoint Apps?  All I want to achieve is for my internet facing Dynamic CRM 2016, on-premise Server, to integrate with my internet facing, claims based, on-premise, SharePoint 2013 Document centre which I have set up.  What has SharePoint Apps got to do with this integration?  Can one not achieve integration without this Proxy?

    Having asked this question and if the answer is "Yes, we do have to set up this App Management Service Application proxy"- I am stuck at the point where i need to create a new wildcard SSL Certificate - from which server do I request this certificate and where am I to install this wildcard certificate for e.g. ContosaApps.com?  It is not very clear...

    Thanks for your help.

  • nanco Profile Picture
    5 on at

    I also have a problem with you in these settings. Have you found a solution?
    Thank you for your guidance

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans