none
On Premise Sharepoint 2013 & CRM 2016 Server Based Integration Error RRS feed

  • Question

  • Hi Everyone, 

    Trying to enable Server Based Sharepoint Integration between on-premise CRM 2016 and Sharepoint 2013. Both are running on https with wildcard SSL created by SelfSSL.exe (*.crop.xyz.com).  Dynamics CRM 2016 is configured with ADFS.

    When I run through the Enable Server-Based Sharepoint Integration wizard and I put in the Sharepoint URL and RealmID (obtained by get-SPAuthenticationRealm), I get the following error:

    "Failed Authentication"

    <errorlog><sites>
    <site>
    <url>https://docs.corp.xyz.com</url>
    <exception>CertificateData for CertificateType: S2STokenIssuer not found.</exception>
    <errorcode>-2147088205</errorcode>
    </site>

    </sites>
    </errorlog>

    Am I supposed to run \CertificateReconfiguration.ps1 with the wildcard certifcate I just created with SelfSSL? 

    A bit confused with all of this. Any help would be truly appreciated.

    Thank you!

    Wednesday, May 24, 2017 1:04 AM

All replies

  • Hi,

    It seems that the issue is caused by S2STokenIssuer missing.

    You need to add server-to-server certificate to local certificate store and Microsoft Dynamics 365 configuration database by running the following script:

    .\CertificateReconfiguration.ps1 -certificateFile c:\Personalcertfile.pfx -password personal_certfile_password -updateCrm -certificateType S2STokenIssuer -serviceAccount contoso\CRMAsyncService -storeFindType FindBySubjectDistinguishedName

    If the issue still occurs, I suggest you reproduce the issue and check event logs, which would give more details about this issue.

    Thanks,

    Dean Wang


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, May 25, 2017 7:52 AM
    Moderator