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 / Moving AAD SQL connect...
Power Apps
Unanswered

Moving AAD SQL connections between environments for PowerApps

(2) ShareShare
ReportReport
Posted on by

This question has been asked several times in the past with no satisfactory answer from Microsoft, so let's try again and see if they surprise us.

 

We have a Canvas PowerApp which uses an Azure SQL connection with AD Security - as per our own and Microsoft's best practice advice (i.e we're NOT using implicitly shared SQL-auth connections). We have the usual 3 environments, Dev, Test, Prod and we need to move the App between those environments. Very simple setup, as old as computing itself - one server per environment.

 

Note: *** The Power Automate  Flows move fine because they use Connections References and Environment variables to point to the different server/database names.

 

However, the canvas app does NOT. As per this documentation link from MS, there is a troubling bullet point:

 

https://docs.microsoft.com/en-us/powerapps/maker/data-platform/create-connection-reference

 

" * Canvas apps and flows handle connections differently. Flows use connection references for all connectors, whereas canvas apps only use them for implicitly shared (non-OAuth) connections, such as SQL Server Authentication."

 

A support ticket to MS and subsequent investigation by their engineer suggested there is no solution to this. We have over 35 connections in the app (all to views and tables in the same database). Are you seriously telling me that we have to delete/re-add each one every time we publish an update from Dev to Test etc????

 

So my question for Microsoft is:  --  at your upcoming "Microsoft Business Applications Launch Event" on April 6, are you going to provide any joy for professionals using Canvas Apps/SQL server or are going to continue droning on about Model Driven/Dataverse nonsense and your mythical "low coders" (who always seem to turn to a grown-up to fix the mess once complexity/security/reality hits and their solution isn't viable anymore).

 

So, Charles Lamanna, Ryan Cunningham, Greg Lindhorst - any thoughts?

 

  • MarrinerDev Profile Picture
    on at

    Just seen some of your posts @PaulD1 and wondered if you might have any thoughts?

  • PaulD1 Profile Picture
    2,914 on at

    Sorry @MarrinerDev 

    I'm afraid that by the time the AAD SQL connector became available the 'SQL Connector Tax' of 2019 had been introduced after which we had no new requests for SQL based Canvas Apps due to the costs and hassles of licensing. As a result I haven't used the AAD SQL connector. I assume from your post it is not a case of exporting the App from one tenant, importing it to another and selecting the desired connector as part of the import process (as per the old SQL connector)?

    I wouldn't hold my breath on any more SQL improvements coming through - all focus seems to be on Dataverse sadly. I don't think there have been any SQL improvements since support for connecting to Views (2018?) and support for AAD authentication (2020?). We never got fixes/enhancements for supporting defaults on mandatory columns, support for updatable views or the ability to call Stored Procedures without resorting to Power Automate.

    As I have been so disheartened by the direction of canvas Power Apps I have largely moved out of that space bar some support for legacy apps that have not yet been moved onto more capable/robust platforms. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard