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 Apps
Unanswered

Permissions

(0) ShareShare
ReportReport
Posted on by 51
Hi all
 
i I am creating a hr onboarding app and have to give managers access to write to the SharePoint list of new staff
 
this contains personal information. To enable writing to list and completion of form
inhavr to give users access to SharePoint list. But how can I restrict them from finding this in SharePoint or if they do only seeing their department
 
Is there a way to restrict this list so they don’t see personal information of other departments
 
 
I have the same question (0)
  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at
    If you set this at App OnStart
    Set(
       gblDept,
       Office365Users.UserProfileV2(User().EntraObjectId).department
    )
    then you can filter anything the user accesses to only where the Department (or whatever you call the field) equals gblDept
    You will need to add Office365Users to your Data Sources as well,
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     
  • bB-27090143-0 Profile Picture
    51 on at
    Thanks @warren however how do
    i hide the SharePoint list? As the data is stored on a SharePoint list they can access it!
     
     
  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at
    You can set up a Custom Permission Level in SharePoint based on Contribute and uncheck "View Application Pages" and then they should not be able to access any SharePoint Page based on the List.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard