I am facing an issue with SQL connection references while deploying a Canvas App through Power Platform Pipelines.
I have two SQL connections configured in Power Apps:
- SP-SQL
- Digital-NPD
In the Sandbox environment, the app is explicitly connected to Digital-NPD via a connection reference. I then deploy the solution to the Test environment using a pipeline.
During the pipeline deployment, the connection reference mapping screen shows that the app is correctly mapped to Digital-NPD. Both SQL connections (SP-SQL and Digital-NPD) are already created manually in their respective environments
However, after deployment, when I open the app in Play mode in the Test environment, the app connects to SP-SQL instead of Digital-NPD. This happens even though the connection reference mapping during deployment is correct
- The Test environment is managed
- Making any manual fixes creates an unmanaged layer, which we want to avoid
- Rebinding the connection inside the app is therefore not an option
Any guidance on the correct architectural or deployment approach to handle this scenario would be appreciated.

Report
All responses (
Answers (