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 Automate / How to switch SQL data...
Power Automate
Unanswered

How to switch SQL database when import managed solution to another environment

(0) ShareShare
ReportReport
Posted on by 277

I have a Power Automate flow connected to SQL server database with Azure AD integration.  In the solution I have created a connection reference and it works well in the development environment.

 

Now I need to export the solution to a managed one and then import to our production environment. During import I can "switch user" (for example switch from my account to a service account) but I CANNOT change the SQL server name and database name.

 

After import, I cannot update the connection reference because it is managed (read only).

 

Beside importing an unmanaged solution, any work around suggestion? Thanks.

Categories:
I have the same question (0)
  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Are you hard coding server name? if yes, try to use variable to pass the server details and export the solution.

     

    Kaif_Siddique_0-1690813985239.png

  • guillermoarraba Profile Picture
    2 on at

    Hi @Kaif_Siddique 
    In my case I tried this approach but it breaks the flow, for some reason the flow is not able to identify the server and database name.
    I am trying to execute a stored procedure but changing the server as it is different between DEV-UAT-PROD
    Any additional recommendation?

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 Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard