cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StefanoGrimaldi
Frequent Visitor

Avoid a conection usage

Guys when creating a new conection example to SQL server, its there a way to avoid it from sharing to use outside of the app its been originally shared in

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @StefanoGrimaldi ,

 

If your sql sever database is deployed locally, then you do not need to give your user access to the sql sever database, because the connector created using the gateway is implicitly shared connection. An implicitly shared connection means that the user implicitly uses the credentials of the account that the app maker used to connect and authenticate to the data source during while creating the app. The end user's credentials are not used to authenticate.

 

Since both the app and its connections are deployed to end users, it means that end users can author new applications based on those connections.

 

If your sql server database is deployed in Azure, then you need to give your user sql sever database access, because this connector is an explicitly shared connection.

 

I think this link will help you a lot:

Use Microsoft SQL Server securely with Power Apps 

 

Best Regards,

Bof

 

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @StefanoGrimaldi ,

 

If your sql sever database is deployed locally, then you do not need to give your user access to the sql sever database, because the connector created using the gateway is implicitly shared connection. An implicitly shared connection means that the user implicitly uses the credentials of the account that the app maker used to connect and authenticate to the data source during while creating the app. The end user's credentials are not used to authenticate.

 

Since both the app and its connections are deployed to end users, it means that end users can author new applications based on those connections.

 

If your sql server database is deployed in Azure, then you need to give your user sql sever database access, because this connector is an explicitly shared connection.

 

I think this link will help you a lot:

Use Microsoft SQL Server securely with Power Apps 

 

Best Regards,

Bof

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,083)