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 / Get SharePoint groups ...
Power Apps
Unanswered

Get SharePoint groups for the logged in User

(0) ShareShare
ReportReport
Posted on by 10

Hi,

 

I am new learner to power apps. Can you please let me know, for the current logged in user, how to get the SharePoint groups for which he/she belongs to.

 

For example, I have SPG1, SPG2, SPG3 SharePoint groups.
The current logged in user belong to only SPG2.
So I need to check this and get the outcome as SPG2.

 

Thanks,
Kishore.

Categories:
  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @VenkataKishore welcome to the community.

     

    1. Add an Office365 Groups data source

    rubin_boer_0-1618346006063.png

    Add a gallery to your app and set the Items = Office365Groups.ListOwnedGroupsV2().value

    Add a label to the gallery and setthe Text = ThisItem.displayName

     

    Hope this helps

     

     

  • VenkataKishore Profile Picture
    10 on at

    Hi @rubin_boer 


    Thanks for your reply. I have tried your solution and the label is displayed as empty.

    I think Office365Groups is not returning the SharePoint group names.
    For your information, the SharePoint groups are created manually at the SharePoint site level.

    Can you please let me know if you have any ideas to overcome this scenario.

     

    Thanks,
    Kishore.

  • WarrenBelz Profile Picture
    156,740 Most Valuable Professional on at

    Hi @VenkataKishore ,'

    You cannot get SharePoint Groups (only Office365 Group) details from Power Apps easily. Here is a post showing a possible solution (note I have not used it).

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard