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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Gustavo Longo Profile Picture
    on at

    Hello Idz,

    Hope you are well.

    Apparently the connection is being blocked.

    You can capture network traffic to confirm it.

    Capturing the NETSH traces

    1. Close all open programs

    2. Open an administrative command prompt.

    3. Run the following commands and press enter after each one:

    1. Netsh trace start capture=yes maxsize=2048 tracefile=c:\Client.etl (This location can be changed if desired)

    2. Ipconfig /flushdns

    4. Reproduce the issue in the application

    5. To stop the capture use following command and press enter:

    1. Netsh trace stop

    6. When the NETSH trace has stopped, you will have a .etl and .cab file

    NETSH Traces can be viewed in Netmon or Message Analyzer

    About TLS suspicion, you can use the following tools to review the current setup:

    Online tool:

    www.ssllabs.com/ssltest

    Offline tool:

    www.nartac.com/.../IISCrypto

  • nidnani Profile Picture
    285 on at

    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.

  • Community Member Profile Picture
    on at

    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
    285 on at

    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

  • CSodes Profile Picture
    15 on at

    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
    285 on at

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

  • CSodes Profile Picture
    15 on at

    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
    285 on at

    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.

  • Community Member Profile Picture
    on at

    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.

  • CSodes Profile Picture
    15 on at

    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.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans