Announcements
Hi,
I need to retrieve the Group ID for a selected Group using the Office365 Groups Connector.
I have a dropdown control displaying the list of groups using: Office365Groups.ListGroups().value.displayName
How can I show the ID in a label for this selected group?
Thanks
Hi @MP424940
Try this in your dropdown items:
Office365Groups.ListOwnedGroupsV3().value
Then add this to your label:
Dropdown1.Selected.id
Note: by adding '.displayname' to the end of your Items code, just narrows your data down to the displayName column, which then means there is no corresponding id column available. By stopping your items at '.value', this then includes all the available columns.
Hope this helps
Hi,You can try using below formula -Office365Groups.ListGroups().value.id
This will not work. Please use below logic:On Screen visible create a collection - Clear(colGroups); ForAll(Office365Groups.ListGroups().value.id, Collect(colGroups,{Value: id}))And then add a dropdown with Items property set to colGroups
@AmDev wrote:Hi @MP424940 Try this in your dropdown items: Office365Groups.ListOwnedGroupsV3().value Then add this to your label: Dropdown1.Selected.id Note: by adding '.displayname' to the end of your Items code, just narrows your data down to the displayName column, which then means there is no corresponding id column available. By stopping your items at '.value', this then includes all the available columns. Hope this helps
Thanks, this works perfectly.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 329 Most Valuable Professional
11manish 209 Super User 2026 Season 2
Mohsin Ali 179