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 / Using SQL Server and E...
Power Apps
Answered

Using SQL Server and Environment = secure?

(0) ShareShare
ReportReport
Posted on by 33

Hello all,

I am an intern at a company and they have tasked me with creating forms and apps to move towards digitalizing the forms that they currently use paper for. I have done some research about environments and using an SQL server as a way to store my tables/data. We have an on premise SQL server which I can use, but we don't currently have any PowerApps plans as of now (besides the default free version that came with Office365). Before jumping on purchasing Plan1, I want to make sure it can be used how I think it can be.

If I wanted to be able to store personal/private data in an SQL database and then have that SQL server as a gateway  connection in an environment, where only IT admins are a maker/owner, would that be enough to prevent another employee (who shouldn't have access to the private data) to connect to that database through PowerApps or by any other means?

Also, would it work fine we only had one person/account with a Plan1 license? Would other employees who are not in that environment still be able to use the app as it is meant to be used? Or would they need to also have a Plan1 or 2 license?

Thanks!

Categories:
I have the same question (0)
  • Nyk Profile Picture
    33 on at

    To clear things up, I think I have found that I need to get Plan 2 to utilize environments. And I believe that the SQL on premises server can be contained in an environment, but do I have to share the gateway with everyone in my organization in order for them to use the app? If so, will they be able to access data via the gateway? 

  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Nyk ,

     

    You need to share the gateway to the users who need to use the app that contains on-premise data sources. To add/remove users to the gateway, switch to the “Users” tab, add new users and specify the permission level for the user using the drop down. You can also choose the connection types you want to allow the users to have access to, on your gateway.

    818a4f34-92ab-4c25-9923-d01ca1c36ff5.png

     

    Connections to SQL Server use a service account and are sharable. So, you can select a SQL connection and switch to the “Share” tab of the connection in order to see the list of all users using the shared SQL connection.

    12cba524-9789-4a09-ac86-522065020d3d.png

     

    Regards,

    Mona

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard