cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sommarafton
New Member

SQL Server RLS + PowerApps

Hello!

I would like to use RLS in SQL Server when connecting to data (i.e. the logged in user can only see his/her own data). Is this possible?

TIA

3 REPLIES 3
Cameron
Microsoft
Microsoft

Since the SQL Connector uses the credentials provided in the connection, you should be able to accomplish this by requiring each user to create a connection. If the row-level security is set correctly for each user credential, then it should apply normally. Let us know if you run into any problems integrating this into PowerApps. Thanks, -Cameron

Hi, can you clarifiy the process by which each user will have thier own connection for the same app?

 

 

Thanks

Hi David, There's instructions about how to manage shared connection resources for PowerApps here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app-resources Unfortunately, upon careful reading it does seem that individual connections for an app are only allowed for connectors that do not share connections. That is, PowerApps does not allow SQL to use individual connections. All connectors that do not share connections apparently are allowed. This is a roadblock to the experience you are looking for, though I would say it is a very important feature. -Cameron

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,440)