Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

Posted on by 285

Hi All,

I am running into a weird issue with SharePoint Online. The site validates for a while and then disconnects and gives the below error message. 

<exception>The underlying connection was closed: An unexpected error occurred on a send. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.</exception>

Any idea how to resolved this??? 

I have already successfully done the configuration https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/mt171421(v=crm.8)?redirectedfrom=MSDN but still no luck. 

Is it related to TLS?? Can anyone please guide? Thanks

pastedimage1619540171823v1.png

pastedimage1619540403098v2.png

  • Suggested answer
    TechCRMT Profile Picture
    TechCRMT 15 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Hi all,

    This is definitely an TLS issue. We had this issue for few weeks driving us crazy.

    We solved it by running IISCrypto tool on the CRM server.

    We only selected TLS 1.2 on the main page and on cipher we manually added these:

    TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

    TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

    TLS_DHE_RSA_WITH_AES_256_GCM_SHA384

    TLS_DHE_RSA_WITH_AES_128_GCM_SHA256

    Because according to this Microsoft article: docs.microsoft.com/.../authentication-errors-tls12-support

    These should be there and be moved to top list of cipher in that order.

    Hope this helps other clients and partners.

  • CSodes Profile Picture
    CSodes 15 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Thanks for the direction.  I followed the cipher guidance provided by this link:  docs.microsoft.com/.../technical-reference-details-about-encryption 

    Things seem to be working better now that the changes were made and the server restarted.

    I did notice that the link only pointed out 8 recommended cipher suites.  If you could provide the 16 you used, I would appreciate it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Hi CSodes, updating the server to use TLS 1.2 partially fixed it. like your explanation, SharePoint would allow access occasionally, but most of the time refused to connect (for users in CRM and server integration plugins).  It turns out cyphers were the culprits, the server would only provide 8 cyphers while SharePoint was expecting 16.

    I will provide a link later by updating this post, but I figured I would provide a potential solution in the meantime.

  • nidnani Profile Picture
    nidnani 285 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    hi after applying the new registry settings please make sure to restart the server.. make sure the registry settings are also applied at the deployment server.

  • CSodes Profile Picture
    CSodes 15 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Yes, we applied the TLS 1.2 settings you provided in an earlier post.  They were applied to the Front End Server as well as the ADFS server.  It's interesting..  Now we are experiencing the problem intermittently.  When the site validation fails, it fails for all users.  However, when you try again in 5 or 10 minutes, it seems to resolve itself.  When it works, it works for all users.  

  • nidnani Profile Picture
    nidnani 285 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Hi Csodes, did you try updating the registry on the front end server?

  • CSodes Profile Picture
    CSodes 15 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Hey Gestisoft, were you able to use the solution provided by Idz to resolve your Sharepoint Online error?  My client is having a similar issue and the TLS 1.2 settings update did not resolve the problem for us.  Any update you can provide regarding your experience would be extremely helpful.

  • nidnani Profile Picture
    nidnani 285 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Hi Gestisoft,

    Yes, the issue is now resolved. I worked with MS to get it fixed. The issue is caused due to missing TLS 1.2 protocols on the deployment or Front End CRM Server.

    You'll need to update the registry on the deployment/front-end server in order to get it to work.

    Attached are the TLS1.2 registry settings provided by Microsoft.

    TLS1_5F00_2.zip

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Hi Idz, was the issue resolved? One of our customer is exactly in the same boat, since last Monday (may 10 2021 in the PM). Sharepoint Online is spitting out the same error.

  • nidnani Profile Picture
    nidnani 285 on at
    RE: Dynamics CRM On-Prem and SharePoint Online Validating Site failing.

    Hi, Gustavo thanks for responding to this. I have been trying to resolve this for a week but no luck.

    How will I be able to unblock the connection? 

    I will run the capture now.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans