cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jesenavaranjan
Level: Powered On

Row Level Security Power Apps

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Row Level Security Power Apps

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

 

 

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

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Row Level Security Power Apps

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

 

 

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

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 321 members 5,248 guests
Please welcome our newest community members: