I am editing an app within PowerApps for Teams and I am noticing that I cannot use a ComboBox as a people picker, where I can in the full PowerApps studio. I have added Office365Users as a Data Source.
In PowerApps Studio, the following code works on a ComboBox in the Items property to be able to search:
Office365Users.SearchUser({searchTerm:ComboBox3.SearchText})
However, in PowerApps for Teams, despite setting the data field to DisplayName when I add in this same code I get the red lines underneath. Ive also tried the following:
Office365Users.SearchUser({searchTerm:ComboBox3.SearchText}).DisplayName
However, interestingly, when I just leave the code as Office365Users.SearchUser() I get a limited list of mailbox and user display names to pick from (but not able to search).
In this instance, I have to use Power Apps for Teams. Does anyone have a solution?