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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard