cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Office365.ListGroupMembers errors on mobile devices

This is the second issue in a couple of days I have found using mobile devices.  I have a simple dropdown, which I populate with the names from an office365 group.  I get the group names from this statement:

 

SortByColumns(Distinct(Office365Groups.ListGroupMembers(LookUp(Office365Groups.ListOwnedGroups().value,description="Kelso Engineering - Engineers").id).value,displayName).Result,"Result",Ascending)

This works perfectly on chome on a PC.  However, on an android, I get :

Office365Groups.ListGroupMembers failed.  The method 'ListGroupMembers' has an invalid value for parameter 'groupid'.

 

Despite the error, the list retrieves.  This happens on the first time the screen is loaded that contains that dropdown.  Subsequent loads do NOT have the error.

 

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Office365.ListGroupMembers errors on mobile devices

I have found the issue to occurr 100% on iphone, the first time you go to the screen with the statement on android about 50% of the time.  On a PC, going to the screen the first time about 10% of the time.

 

I was doing a lookup to get the groupid, then using that id in the lookup statement to get names.  I replaced the lookup, and typed in the groupid, shown below as "INSERT GROUP ID".

 

SortByColumns(Distinct(Office365Groups.ListGroupMembers(<INSERT GROUP ID>).value,displayName).Result,"Result",Ascending)

This got it working on all platforms, but it should not have been necessary.  

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Office365.ListGroupMembers errors on mobile devices

Hi @martinav ,

 

Since you mentioned that this issue happens on Android not on a PC, would you please try with another Android phone to test if this is specific to one mobile? Try to uninstall the PowerApps application then reinstall it. Also, please share the Android system verision number. 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: Office365.ListGroupMembers errors on mobile devices

I have found the issue to occurr 100% on iphone, the first time you go to the screen with the statement on android about 50% of the time.  On a PC, going to the screen the first time about 10% of the time.

 

I was doing a lookup to get the groupid, then using that id in the lookup statement to get names.  I replaced the lookup, and typed in the groupid, shown below as "INSERT GROUP ID".

 

SortByColumns(Distinct(Office365Groups.ListGroupMembers(<INSERT GROUP ID>).value,displayName).Result,"Result",Ascending)

This got it working on all platforms, but it should not have been necessary.  

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

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 (Last 30 Days)
Users online (4,663)