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 / Row Level Security Pow...
Power Apps
Answered

Row Level Security Power Apps

(0) ShareShare
ReportReport
Posted on by 227

Hi - I have a question about Row Level Security in Power apps

 

I want to restrict the data that comes into the Power App - based on the logged on User, and the Directorate they sit in.

 

1) How can I do this on Entry, rather than filtering?

2) Is there an AD connector - to read AD groups?

3) Can I use Flow to talk to the database, and run store procedures to restrict the view?

 

Is there any advice/links anyone can provide me, as I am very stuck.

 

Please and thank you

 

Jese

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

    Hi @jesenavaranjan,

     

    To restrict the data that comes into PowerApps, you will need to set the related permission setting from the data source side. To show different data for different login users within PowerApps, the only way to achieve this is to filter the data according to different login user.

     

    So far On-premise ad is not one of the avaiable connectors in PowerApps. But for Azure AD, you could take use of the following function to get the group members in PowerApps:

    AzureAD.GetGroupMembers("GroupId").value

    This function would return a table of the available users within the same Azure AD group.

    The formula above could be put into the items property of a dropdown, then you could take use of the Dropdown selected value to save the value needed.

    For example, Dropdown.selected.value.

     

    About how to start a flow in PowerApps:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

    About how to return data to PowerApps from a flow:

    https://flow.microsoft.com/en-us/blog/return-data-to-powerapps/

     

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard