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 / Connection References,...
Power Apps
Suggested Answer

Connection References, Canvas App, App Registrations Help

(0) ShareShare
ReportReport
Posted on by
Good day, 
 
Connection References, Canvas App, App Registrations - Not working together for SQL Server data sources in a multi environment setup.
 
I can't setup connection references to be used across Environments while using App registration details. 
Can anyone assist? 
 
Is there other best practices out there for this? I want to be able to move the app to other environments using Azure DevOps. However without connection references this doesn't seem plausible.
 
Thanks in advance.
Categories:
  • Suggested answer
    SaiRT14 Profile Picture
    1,992 Super User 2025 Season 1 on at
    pls try the following:
     
    Create a Single App Registration: Register an application in Azure Active Directory for SQL Server access. Use the same app registration (client ID and secret) across all environments.

    Grant Permissions:  Assign SQL Server permissions (via roles) to the app registration for all environments. Ensure the app registration has consistent access to the SQL Server database.

    Set Up Connection References: Create a connection reference in each environment pointing to SQL Server. Ensure the connection reference uses the app registration credentials.

    Deployment Workflow: Use Azure DevOps pipelines to deploy the Canvas App and connection references. Use parameterization (e.g., Power Platform Build Tools) to update environment-specific connection settings during deployment.

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard