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

Notifications

Announcements

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!!

 

 

 

Categories:
I have the same question (0)
  • alrezac Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard