Hi All.
I'm trying to retrieve and display an MS Teams' group ID. In a dropdown box, I'm retrieving the display name of the team via:
MicrosoftTeams.GetAllTeams().value.displayName
That part works and I'm able to see the teams that I'm a part of. The second part is where I'm having trouble with. I want to be able to show the group ID of the selected display name. I'm trying this right now but it's currently giving me an error stating: "The property expects Text values, but this rule produces incompatible Table values."
Filter(MicrosoftTeams.GetAllTeams().value.id, 'Team Name' = DataCardValue9.Selected.displayName)
Any ideas on how to fix this?
MicrosoftTeams.GetAllTeams().value is a table of Teams.
Each record in the value table will have a description, displayName, and id
There is no 'Team Name' column. So your filter will not work.
You could change it to this:
Lookup(MicrosoftTeams.GetAllTeams().value, 'displayName' = DataCardValue9.Selected.displayName).id
I hope that gets you further.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473