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 Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,803)