Hi Hivemind!
So I have a combobox search using the Office365Users connector that has this code for the items:
Filter(Office365Users.SearchUser({searchTerm:ComboBox1.SearchText}), AccountEnabled = true)
This gives me a list of names i can search of people within my org. I have another field on the screen to automatically display information like email, address, etc. However those fields (email as an example) looks like this:
If(Not(IsBlank(ComboBox1.Selected.DisplayName)), First(Office365Users.SearchUser({searchTerm:ComboBox1.Selected.Id})).Mail)
My Issue is there is someone in our org (and possibly others) that have 2 accounts. So if I select one of the options in the first drop down the email displays, but if i select the second person the email is wrong because the email field is matching on the first match to the name.
I understand the issue, but is there a way to search by the ID selected in the combobox that way all these other fields will match and be the information for the row i'm selecting in the first drop down for people with the exact same name?
Thank you for the help on how to go about this!