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 / Is it possible to use ...
Power Apps
Unanswered

Is it possible to use environment variable to store a SQL server name of datasource?

(1) ShareShare
ReportReport
Posted on by 277

I have a canvas app connecting to SQL server as datasource. I want to put the SQL server name and DB name as variable. So that I can use managed solution to wrap my App. 

 

But when I setup a new SQL datasource, I need to input the server name and db name hardcoded. 

 

hongkong_0-1690880070210.png

Is there any work around to input a variable?

Categories:

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