web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Server side RLS not wo...
Power Apps
Unanswered

Server side RLS not working with PowerApps

(0) ShareShare
ReportReport
Posted on by

Hello All - I am facing a vexing problem which I seek help on.  Essentially, the server side RLS does not seem to work with PowerApps.  I have a table in Azure SQL PaaS and 3 AD groups (say AD1, AD2 and AD3) - each AD group has a distinct set of users.  The AD groups have been added to the database as users (using CREATE USER [AD1 etc] AS EXTERNAL USER) - I am using SSMS to access and test the database.  The same groups have been added to PowerApps to grant access to an app.  I have added the required Filter predicate and Security Policy for a server side RLS.  Using SSMS and logging in as different users into SSMS, I can confirm that the RLS is correctly and consistently filtering rows as desired.

 

Now the problem

 

When I go PowerApps, it shows all the rows for all the user groups (essentially it is not filtering the relevant rows for AD1, AD2 and AD3).  I am genuinely puzzled at the error - if anything, it should show zero rows - however, it is showing all the rows without any filtering and hence does not respect the filter predicate.

 

Please help me why a server side RLS does not seem to work in PowerApps.

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard