I'm trying to connect PowerBI to Query Service. However, I'm running into a problem "Unable to connect". It's says that only secure connections are supported, and that I have to set "sslmode" as "require" in connection settings. Where do I have to set that while connecting to PostgreSQL?
The past 6 months I could connect to my cloud "prod:all" database in Power Bi desktop, and one week later, the very same credentials triggered the screenshot error you've showing.
In my case; those same credentials can be used without problem in a Power Bi dataflow (that was my workaround).
By your side, Did you found a way to fix the local connection from a desktop file?
The issue I was having was because I downloaded PowerBI for desktop directly from web. However, I had to download it directly from the Enterprise Apps Catalog of my Company. So, after uninstalling and reinstalling it again, it worked correctly. That being said, I think this could be due to several reasons. I would recommend reaching your enterprise support to review it.