cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
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"

Highlighted
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
Highlighted
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

 

Highlighted
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.

Highlighted
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

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,158)