cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
alex5p
Level: Powered On

Combo box only holding 100 choices

I have a an ad group that has about 130 people in it. I am using a combo box with this code 

Office365Groups.ListGroupMembers("idvalue").value

Currently it is showing only 100 people. 

1 ACCEPTED SOLUTION

Accepted Solutions
geneZebra
Level 8

Re: Combo box only holding 100 choices

I was going by the online doc but when I entered in the tool, it prompted and auto-filled the param names. This is what I got. I guess the non required params needed the braces and single quote.

 

Office365Groups.ListGroupMembers(ID,{'$top':500})

 

 

 

View solution in original post

5 REPLIES 5
geneZebra
Level 8

Re: Combo box only holding 100 choices

see https://docs.microsoft.com/en-us/connectors/office365groups/#list-group-members you need to specify a different value for  "Top"

alex5p
Level: Powered On

Re: Combo box only holding 100 choices

@geneZebra Do you know what the code looks like? List groupmembers doesn't appear to take Top:500 as a second parameter.

Office365Groups.ListGroupMembers("groupID", Top:500 ).value
geneZebra
Level 8

Re: Combo box only holding 100 choices

try the following. Values enclosed in {}'s.

Office365Groups.ListGroupMembers({groupId:"groupID", Top:500 }).value

 

alex5p
Level: Powered On

Re: Combo box only holding 100 choices

@geneZebra 

Getting an error saying Invalid arugment type (Record). Expecting a Text value Instead.

geneZebra
Level 8

Re: Combo box only holding 100 choices

I was going by the online doc but when I entered in the tool, it prompted and auto-filled the param names. This is what I got. I guess the non required params needed the braces and single quote.

 

Office365Groups.ListGroupMembers(ID,{'$top':500})

 

 

 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 344 members 5,917 guests
Please welcome our newest community members: