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 / How to change SQL conn...
Power Apps
Unanswered

How to change SQL connection in Power App when import to another environment

(0) ShareShare
ReportReport
Posted on by 277

I am building a canvas Power Apps connecting to SQL server. 

Our database admin told me connect the DB using Azure Active Directory - Universal with MFA. It is working fine when I connect with SQL management studio. When I build my apps, I can connect to target DB by simply type in server name and database name (no need type any other parameter).

When I export the App with solution and import to another environment, it doesn't prompt me to setup connection. I cannot edit the App too because it is a managed solution. Is there any suggested way to update SQL connection when import solution to another environment?

Categories:
I have the same question (0)
  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @hongkong 

    You can edit the imported connection through the 'Connections' menu.

     

    timl_0-1690558883858.png

     

  • hongkong Profile Picture
    277 on at

    Thanks for your suggestion.  When I try to update the connection, it prompt me below pop-up panel which is Read-only.  I cannot change the Authentication type dropdownlist.

     

    hongkong_0-1690789925328.png

     

    Also, when I import the solution, I am being asked to create a new connection. I can "switch user" in this step. (For example, switch from my account to a service account) It is good but I CANNOT change database server name and DB name.

     

  • nlpickard Profile Picture
    8 on at

    I'm having exactly the same issue. Did you ever come up with a solution?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard