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 / Refresh Gallery to sho...
Power Apps
Answered

Refresh Gallery to show updated Security Group

(2) ShareShare
ReportReport
Posted on by 12

I have an app that will display groups that you are an owner.
//Office365Groups.ListOwnedGroupsV2().value//

 

The gallery displays the members from that group

//Office365Groups.ListGroupMembers(ComboBox1.Selected.id).value//

 

I have added a button to add users to the group.

//Office365Groups.AddMemberToGroup(ComboBox1.Selected.id, ComboBox2.Selected.UserPrincipalName);
Reset(ComboBox2);
Reset(TextInput1);
Notify("Request successfully submitted",NotificationType.Success);//

 

I'm having trouble finding a solution to refresh the gallery.   Refresh(datasource) doesn't work for groups.  Does anyone have any suggestions?

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    hey 

     

    use Refresh(Galleryname)

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • SM1874 Profile Picture
    12 on at

    Thanks for your suggestion but unfortunately that doesn't work 'Expected  a record or table value)

  • SM1874 Profile Picture
    12 on at

    As a long shot, I tried the following without success.

    Refresh(Office365Groups.ListGroupMembers(ComboBox1.Selected.id).value);
     
     
  • DaveS1 Profile Picture
    17 on at

    Did you find a solution for this? I'm trying something similar

  • Verified answer
    CU17011150-0 Profile Picture
    3 on at
    I have the same issue. Did you find a solution?

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard