Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Problems migrating canvas app from on-prem sql (via gateway) to azure sql (no gateway)



I am currently migrating an existing canvas app which uses on-prem SQL server via an enterprise gateway to use azure sql db as its source instead.


As an aside the reason for the migration is that as of Jan 2020 our users on an Office365 powerapps plan will no longer be eligible to use apps that use an enterprise data gateway.


I have created and populated the azure SQL database and am looking for the best (least effort) approach to switching the existing app to use that instead as its data source.


My initial plan was to simply change the server and other connection details in the data connector, but the option to connect direct to cloud sources is greyed out, so I'm not confident that this will eliminate use of the data gateway properly (see pic).


Is there a way to swicth the canvas app to using another  source (with the same schema etc) other than by adding a second source into the app and then changing all the screen components etc to use the new source followed by removing the old one?

Dual Super User III
Dual Super User III

Sorry to say, but your thought process is correct.  You will need to add another data source that goes directly to Azure SQL and then change all the references to the original SQL connection to point to the new data source. There is no simple easy way to convert it.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Users online (5,522)