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 / MS Planner and Power Apps
Power Apps
Answered

MS Planner and Power Apps

(0) ShareShare
ReportReport
Posted on by 187

Hello All - I have a MS Planner group created for Mnaagers and Front LIne Managers. 

I have a power app for which the access at app level is based on the users in one of the above groups in planner. 

 

I have a few buttons on Power App whcih are enabled based on the a column in SP list where email address and Designation tag of the Managers / Front Line Managers are updated. 

 

Is there a way, we can enable or disable a button based on the planner group rather than maintaining the list. 

Categories:
I have the same question (0)
  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    You can set the displaymode on the buttons to pull from Office365Group connect. Something like this if you have the group ID's you can set it to this for each button. 

    If(IsEmpty(Filter(Office365Groups.ListGroupMembers("199e6148-dc1d-4b56-8772-4bdc41b0b798").value,mail = User().Email)),DisplayMode.Disabled,DisplayMode.Edit)
     
    This is getting the list of members using the Office365Groups.ListGroupMembers() function, passing the groupid then doing a filter to see if any of the members mail attribute equals the email of the logged in user. If it is empty or they aren't in the group then DisplayMode.Disabled else Edit if they are. 
  • Verified answer
    sankhlay Profile Picture
    187 on at
    Thank you @cwebb365 for the update. I have deployed this on weekend and am waiting for my users to give me the feedback. if this works, this will be game changer for me.
  • Verified answer
    sankhlay Profile Picture
    187 on at
    Thank you @cwebb365 for your help.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard