Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

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?

  • Verified answer
    CU17011150-0 Profile Picture
    CU17011150-0 3 on at
    Refresh Gallery to show updated Security Group
    I have the same issue. Did you find a solution?
  • DaveS1 Profile Picture
    DaveS1 17 on at
    Re: Refresh Gallery to show updated Security Group

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

  • SM1874 Profile Picture
    SM1874 12 on at
    Re: Refresh Gallery to show updated Security Group

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

    Refresh(Office365Groups.ListGroupMembers(ComboBox1.Selected.id).value);
     
     
  • SM1874 Profile Picture
    SM1874 12 on at
    Re: Refresh Gallery to show updated Security Group

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

  • mmbr1606 Profile Picture
    mmbr1606 10,429 on at
    Re: Refresh Gallery to show updated Security Group

    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard