cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alex5p Helper III
Helper III

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 Resolver II
Resolver II

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 Resolver II
Resolver II

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 Helper III
Helper III

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 Resolver II
Resolver II

Re: Combo box only holding 100 choices

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

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

 

alex5p Helper III
Helper III

Re: Combo box only holding 100 choices

@geneZebra 

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

geneZebra Resolver II
Resolver II

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
secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (8,133)