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 / Customize view / scree...
Power Apps
Answered

Customize view / screen access based on SharePoint group

(0) ShareShare
ReportReport
Posted on by 11

Hello, I am new to PowerApps and I can't seem to find a way to customize views based on one's department or role within a SharePoint group. I tried using this line of code in the App StartScreen, but the membership ID I grabbed from the URL is not working: 

ClearCollect(colGroups,Office365Groups.ListOwnedGroupsV3().value);Clear(colGroupUsers);ForAll(colGroups,Collect(colGroupUsers,Office365Groups.ListGroupMembers(id).value)); Navigate(BrowseScreen, ScreenTransition.None)

 

Basically I want the manager to be able to view all users' form submissions in the app, and users can only view their own submissions via this code that does work in the App StartScreen: 

AppScreenshot1.jpg

 

 

 

Can someone please suggest a way I can create different views based on user department/role or user email from SharePoint? Thanks!

AppScreenshot2.jpg

I have the same question (0)
  • Verified answer
    velegandla Profile Picture
    204 Moderator on at

    @helloitsvan_go 

     

    You might get better responses to question on the "Build Power Apps section" (link below) than in the admin and governance section. 

    https://powerusers.microsoft.com/t5/Building-Power-Apps/bd-p/PowerAppsForum1  

     

    ====================================================

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    https://www.linkedin.com/in/devendravelegandla/ 

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard