Notifications
Announcements
Is it possible to restrict users to ONLY be able to see records in a gallery if they are in an AD group?
The backend data is coming from Excel and not a Sharepoint List, in case that matters.
I mean if you restrict the document with the AD group then you will only see it if you're in that group because you won't have access to the excel document. You can also use the DatasourceInfo to read / show a gallery if they have read/write permissions to the datasource etc. DataSourceInfo function - Power Platform | Microsoft Learn
You can utilize Office 365 Groups connector if for some reason you can't secure the file by group and want the app to look it up by using:
I will try that! Thank you! Stay tuned. 🙂
I need multiple filters I guess. I only want to show certain records if they are in group1, and only other records if they are in group 2. I can use Office365groups as that has been set up as well.
Thanks again for your help!
Yeah, you would have to have your filter be something like Filter(Excelfile, ('Column to limit by' = 'value' && !IsEmpty(Filter(Office365Groups.ListGroups().value,displayName = "Group Name"))) || ('Column to limit by' = 'value2' && !IsEmpty(Filter(Office365Groups.ListGroups().value,displayName = "Group Name2"))) and so forth assuming you had a specific column that would be tied to a group. This way you show records only that are equal to that AND they are in a certain AD group.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268