Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
samuelf
Frequent Visitor

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.

 

 

1 ACCEPTED SOLUTION

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!

View solution in original post

12 REPLIES 12
arify
Employee
Employee

Hi @samuelf, what's your npgsql driver version?

 

Thanks

samuelf
Frequent Visitor

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

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

samuelf
Frequent Visitor

It's setup for SSPI Windows Authentication - everything else connects without any issues i.e. Tableau or python using psycopg2

I see, thanks. Looks like PostgreSQL added SSPI support on server version 8.3, and we haven't updated ourselves accordingly. Just making sure, what's your server version?

samuelf
Frequent Visitor

PostgreSQL 9.4.4, compiled by Visual C++ build 1800, 64-bit

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!

samuelf
Frequent Visitor

"it'll take a few months..."

 

try 4 years and no end in sight...

samuelf
Frequent Visitor

Same error exists 2 years later. Is there still any intention to add powerbi Windows Authentication support?

Anonymous
Not applicable

Any update on this?

samuelf
Frequent Visitor

Any ETA on PostgreSQL SSPI authentication?

samuelf
Frequent Visitor

Ah I see, thanks for letting me know.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Top Solution Authors
Top Kudoed Authors