Windows Authentication doesn't work when you connect to SQL Server from R Script on SQL Server 2016 Express Edition

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Standard

Symptoms


Consider the following scenario:
  • You have SQL Server 2016 Express Edition installed.
  • You connect to the SQL Server from R Script by using the SP_EXECUTE_EXTERNAL_SCRIPT procedure.

In this scenario, you cannot connect to the SQL Server when you use the Trusted_Connection=true option for automatic Windows Authentication when an explicit user name and password is needed.

Resolution


The fix for this issue is included in the following cumulative update for SQL Server:


Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology Microsoft uses to describe software updates.