cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver III
Resolver III

Office365Groups.ListOwnedGroups how to get two values (displayName & ID)

Hello all,

 

trying to build a form where we have two dropdowns

 

1: (Office365Groups.ListOwnedGroups().value).displayName   - this tells me all groups where user is owner

2: Office365Groups.ListGroupMembers(???).value.displayName - this should tell me users in that group, but i cant reference to the first drop down as the first dropdown returns displayName... if it would retrun ID, it would work... but regular users dont remember a long ID number.... hence i need to find a workaround...

 

curently i added a column groupid to the list (MYLIST) and let the formula make a lookup: Office365Groups.ListGroupMembers(LookUp('MYLIST',Title=group.Selected.Result,groupid)).value.displayName

 

Any suggestions? I dont really want to maintain a list of groiup ids...

 

thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Office365Groups.ListOwnedGroups how to get two values (displayName & ID)

The first dropdown should be set to 

 

Office365Groups.ListOwnedGroups().value

 

with the Value property (under the Items property in the properties pane on the right) set to displayName.

The second one can be set to

 

Office365Groups.ListGroupMembers(Dropdown1.Selected.id).value

 

With displayName as the Value 

2020-01-21 13_59_38-SQLQuery2.sql - ubpos02_liberty.PhysicalInventory (OWENSGROUP_elott (66))_ - Mic.png

---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Office365Groups.ListOwnedGroups how to get two values (displayName & ID)

The first dropdown should be set to 

 

Office365Groups.ListOwnedGroups().value

 

with the Value property (under the Items property in the properties pane on the right) set to displayName.

The second one can be set to

 

Office365Groups.ListGroupMembers(Dropdown1.Selected.id).value

 

With displayName as the Value 

2020-01-21 13_59_38-SQLQuery2.sql - ubpos02_liberty.PhysicalInventory (OWENSGROUP_elott (66))_ - Mic.png

---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

View solution in original post

Highlighted
Resolver III
Resolver III

Re: Office365Groups.ListOwnedGroups how to get two values (displayName & ID)

well done @EricLott 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (2,241)