web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Azure PostgreSQL conne...
Power Apps
Unanswered

Azure PostgreSQL connection with PowerApps

(0) ShareShare
ReportReport
Posted on by

Hello Team,

 

I have an Azure PostgreSQL database which I wanted to connect with PowerApps. I tried some solutions by looking at the forum threads. 

 

I installed the following

1) On-premises data gateway

2) Added ODBC connection using the Driver called "PostgreSQL Unicode(x64)" with my Azure PostgreSQL database connection details. 
Output: "Test connection is successful".
3) I also installed Npgsql version 4.0.9 according to the error message I have seen. 
Output Error: "Please install Npgsql version 4.0.10.0 or earlier" 

After installing Npgsql (4.0.9) and .Net Framework 4.7 version, I started seeing the following new error now:

"Credentials are missing or not valid. inner exception: The credentials provided for the PostgreSQL source are invalid. (Source at <azure_postgres_server>;<db_name>.) clientRequestId: 30b586b0-6ed8-4837-b56e-99fccc81c72d"

Find the attached screenshot for the same.

My credentials are right. Still not able to understand this failure. Looking for some suggestions around this issue.

Thanks!!

 

 

 

postgres-credentails-failures.PNG
Categories:
I have the same question (0)
  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    For some reason your connector is having issues making the connector over the API call. So because of this it is throwing an error. This will require some in depth troubleshooting so I would recommend opening a ticket with Microsoft Support. I'll include a link on how to do so below; Otherwise if any other communities members might know feel free to chime in.

     

    If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • k1rac Profile Picture
    2 on at

    How did you install npgsql and where? Is it something to be installed on your local PC or in azure database? I am stuck on this part. Tried to install on my PC but somehow I do not get rid of the error "Please install Npgsql version 4.0.10.0 or earlier.
    inner exception: Please install Npgsql version 4.0.10.0 or earlier."

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard