Forum Discussion

samuelf's avatar
samuelf
Frequent Visitor
9 years ago
Solved

Error Message Connecting to PostgreSQL using SSPI

Hello,

 

I'm using Power BI Desktop 2.39.4526.362 64-bit (September 2016) and trying to connect to a PostgreSQL 9.4 database using SSPI authentication.

 

I can connect just fine using other clients (i.e. with python using psycopg2), however when I try to setup the postgres datasource in Power BI, I get the following error:

 

Details: "PostgreSQL: SSPI authentication but IntegratedSecurity not enabled

 

Error Message

 

EDIT: when I force change the postgres authentication from sspi to trust for my IP power BI can connect fine hence its definitly SSPI related. Keeping my authentication on trust is not my preferred solution though so any help would be greatly appreciated.

 

 

  • arify's avatar
    arify
    9 years ago

    We'll look into adding Windows Authentication support for PostgreSQL soon, it'll take a few months for it to get released publicly.

     

    Thanks for reporting this to us!

12 Replies

    • samuelf's avatar
      samuelf
      Frequent Visitor

      Hi arify , I downloaded the latest one from github, hence Npgsql 3.1.8

      • arify's avatar
        arify
        Microsoft Employee

        Is your server set up to use Kerberos Authentication (Integrated Security/SSPI/Windows Authentication) or Database Username/Password?