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 / using 365 groups to hi...
Power Apps
Unanswered

using 365 groups to hide and show a button

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I have created a few buttons and i want to hide them, based on the 365 groups the user are in.  I have tested both these Fx on the visible setting of the button. It looks like its working because it hiding them from me.  but when i add myself to the group it still does not show up for me.  

 

I don't get any errors. I have added the Office365group connecter as well. 

 

If(CountRows(Filter(Office365Groups.ListGroupMembers("ID_is here").value, mail = User().Email))
<> 0,

true,
false)

 

or this one 

 

!IsEmpty(Filter(Office365Groups.ListGroupMembers("idishere").value,mail=User().FullName))

 

 

but if i user this it works and show the button. 

 

If(
User().FullName = "" ||
User().FullName = "" ||
User().FullName = "",
true,
false
)

 

 

so i thinking it might be something to do with the groups. 

 

Kind Regards 

 

Categories:
I have the same question (0)
  • help3 Profile Picture
    on at

    I think i know the problem, is there a way to user this Fx below.  

    i did a test and my E-mail is coming out as TEst@company.com but i need to convert it down to test@compay.com 

     

    i tried this 

     

    !IsEmpty(Filter(Office365Groups.ListGroupMembers("ID").value,mail= Lower(User().Email)))

     

    but it did not work, not sure if I'm doing it right. 

     

    Kind Regards 

     

  • help3 Profile Picture
    on at

    fixed it 

    !IsEmpty(Filter(Office365Groups.ListGroupMembers("ID").value,Lower(mail)= Lower(User().Email)))
     

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
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard