Announcements
You've identified a significant pain point when deploying Canvas apps that connect to Business Central (or any data source requiring connections) across different environments. The manual reconnection process is indeed a major hurdle for AppSource submissions and general deployment automation.
Unfortunately, there's no direct, fully automated way to make a Canvas app automatically reconnect to the correct Business Central database upon import without any manual intervention. This is a fundamental limitation of how Canvas app connections are handled.
Understanding the Problem:
Workarounds and Strategies (with Limitations):
.msapp
file.pac canvas import
command to import the app into the target environment.pac paportal connection create
and pac paportal connection reference create
commands to create the connection and connection reference in the target environment.pac canvas patch-environment-variables
or pac canvas update-data-sources
commands to update the app's data sources.
Key Recommendations:
Important Considerations for AppSource:
Unfortunately, the current limitations of Canvas app connections make fully automated deployment challenging. Focus on using the Power Platform CLI and providing clear instructions to customers.
André Arnaud de Cal...
293,639
Super User 2025 Season 1
Martin Dráb
232,663
Most Valuable Professional
nmaenpaa
101,158
Moderator