Thread: Connecting Postgres SQL from Power BI

Connecting Postgres SQL from Power BI

From
Sabyasachi Mukherjee
Date:
Dear All,
I need some advises here. I have an OnPrem postgres installation (v16). The DB has SSPI enabled. One user is created and it is mapped with windows users - so that the windows user do not have to authenticate every time.

I can connect using the DBeaver to the database using the user.

However - when I try to connect from Power BI using the same user, I see the following message.

Details: "PostgreSQL: SSPI authentication but IntegratedSecurity not enabled"

In the log I see the following - 
2024-09-19 10:38:50.497 CEST [7628] FATAL:  SSPI authentication failed for user "username"
2024-09-19 10:38:50.497 CEST [7628] DETAIL:  Connection matched file "path/pg_hba.conf" line 124: "host    hostname             username       0.0.0.0/0            sspi map=mapname"

Can any body advise please?

Sabyasachi Mukherjee