web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 427

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 336 Super User 2025 Season 2

Last 30 days Overall leaderboard