Showing results for 
Search instead for 
Did you mean: 
Not applicable

SQL connection shared to users

When sharing an app with a user and they access it via a website they are able to delete the connection. 

How do I stop this? Is a big security hole that is stopping me from sharing apps with external companies and even internal users who are not computer literate. 


The user can click on the Dynamics365 link - drop down to power apps - see conenctions and delte them. 

This is for an on premise SQL connection running through a gateway. If the user selects edit they can see the gateway and change the settings as well. 



Cheers in advance. 




They have the ability to delete the gateway connection. 

can access.png

They can see other apps not shared with them that use this source (SQL on premises)





Community Support Team
Community Support Team

Re: SQL connection shared to users

Hi @Anonymous,


Shared App permission would work in the following way:

When share an App, under the App Detail page, when adding the user, there would be Permission (Can Edit, Can use) ready to choose.

When Can edit is selected, then under the SQL Server connection detail page, the Permission for the shared user would be automatically updated with "Can Use and Share".


And yes, users who has been shared to use the App would be able to find the shared SQL connections and the Delete option under the Connections tab in PowerApps web portal, but they can't delete this conneciton, as when clicking the delete icon, it will remind the user for lacking permissions:



For the connection usage part, yes, it could be seen by the shared user, and currently it seems to be not available to configure permission on that.

Please consider submit that as an idea, to have permission configuration available with the Connection details.



Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,222)