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
Dual Super User

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

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (5,107)