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 / How can I identify if ...
Power Apps
Answered

How can I identify if current user is available in particular Office 365 group using Office 365 Groups connector?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have an app that should display a blank screen if current user is not available in specific Office 365 group.

 

How can I identify if current user is available in particular Office 365 group using Office 365 Groups connector?

 

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    Dave Wi Profile Picture
    on at

    Following formula worked:

     

    ClearCollect(UserEmails,Lower(Office365Groups.ListGroupMembers("UserID").value.mail));

     

    If(CountRows(Filter(UserEmails,Lower(User().Email) in UserEmails.mail))>0,UpdateContext( { UserAvailable : "Available" } ),UpdateContext( { UserAvailable : "Not Available" } ));

     

    Thanks

  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    It looks like you got your question answered. I just wanted to follow up with a little bit more information if you would like to delve into this a bit more. Please take a look at the following 

     

    https://docs.microsoft.com/en-us/connectors/office365groups/

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard