SharePoint: Cannot load Microsoft.SharePoint.Client.Runtime when installing fresh version of SharePoint.2.3.2

Found in

EPiServer.ConnectForSharepoint 2.3.2

Fixed in

EPiServer.ConnectForSharepoint 2.3.3

(Or a related package)

Created

Oct 16, 2018

Updated

Jan 07, 2019

State

Closed, Fixed and tested


Description

STEPS TO REPRODUCE

1. Install EPiServer.ConnectForSharePoint.2.3.2 to CMS site.
2. In Admin mode, open the SharePoint settings page.
3. Enter credentials.
4. Click the 'Test connection' button.

---> CURRENT: Error when connecting to SharePoint site: Could not load file or assembly 'Microsoft.SharePoint.Client.Runtime, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

TEST CONFIGURATION

EPiServer.CMS.11.10.4
EPiServer.ConnectForSharePoint.2.3.2

The issue only occurs if installing a new, fresh version of EPiServer.ConnectForSharePoint. When upgrading from EPiServer.ConnectForSharePoint.2.3.1, it works well.