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 / Dataverse Solution dep...
Power Apps
Answered

Dataverse Solution deploy - SQL Connection issue

(0) ShareShare
ReportReport
Posted on by 87

Hello there!

I have a test environment in dataverse called TEST-ICC.
In this place I login with my test user test-user-icc@outlook.com.

I create an unmanaged solution called ICC-SOL.

I create some virtual table that read a sql db called SQL-TEST-ICC (that stay in a test server called SQL-TEST-ICC-SERVER).
In this environment I also create a ModelDriven app that use the virtual tables.

Now I want to deploy in PROD.

There I have an environment called PROD-ICC.
I also have a sql prod db called SQL-PROD-ICC (that stay in a test server called SQL-PROD-ICC-SERVER).

I will use a user prod-user-icc@outlook.com.

I successfully deploy the solution ICC-SOL as managed.

When I deploy the solution I choose to create the sql connection reference with the prod user prod-user-icc@outlook.com.
Of course now my virtual table are pointing to the sql db SQL-TEST-ICC. 

Is there a way to edit the connection reference in a managed solution, so I can read a different sql server and db?
Do you have any suggestion? 
Regards,
dignus

I have the same question (0)
  • PowerThomas Profile Picture
    277 on at

    @dignus93reply Go to Solutions -> find "Default Solution" -> Find your connection reference and edit it's properties from here.

  • Verified answer
    dignus93reply Profile Picture
    87 on at

    Thanks for the reply @PowerThomas !

    You can change some property in the default solution but it's not what I need.

    dignus93reply_0-1674494219328.png

    As you can see from the screenshot above, if you edit the connection reference in the Default Solution you can change the displayname and choose the connection.

    If I try to go in the connection section and edit the relative connection i see this:

    dignus93reply_1-1674494673423.png

    But I cannot edit the server and db name. Probably because the login is Azure AD Integrated

    For now I close this thread because I recreate the solution from scratch, the virtual table and the model driven.
    Maybe I am not using the virtual table in the correct way.
    I will update this thread if I have a new workaraound.

    Regards,
    dignus



     



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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard