Hey All, I am currently running 2016 on prem and we are upgrading our sharepoint server from 2007 to SharePoint Online. The documents have been moved, all thats left is to change the integration in CRM to server based.

I am following the instructions in this document: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/on-prem-server-based-sharepoint-online?view=op-9-1

I am currently at the stage where I am running through the integration wizard. When I run the integration wizard I get to the stage where the sites are verified. Unfortunately I get this error at this stage:

<errorlog><sites>
  <site>
    <url>https://mycompany.sharepoint.com/Sales</url>
    <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>
  </site>
</sites></errorlog>


Other sources I have found talking about this issue point to the TLS version being used as a problem. On the Dynamics CRM server I have TLS1.0, 1.1, and 1.2 enabled, 1.2 is set up as the default for .NET. I cannot disable 1.0 and 1.1 completely without breaking CRM all together. I have verified that CRM is using TLS 1.2 to connect to sharepoint with a wireshark capture as shown here:

Does anyone know what else might be the issue?